new graphs not being created rrdtools says: <nothing>

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

Moderators: Developers, Moderators

Post Reply
adamc
Posts: 9
Joined: Thu Jul 15, 2010 3:36 pm

new graphs not being created rrdtools says: <nothing>

Post by adamc »

Operating System:windoze 2003 32 bit
Webserver: apache 2.2.14
Cacti:0.8.73
MySQL:
PHP:5.2.11
RRDTool (Cygwin or Win32 version):1.2x
Net-SNMP:5.5
Plugin Architecture:

All of a sudden any new devices or additional interfaces on existing devices i try to graph have no graphs created.

The polling seems fine in debug mode; i can see the stats coming back. the graph debug has the commands for example

C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="idc01er01 - Traffic - ge-0/0/2.8" \
--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/45/758.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Apache2/htdocs/cacti/rra/45/758.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefh=b,8,* \
CDEF:cdefbb=a,UN,INF,UNKN,IF \
CDEF:cdefbg=TIME,1279226215,GT,a,a,UN,0,a,IF,IF,TIME,1279226215,GT,b,b,UN,0,b,IF,IF,+ \
AREA:cdefa#157419FF:"In" \
GPRINT:cdefa:LAST:" Cur\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Av\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %s" \
COMMENT:"Transfer\: 340.8 bytes" \
HRULE:|95\:bits\:0\:current|#00FF00FF:"95%\:" \
COMMENT:"|95\:bits\:6\:current| mbit\n" \
LINE1:cdefh#002A8FFF:"Out" \
GPRINT:cdefh:LAST:"Cur\:%8.2lf %s" \
GPRINT:cdefh:AVERAGE:"Av\:%8.2lf %s" \
GPRINT:cdefh:MAX:"Max\:%8.2lf %s" \
AREA:cdefbb#8F9286FF:"" \
COMMENT:"Transfer\: 157.2 KB" \
HRULE:|95\:bits\:0\:current|#0000FFFF:"95%\:" \
COMMENT:"|95\:bits\:6\:current| mbit\n" \
COMMENT:" \n" \
HRULE:1173.82#FF0000FF:"Total 95%\:" \
COMMENT:"0 mbit" \
COMMENT:"Total Transfer\: 157.54 KB\n"

Then it shows that RRDTOOL SAYS:

where normally it says "OK" it simply says nothign (blank).

I'm none the wiser, anyone shed any light for me please?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Cacti :0.8.73 ? 0.8.7g was just released....

anyways, are all graphs broken and not reporting anything or just new ones? Correct rrdtool version set in cacti's settings (click save to make sure)?

Typically a lack of rrdtool saying anything is a sign of incorrect NTFS permissions on cmd.exe and/or rrdtool.exe for the web user account.
adamc
Posts: 9
Joined: Thu Jul 15, 2010 3:36 pm

Post by adamc »

It's version 0.8.7e

It's only new graphs created all existing graphs get updated ok
adamc
Posts: 9
Joined: Thu Jul 15, 2010 3:36 pm

Post by adamc »

No ideas anyone? I'm stuck without any new graphs...
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Odd that old graphs aren't broken yet new ones are.

For the newly created data sources, turn on data source debug. Any errors?

Any errors in the cacti technical support page? Cacti.log?
adamc
Posts: 9
Joined: Thu Jul 15, 2010 3:36 pm

Post by adamc »

No, and thats why i'm so stumped. All the data is being collected, i can see on each poll the rrdtool command changes based on the info collected from the poll.

There are no poll errors, no data source errors, no errors in cacti log except one weathermap issue i can see which i will fix.

i have attached the technical output page but i see nothing obvious, that said i'm wayyyyyyyyyy no expert.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) page wasn't attached. thats fine if all is ok.

2) Time to dig. Fire up Sysinternals Process Monitor. Clear the results, get the broken graph up, and then click refresh. Stop process monitor. Look for access denied errors, file not found, etc for cmd.exe, rrdtool.exe and the <filename>.rrd.
adamc
Posts: 9
Joined: Thu Jul 15, 2010 3:36 pm

Post by adamc »

Well, did as you asked and there are a few non SUCESS status but no denied etc just REPARSE, NAME NOT FOUND and RANGE NOT LOCKED.

The graphs still just display as broken images.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Fine. Please use sysinternals again, this time saving and attaching the log. Hopefully you're on x86, otherwise I can't open the log file.
adamc
Posts: 9
Joined: Thu Jul 15, 2010 3:36 pm

Post by adamc »

ok, been playing in an effort to troubleshoot. If i select a differing graph template from the 95th percentile one to, for example, bits/sec total bandwidth.

the graph then works...........
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest