Graphs not showing

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
ade
Posts: 7
Joined: Thu Dec 28, 2006 4:36 pm

Graphs not showing

Post by ade »

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 ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please follow the second link of my signature. Find more help at the "documentation" Tab at the top of all cacti site pages
Reinhard
ade
Posts: 7
Joined: Thu Dec 28, 2006 4:36 pm

Post by ade »

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" \
GPRINT:a:LAST:"Current%8.2lf %s" \
GPRINT:a:AVERAGE:"Average%8.2lf %s" \
GPRINT:a:MAX:"Maximum%8.2lf %s\n" \
LINE2:b#623465:"User" \
GPRINT:b:LAST:" Current%8.2lf %s" \
GPRINT:b:AVERAGE:"Average%8.2lf %s" \
GPRINT:b:MAX:"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
cactiuser_2k7
Posts: 1
Joined: Wed Mar 07, 2007 6:05 pm

Post by cactiuser_2k7 »

I have same problem in my cacti linux box.

I don't see graphs , only a red x .

Anyone for suggestion.. thanx in advance
maw
Posts: 34
Joined: Wed Mar 07, 2007 2:26 am
Location: Vancouver, Canada

Post by maw »

cactiuser_2k7,

wait a few mins for the poller to create your graphs
:: FreeBSD6.2 - Apache 1.3.37+mod_ssl - PHP 5.2.1 - MySQL 5.0 ::
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest