Graph not being displayed

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
jjteo
Posts: 8
Joined: Tue Aug 02, 2011 10:18 am

Graph not being displayed

Post by jjteo »

Hi , my graphs are not being displayed after i created them. May i know what am i doing wrong?
This is the debug output.
It seems that the rrdtool is unable to find the .rrd file. How would i go about solving this error?

I am currently trying to monitor the cpu usage of the pc that i am using
This is the current config

Code: Select all

RRDTool Command:
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="localhost - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/inetpub/wwwroot/cacti/rra/23/58.rrd":cpu:AVERAGE \
CDEF:cdefbc=TIME,1312487736,GT,a,a,UN,0,a,IF,IF \
AREA:a#FF0000FF:"System"  \
GPRINT:a:LAST:"Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"  \
AREA:a#0000FFFF:"User":STACK \
GPRINT:a:LAST:"  Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"  \
AREA:a#00FF00FF:"Nice":STACK \
GPRINT:a:LAST:"  Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefbc#000000FF:"Total"  \
GPRINT:cdefbc:LAST:" Current\:%8.2lf %s"  \
GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s\n" 
RRDTool Says:
ERROR: opening 'C:/inetpub/wwwroot/cacti/rra/23/58.rrd': No such file or directory
Cacti.log output

Code: Select all

08/06/2011 02:50:00 PM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
08/06/2011 02:50:00 PM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 600 seconds have passed since the last poll!
08/06/2011 02:40:00 PM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
08/06/2011 02:39:59 PM - SYSTEM DSSTATS STATS: Type:HOURLY, Time:0.0050
08/06/2011 02:39:59 PM - SYSTEM STATS: Time:298.5215 Method:cmd.php Processes:4 Threads:N/A Hosts:4 HostsPerProcess:1 DataSources:2 RRDsProcessed:0
08/06/2011 02:39:59 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
08/06/2011 02:35:00 PM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
Operating System: Windows XP(32-bit)
Webserver: IIS 7
Cacti: 0.8.7g
Spine:0.8.7g
MySQL:5.1.50
PHP:5.2.14
RRDTool (Cygwin or Win32 version):1.2.30
Net-SNMP:5.5.0.2
Cygwin (cygwin1.dll version):1.7.5



EDIT: The graphs are being displayed but there is no data being updated. After i export the graph as a .csv file , under the columns Free and Swap , the data is NaN.


Thanks
Last edited by jjteo on Sun Aug 07, 2011 10:37 am, edited 3 times in total.
jjteo
Posts: 8
Joined: Tue Aug 02, 2011 10:18 am

Re: Graph not being displayed

Post by jjteo »

Does anyone have the same problem?
Schnark
Posts: 20
Joined: Sun May 23, 2010 5:57 pm

Re: Graph not being displayed

Post by Schnark »

I have a similar problem however my graphs are coming up with an error -1.#J

I know that you can do the debug mode to see what's running as the data source, but is there a way to monitor a specific graph's poller output?

I'm curious to see if the poll is getting any data back. I know that other SNMP queries to the device work fine.
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Graph not being displayed

Post by noname »

Schnark wrote:I know that you can do the debug mode to see what's running as the data source, but is there a way to monitor a specific graph's poller output?
Though it's not for specific graphs but for specific hosts, you can perform polling tests for particular target.
- Debugging: Check Cacti's Poller - Cacti Docs
Schnark
Posts: 20
Joined: Sun May 23, 2010 5:57 pm

Re: Graph not being displayed

Post by Schnark »

Hi,

Managed to fix nearly all of the issues today by doing the following:
- Stopping the poller and waiting 10 minutes (we're on a 5 minute schedule)
- Clearing out the poller cache and confirming its empty
- Restarting SNMP on the routers that were affected
- Waiting 10 minutes and observing that the graphs were now being displayed okay

Suggest that this troubleshooting be added to the normal "my graphs are empty / getting no results"
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests