Graphs not showing
Moderators: Developers, Moderators
Graphs not showing
I just added a linux box to an existing cacti server. Graphs are not showing. I dont see any error in the graph debug log and I can also do snmpget/snmpwalk on it from the cacti server. I see the frames but I dont see the graphs. They show as 'nan'. Any ideas ?
Gandalf,
Thanks for the links. One thing I forgot to mention is that the cacti server does graphs fine for other servers already, both for Solaris and Linux boxes. It is just this new one that is having a problem. I compared the rrdtool command on the graph debug mode with another that is working and it is exactly the same.
RRDTool Command:
/usr/local/rrdtool-1.0.49/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="linuxserver - CPU1 Usage" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
DEF:a="/var/www/html/cacti/rra/linuxserver_cpu1_system_928.rrd":cpu1_system:AVERAGE \
DEF:b="/var/www/html/cacti/rra/linuxserver_cpu1_usr_929.rrd":cpu1_usr:AVERAGE \
DEF:c="/var/www/html/cacti/rra/linuxserver_cpu1_idle_927.rrd":cpu1_idle:AVERAGE \
LINE1:a#FFF200:"System" \
GPRINTLAST:"Current%8.2lf %s" \
GPRINTAVERAGE:"Average%8.2lf %s" \
GPRINTMAX:"Maximum%8.2lf %s\n" \
LINE2:b#623465:"User" \
GPRINTLAST:" Current%8.2lf %s" \
GPRINTAVERAGE:"Average%8.2lf %s" \
GPRINTMAX:"Maximum%8.2lf %s\n" \
LINE3:c#000000:"Idle" \
GPRINT:c:LAST:" Current%8.2lf %s" \
GPRINT:c:AVERAGE:"Average%8.2lf %s" \
GPRINT:c:MAX:"Maximum%8.2lf %s\n"
RRDTool Says:
OK
Thanks for the links. One thing I forgot to mention is that the cacti server does graphs fine for other servers already, both for Solaris and Linux boxes. It is just this new one that is having a problem. I compared the rrdtool command on the graph debug mode with another that is working and it is exactly the same.
RRDTool Command:
/usr/local/rrdtool-1.0.49/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="linuxserver - CPU1 Usage" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
DEF:a="/var/www/html/cacti/rra/linuxserver_cpu1_system_928.rrd":cpu1_system:AVERAGE \
DEF:b="/var/www/html/cacti/rra/linuxserver_cpu1_usr_929.rrd":cpu1_usr:AVERAGE \
DEF:c="/var/www/html/cacti/rra/linuxserver_cpu1_idle_927.rrd":cpu1_idle:AVERAGE \
LINE1:a#FFF200:"System" \
GPRINTLAST:"Current%8.2lf %s" \
GPRINTAVERAGE:"Average%8.2lf %s" \
GPRINTMAX:"Maximum%8.2lf %s\n" \
LINE2:b#623465:"User" \
GPRINTLAST:" Current%8.2lf %s" \
GPRINTAVERAGE:"Average%8.2lf %s" \
GPRINTMAX:"Maximum%8.2lf %s\n" \
LINE3:c#000000:"Idle" \
GPRINT:c:LAST:" Current%8.2lf %s" \
GPRINT:c:AVERAGE:"Average%8.2lf %s" \
GPRINT:c:MAX:"Maximum%8.2lf %s\n"
RRDTool Says:
OK
-
- Posts: 1
- Joined: Wed Mar 07, 2007 6:05 pm
Who is online
Users browsing this forum: No registered users and 3 guests