Graph not being created

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

Moderators: Developers, Moderators

Post Reply
mikenl
Posts: 6
Joined: Tue Nov 20, 2007 4:32 pm

Graph not being created

Post by mikenl »

After setting up some templated cacti graphs, wich work fine, i've tried to create one myself.
All seems well but the custom graph just isn't created, all others are.
Followed http://docs.cacti.net/node/283
Cacti says the device status is up.

Server 2003 Ent.
Cacti Version 0.8.7a
PHP Version 5.2.5
Apache Version Apache/2.2.6 (Win32) PHP/5.2.5
rrdtool Version 1.2.15-cygwin-1.5.20

Code: Select all

F:\apache\htdocs\cacti\rra>rrdtool info wrt54g_wrtcpum_31.rrd
filename = "wrt54g_wrtcpum_31.rrd"
rrd_version = "0003"
step = 60
last_update = 1196014981
ds[wrtcpum].type = "GAUGE"
ds[wrtcpum].minimal_heartbeat = 600
ds[wrtcpum].min = 0.0000000000e+00
ds[wrtcpum].max = 1.0000000000e+02
ds[wrtcpum].last_ds = "UNKN"
ds[wrtcpum].value = 5.0000000000e+00
ds[wrtcpum].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 500
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 600
rra[1].pdp_per_row = 1
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 700
rra[2].pdp_per_row = 6
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 2.5016666667e+01
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 775
rra[3].pdp_per_row = 24
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 1.1495000000e+02
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[4].cf = "AVERAGE"
rra[4].rows = 797
rra[4].pdp_per_row = 288
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = 1.8297934697e+02
rra[4].cdp_prep[0].unknown_datapoints = 197
rra[5].cf = "MAX"
rra[5].rows = 500
rra[5].pdp_per_row = 1
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 600
rra[6].pdp_per_row = 1
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 700
rra[7].pdp_per_row = 6
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 5.9833333333e+00
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[8].cf = "MAX"
rra[8].rows = 775
rra[8].pdp_per_row = 24
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = 8.9500000000e+00
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[9].cf = "MAX"
rra[9].rows = 797
rra[9].pdp_per_row = 288
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = 8.9500000000e+00
rra[9].cdp_prep[0].unknown_datapoints = 197

Code: Select all

F:/apache/htdocs/cacti/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="wrtcpum" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="F\:/apache/htdocs/cacti/rra/wrt54g_wrtcpum_31.rrd":wrtcpum:AVERAGE \

RRDTool Says:
So RRDTool Says nothing basically.

From cacti log :

Code: Select all

11/25/2007 07:28:01 PM - CMDPHP: Poller[0] Host[3] DS[31] SNMP: v1: 192.168.0.179, dsname: wrtcpum, oid: .1.3.6.1.4.1.2021.10.1.5.2, output: 5
11/25/2007 07:28:01 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (31, 'wrtcpum', '2007-11-25 19:28:01', '5')"
11/25/2007 07:28:01 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='31' and rrd_name='wrtcpum' and time='2007-11-25 19:28:01'"
11/25/2007 07:28:01 PM - POLLER: Poller[0] CACTI2RRD: F:/apache/htdocs/cacti/rrdtool.exe update F:\apache\htdocs\cacti\rra\wrt54g_wrtcpum_31.rrd --template wrtcpum 1196015281:5

Code: Select all

Data Source Debug

F:/apache/htdocs/cacti/rrdtool.exe create \
F:/apache/htdocs/cacti/rra/wrt54g_wrtcpum_31.rrd \
--step 300  \
DS:wrtcpum:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

Anyone have any tips or pointers ?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest