Ping Graphs None

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

Moderators: Developers, Moderators

Post Reply
atheeralattar
Posts: 21
Joined: Tue Apr 06, 2010 10:38 am
Location: Iraq
Contact:

Ping Graphs None

Post by atheeralattar »

Hello All,

I am trying to graph a ping chart, everything goes fine, but I am still getting an empty graph.

Athii

----C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Google - Ping Latency" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="milliseconds" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/19/135.rrd":ping:AVERAGE \
AREA:a#FFF200FF:"" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"
------
Data Source Debug

C:/rrdtool/rrdtool.exe create \
C:/Inetpub/wwwroot/cacti/rra/19/135.rrd \
--step 300 \
DS:ping:GAUGE:600:0:5000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

-----------------System LOG
06/17/2010 03:05:03 AM - CMDPHP: Poller[0] Host[19] DS[135] WARNING: Result from CMD not valid. Partial Result: U
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) read through http://forums.cacti.net/viewtopic.php?t=11747
2) that graph debug output... did you omit the "rrdtool says" portion or there is none? If the latter, then sounds like NTFS permissions on cmd.exe and/or rrdtool.exe.
atheeralattar
Posts: 21
Joined: Tue Apr 06, 2010 10:38 am
Location: Iraq
Contact:

Post by atheeralattar »

Dear BSOD,,

I read the link you gave me, and searched alot inside the posts. but I am lost now.

also I recreate the host and the graphs all from scratch and the same problem pops up again. knowing that my cacti is under FAT32 not NTFS.

below are the logs.:--

Code: Select all

Data Source Debug
C:/rrdtool/rrdtool.exe create \
C:/Inetpub/wwwroot/cacti/rra/20/136.rrd \
--step 300  \
DS:ping:GAUGE:600:0:5000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
----------------------------------------------------

Code: Select all

Graph Debug

RRDTool Command:
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Google - Ping Latency" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="milliseconds" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/20/136.rrd":ping:AVERAGE \
AREA:a#FFF200FF:""  \
GPRINT:a:LAST:"Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" 
RRDTool Says:
OK
-----------------------------------------------

Code: Select all

System Log

6/19/2010 06:15:04 PM - SYSTEM STATS: Time:3.5004 Method:cmd.php Processes:2 Threads:N/A Hosts:12 HostsPerProcess:6 DataSources:60 RRDsProcessed:38
06/19/2010 06:15:03 PM - CMDPHP: Poller[0] Host[20] DS[136] WARNING: Result from CMD not valid. Partial Result: U
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Please follow http://docs.cacti.net/manual:087:4_help.2_debugging

Is DS[136] the ping script? If so, then it appears to be broken. Does it work when you manually run it?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest