Graphs not being created for new template

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

Moderators: Developers, Moderators

Post Reply
cynicismic
Posts: 13
Joined: Thu Nov 22, 2007 5:05 am

Graphs not being created for new template

Post by cynicismic »

I've created new several new graph templates and data templates to go with them, based on the nt_perfmon stuff (small perl wrapper around the nagios plugins check_nt exe).

The log shows that the data sources are returning data as expected:

Code: Select all

Log File [Total Lines: 8 - All Items Shown]
10/28/2010 09:35:27 PM - SPINE: Poller[0] Host[242] TH[1] DS[8163] SCRIPT: perl /space/webroot/cacti/scripts/nt_perfmon.pl platform143.redacted.com "\\LogicalDisk(F:)\Split IO/Sec", output: 0
10/28/2010 09:35:26 PM - SPINE: Poller[0] Host[242] TH[1] DS[8162] SCRIPT: perl /space/webroot/cacti/scripts/nt_perfmon.pl platform143.redacted.com "\\LogicalDisk(F:)\Disk Writes/sec", output: 0
10/28/2010 09:35:25 PM - SPINE: Poller[0] Host[242] TH[1] DS[8161] SCRIPT: perl /space/webroot/cacti/scripts/nt_perfmon.pl platform143.redacted.com "\\LogicalDisk(F:)\Disk Transfers/sec", output: 59
10/28/2010 09:35:24 PM - SPINE: Poller[0] Host[242] TH[1] DS[8160] SCRIPT: perl /space/webroot/cacti/scripts/nt_perfmon.pl platform143.redacted.com "\\LogicalDisk(F:)\Disk Reads/sec", output: 59
All other graphs templates on the same host work fine (some of them using the nt_perfmon.pl script):

The RRDs get created as fine, and the poller shows them being updated... but still, no graphs get created..

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1288212277 \
--end=1288298677 \
--title='Platform143 - F: - Current IO Counters' \
--base=1000 \
--height=200 \
--width=600 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2010/10/27 21\:44\:37 To 2010/10/28 21\:44\:37\c" \
COMMENT:"  \n" \
--vertical-label='Operations Per Second' \
--slope-mode \
--font TITLE:9: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/space/webroot/cacti/rra/platform143_fdiskreadspersec_8160.rrd":FdiskReadsPerSec:AVERAGE \
DEF:b="/space/webroot/cacti/rra/platform143_fdiskwritespersec_8162.rrd":FdiskWritesPerSec:AVERAGE \
DEF:c="/space/webroot/cacti/rra/platform143_fdisktranspersec_8161.rrd":FdiskTransPerSec:AVERAGE \
DEF:d="/space/webroot/cacti/rra/platform143_fsplitiopersec_8163.rrd":FsplitIOPerSec:AVERAGE \
AREA:#CDCFC4FF:"Total\:"  \
GPRINT::LAST:"        Current\:%8.2lf %s"  \
GPRINT::AVERAGE:"Average\:%8.2lf %s"  \
GPRINT::MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:a#FF3932FF:"Reads/Sec\:"  \
GPRINT:a:LAST:"    Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:b#7CB3F1FF:"Writes/Sec\:"  \
GPRINT:b:LAST:"   Current\:%8.2lf %s"  \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:c#EAAF00FF:"Transfers/Sec\:"  \
GPRINT:c:LAST:"Current\:%8.2lf %s"  \
GPRINT:c:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:c:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:d#7EE600FF:"Split IO/Sec\:"  \
GPRINT:d:LAST:" Current\:%8.2lf %s"  \
GPRINT:d:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:d:MAX:"Maximum\:%8.2lf %s\n" 
Running Cacti 0.8.7g on CentOS5.5, RRDTool Version RRDTool 1.4.x

First person to find the issue gets a free windows disk I/O template.
Attachments
broken.png
broken.png (24.77 KiB) Viewed 586 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Graphs not being created for new template

Post by gandalf »

Please redirect poller's output to e.g. ./log/poller.log instead of /dev/null and watch that file for error messages
R.
cynicismic
Posts: 13
Joined: Thu Nov 22, 2007 5:05 am

Re: Graphs not being created for new template

Post by cynicismic »

done, no errors relating to this (the host or the check or rrd, or the poller..) whatsoever.. either when log level running as high or debug..
cynicismic
Posts: 13
Joined: Thu Nov 22, 2007 5:05 am

Re: Graphs not being created for new template

Post by cynicismic »

Code: Select all

10/28/2010 11:45:30 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /space/webroot/cacti/rra/platform143_fdiskreadspersec_8160.rrd --template FdiskReadsPerSec 1288305910:42
10/28/2010 11:45:30 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /space/webroot/cacti/rra/platform143_fdisktranspersec_8161.rrd --template FdiskTransPerSec 1288305910:67
10/28/2010 11:45:30 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /space/webroot/cacti/rra/platform143_fdiskwritespersec_8162.rrd --template FdiskWritesPerSec 1288305910:18
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Graphs not being created for new template

Post by gandalf »

When running updates manually against the "failing rrd" as cactiuser, what does this yield
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests