Broken Graph links in tree, but works when drilling down

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
MrBugSir
Posts: 3
Joined: Tue Jun 27, 2006 10:32 am

Broken Graph links in tree, but works when drilling down

Post by MrBugSir »

Hello, I nearly have it!

When looking at graphs on the tree, I get the dreaded red X broken link.

However, when I click on one of those broken links, to drill down and see the Weekly/Monthly/Yearly graphs, the graphs shows just fine. In fact, when I debug a graph, not only are there no errors, but the graph shows up.

The FileMon tools shows no bad permissions.

Any ideas?

Operating System: Windows 2000 SP4
Webserver: IIS 5
Cacti: cacti-0.8.6i
PHP: 4.4.4

Any help would be greatly appreciated. Thanks!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

From my FAQ http://bsod2600.home.comcast.net/instal ... s.html#FAQ


Q: I don't see any graphs on the main graph page, but when I click on one, I see 4 graphs with data.
A: This happens because you have the wrong version of RRDTool selected in Cacti. Set it by going to Settings and applying the proper RRDTool Utility Version.
oun
Posts: 3
Joined: Thu May 17, 2007 4:17 am

Thank you

Post by oun »

I'm stuck with this problem for a couple days. Thank you again.
danathane
Cacti User
Posts: 127
Joined: Thu May 03, 2007 9:03 am

Post by danathane »

And don't forget to specify the police path : c:/windows/fonts/tahoma.ttf.
Not sure if it is / or \ lol
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Having the same issue

Post by wtb1 »

I am having the same issue and my rrdtool and settings in cacti are correct:

rrdtool -v respnds with RRDtool 1.2.20
and Cacti is set to RRDTOOL 1.2.x

Any thought?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Make sure you've got a valid font path in cacti.
Upgrade to rrdtool 1.2.23.
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Checked both

Post by wtb1 »

I downloaded rrdtools 1.2.23 and checked the font path which is correct and I still have the same issue.
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

One thing i found out when i was first setting up Cacti, you need to actually specify the actual font, not just the path. Does that work for you?

app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Have my font defined in settigns as :

Post by wtb1 »

c:/rrdtool/DejaVuSansMono-Roman.ttf
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

wtb1: go to graph mangement, click on a broken graph, then turn on graph debugging. Paste the outputted text.
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Here ya go

Post by wtb1 »

The graphs technically work. Just not all graphs show in the Tree mode and will display if I drill down. I will include screen shots of what I see.

RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="<servernamedeleted> - 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/<servernamedeleted>_smtp_msgbytesreceiv_899.rrd":MB_MsgsDelivered:AVERAGE \
DEF:b="C\:/xampp/htdocs/cacti/rra/<servernamedeleted>_smtp_msgbytesreceiv_899.rrd":MB_MsgsSubmitted:AVERAGE \
DEF:c="C\:/xampp/htdocs/cacti/rra/<servernamedeleted>_smtp_msgbytesreceiv_899.rrd":MB_MsgsSent:AVERAGE \
DEF:d="C\:/xampp/htdocs/cacti/rra/<servernamedeleted>_smtp_msgbytesreceiv_899.rrd":SMTP_MsgsDelivered:AVERAGE \
DEF:e="C\:/xampp/htdocs/cacti/rra/<servernamedeleted>_smtp_msgbytesreceiv_899.rrd":SMTP_MsgsReceived:AVERAGE \
DEF:f="C\:/xampp/htdocs/cacti/rra/<servernamedeleted>_smtp_msgbytesreceiv_899.rrd":SMTP_MsgBytesReceiv:AVERAGE \
DEF:g="C\:/xampp/htdocs/cacti/rra/<servernamedeleted>_smtp_msgbytesreceiv_899.rrd":SMTP_MsgsSent:AVERAGE \
DEF:h="C\:/xampp/htdocs/cacti/rra/<servernamedeleted>_smtp_msgbytesreceiv_899.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 8119)\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 3483)\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 3610)\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 5340)\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 2780," \
COMMENT:"372.4 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 1229," \
COMMENT:"199.8 MB)\n"

RRDTool Says:

OK
Attachments
cacti2.JPG
cacti2.JPG (76.13 KiB) Viewed 5749 times
cacti1.JPG
cacti1.JPG (44.95 KiB) Viewed 5749 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Interesting. what versions of everything are you using? Just for testing, go back to rrdtool 1.2.15 and see if it exhibits the same problem (rrdtool is actually whats creating the graphs).
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Post by wtb1 »

cacti : 0.8.6j
My Sql : 5.0.27
PHP : 5.2
rrdtool : 1.2.25
wtb1
Posts: 47
Joined: Thu May 03, 2007 8:11 am

Fixed

Post by wtb1 »

Downgrading rrdtool to 1.2.15 seems to have fixed the issue.
SittingDuck
Posts: 9
Joined: Fri Jul 20, 2007 9:18 pm

Post by SittingDuck »

FYI. Ran into this one and was pulling my hair out over it.

Blank screen when logging in with LDAP authentication?

If you're logging in with a successful LDAP connection and the connection is successful (IE, you can see the new user in User Management) but you're unable to view the default tree view note that when you create a new user (IE to use for a template) the user will be denied to the default tree view. Remove this by clicking the red x to the right of the tree on the Graph Permissions Tab (Field should be empty if you only have one Tree) with the "Allow" set in the drop down box.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests