Problems with graphs

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

Moderators: Developers, Moderators

wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Problems with graphs

Post by wtb1 »

First let me say cacti is what we have been looking for to help us in monitoring and establishing baselines for our network. It has been an adventure to get things running and still trouble shooting.

While looking at some graphs I saw a problems I have not been able to fix so far. Poller is working fine and returning good data. When I go to Tree view and click on some thing that has data in to check say traffic on a port on a router I get the following in the picture.


When I click on the link for the second graphs it shows up. I would just like all the graphs to show when I click on a device.

Any thought?
Attachments
cacti.jpg
cacti.jpg (396.44 KiB) Viewed 3755 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please verify "rrdtool -v" with "Settings -> RRDTool Utility version"
Reinhard
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Post by wtb1 »

rrdtool -v respnds with RRDtool 1.2.20
and Cacti is set to RRDTOOL 1.2.x
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please select the Graph from Graph Management, switch to DEBUG and post the whole "rrdtool graph" statement found
Reinhard
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Graph Debug

Post by wtb1 »

RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="ServerName Deleted - Exchange (Messages)" \
--rigid \
--base=1000 \
--height=175 \
--width=575 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Messages/Sec" \
--slope-mode \
DEF:a="C\:/xampp/htdocs/cacti/rra/bankmail_smtp_msgbytesreceiv_838.rrd":MB_MsgsDelivered:AVERAGE \
DEF:b="C\:/xampp/htdocs/cacti/rra/bankmail_smtp_msgbytesreceiv_838.rrd":MB_MsgsSubmitted:AVERAGE \
DEF:c="C\:/xampp/htdocs/cacti/rra/bankmail_smtp_msgbytesreceiv_838.rrd":MB_MsgsSent:AVERAGE \
DEF:d="C\:/xampp/htdocs/cacti/rra/bankmail_smtp_msgbytesreceiv_838.rrd":SMTP_MsgsDelivered:AVERAGE \
DEF:e="C\:/xampp/htdocs/cacti/rra/bankmail_smtp_msgbytesreceiv_838.rrd":SMTP_MsgsReceived:AVERAGE \
DEF:f="C\:/xampp/htdocs/cacti/rra/bankmail_smtp_msgbytesreceiv_838.rrd":SMTP_MsgBytesReceiv:AVERAGE \
DEF:g="C\:/xampp/htdocs/cacti/rra/bankmail_smtp_msgbytesreceiv_838.rrd":SMTP_MsgsSent:AVERAGE \
DEF:h="C\:/xampp/htdocs/cacti/rra/bankmail_smtp_msgbytesreceiv_838.rrd":SMTP_MsgBytesSent:AVERAGE \
LINE1:a#00CF00:"MBox Msgs Delivered" \
GPRINT:a:LAST:"Current\:%5.1lf" \
GPRINT:a:AVERAGE:"Average\:%5.1lf" \
GPRINT:a:MAX:"Maximum\:%5.1lf" \
COMMENT:"(Total 3195)\n" \
LINE1:b#002A97:"MBox Msgs Submitted" \
GPRINT:b:LAST:"Current\:%5.1lf" \
GPRINT:b:AVERAGE:"Average\:%5.1lf" \
GPRINT:b:MAX:"Maximum\:%5.1lf" \
COMMENT:"(Total 1495)\n" \
LINE1:c#00A0C1:"MBox Msgs Sent" \
GPRINT:c:LAST:" Current\:%5.1lf" \
GPRINT:c:AVERAGE:"Average\:%5.1lf" \
GPRINT:c:MAX:"Maximum\:%5.1lf" \
COMMENT:"(Total 1546)\n" \
LINE1:d#FFFF00:"SMTP Msgs Delivered" \
GPRINT:d:LAST:"Current\:%5.1lf" \
GPRINT:d:AVERAGE:"Average\:%5.1lf" \
GPRINT:d:MAX:"Maximum\:%5.1lf" \
COMMENT:"(Total 2194)\n" \
LINE1:e#FF5F00:"SMTP Msgs Received" \
GPRINT:e:LAST:" Current\:%5.1lf" \
GPRINT:e:AVERAGE:"Average\:%5.1lf" \
GPRINT:e:MAX:"Maximum\:%5.1lf" \
COMMENT:"(Total 1188," \
COMMENT:"134.8 MB)\n" \
LINE1:g#F51D30:"SMTP Msgs Sent" \
GPRINT:g:LAST:" Current\:%5.1lf" \
GPRINT:g:AVERAGE:"Average\:%5.1lf" \
GPRINT:g:MAX:"Maximum\:%5.1lf" \
COMMENT:"(Total 600," \
COMMENT:"153.6 MB)\n"

RRDTool Says:

OK
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

But this is not the failing graph from your first screenshot. Does this one fail as well?
Reinhard
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Post by wtb1 »

The graph does not fail per se. In tree mode, I select say my Exchange server to see all the graphs I have defined. Most show up but two only show the link to the grap (see above screen shot). If I click on the link to the graph it comes up fine in the Drill Down.
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Still having this wierd issue.

Post by wtb1 »

I am still having this wierd issue where on the the graph tab some graphs do not show but with a red X but when I click on the graph it show up fine on the next page.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Are you using specific font settings? Either global font settings or private ones?
Reinhard
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Font settings

Post by wtb1 »

Here is my font settings

c:/rrdtool/DejaVuSansMono-Roman.ttf
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Just as a try: if removing this font settings, does the problem change?
What about the performance of the file system storing the rrd files? Just talked to a user running rrd files on an NFS mount having similar issues ... I suspect timing issues in this case ...
Reinhard
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Fixed

Post by wtb1 »

I downgraded rrdtool to 1.2.15 and this has fixed my issue.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Wow, good find. Was definitively not on my list!
Reinhard
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

had help

Post by wtb1 »

BSOD suggested this earlier today.
Frizz
Cacti User
Posts: 80
Joined: Sat Mar 05, 2005 5:07 pm
Location: Herne Germany

Re: Fixed

Post by Frizz »

wtb1 wrote:I downgraded rrdtool to 1.2.15 and this has fixed my issue.
Thanks for your posting,
I'm the user Gandalf mentioned behind the NFS mount with a similar problem.
We're using RRDtool 1.2.17 and I wiil asap downgrade to 1.2.15 if the problem persists accessing from local hard disks.
Best regards
Frizz
Cacti 0.8.6j | Cactid 0.8.6j | RRDtool 1.2.23 |
SuSe 9.x | PHP 4.4.4 | MySQL 5.0.27 | IHS 2.0.42.1
Come and join the 3.CCC.eu
http://forums.cacti.net/viewtopic.php?t=27908
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest