[solved] Graph is not being Displayed

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

Moderators: Developers, Moderators

Post Reply
spyshy
Posts: 4
Joined: Mon Aug 15, 2011 4:36 am

[solved] Graph is not being Displayed

Post by spyshy »

Hi support,

I used the windows installer to install cacti-0.8.7g_1

1- OS: Win Xp-SP2 Frsh installtion.
2- disable Firewall
3- Install Cacti-0.8.7g_1 using mySQL
4- Restart the machine.
5- I added Cisco router device.

I added the CISCO router as device to monitor. I have noticed that snmp reading the hostname and some information from router.More over it sense the interfaces.
However, the graph is not being draw. Is it not reading the utilization of the interface.

I have notice two main things:

1- Device status always " Unknow"
2- When I debug the interface I got the below ERROR.

Attached three log files: cacti, cacti-installer, mysql_install

RRDTool Command:

C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Router-B - Traffic - Fa0/1/0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Apache2/htdocs/cacti/rra/4/21.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Apache2/htdocs/cacti/rra/4/21.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:

ERROR: opening 'C:/Apache2/htdocs/cacti/rra/4/21.rrd': No such file or directory


Can anybody help.

Thanks
spyshy
Attachments
cacti-installer.zip
(23.35 KiB) Downloaded 69 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graph is not being Displayed

Post by BSOD2600 »

1) device status of unknown means there typically isnt anything for cacti to poll against that device. Is this not the case?
2) did you follow the post-install instructions and set a valid user account for the cacti scheduled task?
3) has the poller successfully ran at least 2x yet?
spyshy
Posts: 4
Joined: Mon Aug 15, 2011 4:36 am

Re: Graph is not being Displayed

Post by spyshy »

Thanks Alot,

It is working fine now.

the issue was with the php path which was mentioned in

2) did you follow the post-install instructions and set a valid user account for the cacti scheduled task?

Thanks
Nzioka
Posts: 1
Joined: Tue Sep 06, 2011 12:29 pm

Re: [solved] Graph is not being Displayed

Post by Nzioka »

I Have followed all the instructions and when go to graph management and enable debug mode i get the error below, can someone kindly assist me
RRDTool Command:

C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="PE1:QOA - Traffic - 2/2/1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Apache2/htdocs/cacti/rra/5/18.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Apache2/htdocs/cacti/rra/5/18.rrd":traffic_out:AVERAGE \
AREA:a#00CF00FF:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:b#002A97FF:"Outbound" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:

ERROR: opening 'C:/Apache2/htdocs/cacti/rra/5/18.rrd': No such file or directory
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests