Graphs not rendering

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
b1naryv1k1ng
Posts: 2
Joined: Tue Apr 18, 2023 9:22 am

Graphs not rendering

Post by b1naryv1k1ng »

Hello All,

I'm working on a fresh install of 1.2.24 and I've only added 1 test host to it so far. The device was added as a net-snmp device, and when I try and look at the logs, it doesn't render it as a graph, instead just gives an action failed with Error 200 OK and the reason is just a long string that I think is actually the png that should be rendered into the image. See screenshot below.

Image

The odd thing is, if I look at real time graphs, they render just fine. I've checked the perms on everything, its all owned by the correct user and the poller cron is run by the same user.

Anyone have any ideas that might point me in the correct direction?
b1naryv1k1ng
Posts: 2
Joined: Tue Apr 18, 2023 9:22 am

Re: Graphs not rendering

Post by b1naryv1k1ng »

When checking the rrd file, I'm getting nan values for everything.

Code: Select all

[root@dev-mobrien cacti]# rrdtool fetch rra/test-host_users_44.rrd AVERAGE
                          users

1681743000: -nan
1681743300: -nan
1681743600: -nan
1681743900: -nan
1681744200: -nan
1681744500: -nan
1681744800: -nan
1681745100: -nan
1681745400: -nan
1681745700: -nan
1681746000: -nan
More info on this, this device was added using the CLI tool:

Code: Select all

sudo -u apache -g apache /usr/bin/php -q /var/www/html/cacti/cli/add_device.php --description="test-host" --ip="test-host.domain.net" --template="8" --community="******"

Adding test-host (test-host.domain.net) as "Net-SNMP Device" using SNMP v2 with community "******"
Success - new device-id: (5)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest