Random (appears to be) graphs not displaying

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
mwatson
Posts: 3
Joined: Wed Oct 12, 2005 10:56 am

Random (appears to be) graphs not displaying

Post by mwatson »

Well, I've finally caved, I can't figure this problem out, so I'm hoping somebody here can give me a hand. I've searched around on the forums and haven't seen anybody having the same problem, but maybe I just haven't gone deep enough.

Heres the details:

Cacti is running on a Debian 3.1 (sarge) machine, using poller.php.

Running version g of cacti, not installed from the deb package, neither was rrdtool. I am using poller.php

Running rrdtool 1.2.x, whatever the latest edition was as of last week.

I've setup approximently 10-ish hosts so far, with various different graph templates. I am monitoring Cisco AS5300 access servers, Cisco PIX firewalls, Cisco Catalyst switchs, and a handful of unix and windows machines. I later intend on adding in some BIG-IP load balancers and maybe some other goodies.

Anyhow, everything was working fine and dandy up until about the point when I added in the first AS5300, though this could be pure coincidence.

What I am seeing is random graphs from various different hosts that are not displaying graphs always, and it seems to be random as to which ones don't show. Though I have seen a tendency towards it being the "load average" graph on the unix/snmp graphs, and sometimes interface stats coming from my PIX. Often times doing something as simple as right clicking the dead picture link and hitting "show picture" (Yes I'm using IE :o ) will make the image display, sometimes i'll have to do it a few times. For the life of me I can't figure out whats causing it. I've watched my apache logs to see if IE was screwing up somewhere and not requesting the image or something, but thats not the case, I see the request even for images not being displayed, and I see the exact same requests when doing the "show picture" thing.

Sample screenshots of the kinds of things I am seeing are below,

Heres all the system details

NET-SNMP 5.1.2 (from deb package)
Apache 2.0.54 (compiled, not from deb source)
PHP 5.0.5 (compiled, not from deb source)
MySQL 4.1.11 (deb package, was feeling lazy!)
rrdtool 1.2.11 (compiled, not from deb source)

Any other pre-req libraries such as cgilib, freetype, etc. etc. assume they came from the deb package.

Just as a little bit of a big thank-you to the developers of Cacti. I must say, Cacti has probably got to be one of the best peices of free software that I have ever used. It seems pretty clear to me that you guys have thought through alot of the more minor details that most free software projects tend to overlook, and theres so many of the small customization things in Cacti that you tend to only see in commercial software. I just gotta say, I am very impressed so far.

Thanks,
Matt
Attachments
Cisco PIX 515E firewall interface graph error
Cisco PIX 515E firewall interface graph error
cactirandomgraphbug2.JPG (163.99 KiB) Viewed 1843 times
Load average from unix server via SNMP graph error
Load average from unix server via SNMP graph error
cactirandomgraphbug.JPG (140.85 KiB) Viewed 1843 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Possible that rrdtool is crashing, what version of rrdtool are you running?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mwatson
Posts: 3
Joined: Wed Oct 12, 2005 10:56 am

Post by mwatson »

I was thinking something along those lines as well, but I haven't been able to pin it down.

Anyhow, from above:
Heres all the system details

NET-SNMP 5.1.2 (from deb package)
Apache 2.0.54 (compiled, not from deb source)
PHP 5.0.5 (compiled, not from deb source)
MySQL 4.1.11 (deb package, was feeling lazy!)
rrdtool 1.2.11 (compiled, not from deb source)
Thanks,
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I had it happen on a FreeBSD box, until I compile the rrdtool from ports.

But it really shouldn't make a difference on Debian.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Click the X then you should get 4 X's with an amber magnifying glass besides them. Click the magnifying glass. Then you will see your graph syntax. Copy that syntax into a shell and redirect the output to a file. Look for an error message and then post both the graph syntax and the error message.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests