data is in rra directory but no graphs
Moderators: Developers, Moderators
data is in rra directory but no graphs
I have the SNMP connection and the data in /var/www/html/cacti/rra directory, all the .rrd files, but nothing shows up in the actual graph.
Why is that?
The host is a hp-ux 11.23 machine.
Cact is on Linux with kernel 2.6.9
The curious thing is, I have an identical hp-ux host that does work.
Why is that?
The host is a hp-ux 11.23 machine.
Cact is on Linux with kernel 2.6.9
The curious thing is, I have an identical hp-ux host that does work.
Went through it to no avail. That seems to be a really common error looking on this forum.
I turned on the debug mode and looking at the command, I get this. Still no graph
I turned on the debug mode and looking at the command, I get this. Still no graph
/opt/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="ac2hnsbi - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="cpu %" \
--slope-mode \
DEF:a="/var/www/html/cacti/rra/ac2hnsbi_hpux_syscpu_900.rrd":hpux_SysCPU:AVERAGE \
DEF:b="/var/www/html/cacti/rra/ac2hnsbi_hpux_nicecpu_899.rrd":hpux_NiceCPU:AVERAGE \
DEF:c="/var/www/html/cacti/rra/ac2hnsbi_hpux_usercpu_901.rrd":hpux_UserCPU:AVERAGE \
DEF:d="/var/www/html/cacti/rra/ac2hnsbi_hpux_idlecpu_898.rrd":hpux_IdleCPU:AVERAGE \
CDEF:cdefa=a,100,*,TIME,1188571831,GT,a,a,UN,0,a,IF,IF,TIME,1188571831,GT,b,b,UN,0,b,IF,IF,TIME,1188571831,GT,c,c,UN,0,c,IF,IF,TIME,1188571831,GT,d,d,UN,0,d,IF,IF,+,+,+,/ \
CDEF:cdeff=b,100,*,TIME,1188571831,GT,a,a,UN,0,a,IF,IF,TIME,1188571831,GT,b,b,UN,0,b,IF,IF,TIME,1188571831,GT,c,c,UN,0,c,IF,IF,TIME,1188571831,GT,d,d,UN,0,d,IF,IF,+,+,+,/ \
CDEF:cdefba=c,100,*,TIME,1188571831,GT,a,a,UN,0,a,IF,IF,TIME,1188571831,GT,b,b,UN,0,b,IF,IF,TIME,1188571831,GT,c,c,UN,0,c,IF,IF,TIME,1188571831,GT,d,d,UN,0,d,IF,IF,+,+,+,/ \
CDEF:cdefbf=d,100,*,TIME,1188571831,GT,a,a,UN,0,a,IF,IF,TIME,1188571831,GT,b,b,UN,0,b,IF,IF,TIME,1188571831,GT,c,c,UN,0,c,IF,IF,TIME,1188571831,GT,d,d,UN,0,d,IF,IF,+,+,+,/ \
AREA:cdefa#FF0000:"System" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefa:MIN:"Min\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %s\n" \
AREA:cdeff#00FF00:"Nice":STACK \
GPRINT:cdeff:LAST:" Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdeff:MIN:"Min\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Max\:%8.2lf %s\n" \
AREA:cdefba#0000FF:"User":STACK \
GPRINT:cdefba:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefba:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefba:MIN:"Min\:%8.2lf %s" \
GPRINT:cdefba:MAX:"Max\:%8.2lf %s\n" \
AREA:cdefbf#C0C0C0:"Idle":STACK \
GPRINT:cdefbf:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefbf:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefbf:MIN:"Min\:%8.2lf %s" \
GPRINT:cdefbf:MAX:"Max\:%8.2lf %s"
RRDTool Says:
OK
Here is from the log file, anything looks strange?
08/31/2007 11:25:21 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '3', status_event_count = '0',
status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = '', min_ti
me = '9.99999', max_time = '227.33000', cur_time = '94.28', avg_time = '105.35863565217', total_polls = '23', fai
led_polls = '0', availability = '100' where hostname = 'ac2bi'"
08/31/2007 11:25:21 AM - CMDPHP: Poller[0] Host[68] RECACHE: Processing 2 items in the auto reindex cache for 'ac2hss.comb
i.hss.com.com'.
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[909] SNMP: v2: ac2bi, dsname: hpux_processNum, oid:
.1.3.6.1.4.1.11.2.3.1.4.1.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[910] SNMP: v2: ac2bi, dsname: hpux_SystemUsers, oid:
.1.3.6.1.4.1.11.2.3.1.1.2.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[898] SNMP: v2: ac2bi, dsname: hpux_IdleCPU, oid: .1.
3.6.1.4.1.11.2.3.1.1.15.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[906] SNMP: v2: ac2bi, dsname: hpux_PhysMemory, oid:
.1.3.6.1.4.1.11.2.3.1.1.8.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[907] SNMP: v2: ac2bi, dsname: hpux_EnabledSwap, oid:
.1.3.6.1.4.1.11.2.3.1.1.11.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[899] SNMP: v2: ac2bi, dsname: hpux_NiceCPU, oid: .1.
3.6.1.4.1.11.2.3.1.1.16.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[900] SNMP: v2: ac2bi, dsname: hpux_SysCPU, oid: .1.3
.6.1.4.1.11.2.3.1.1.14.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[901] SNMP: v2: ac2bi, dsname: hpux_UserCPU, oid: .1.
3.6.1.4.1.11.2.3.1.1.13.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[902] SNMP: v2: ac2bi, dsname: hpux_AvgJobs1, oid: .1
.3.6.1.4.1.11.2.3.1.1.3.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[903] SNMP: v2: ac2bi, dsname: hpux_AvgJobs15, oid: .
1.3.6.1.4.1.11.2.3.1.1.5.0, output: U
08/31/2007 11:25:23 AM - CMDPHP: Poller[0] Host[68] DS[904] SNMP: v2: ac2bi, dsname: hpux_AvgJobs5, oid: .1
.3.6.1.4.1.11.2.3.1.1.4.0, output: U
08/31/2007 11:25:23 AM - CMDPHP: Poller[0] Host[68] DS[905] SNMP: v2: ac2bi, dsname: hpux_FreeMemory, oid:
.1.3.6.1.4.1.11.2.3.1.1.7.0, output: U
08/31/2007 11:25:23 AM - CMDPHP: Poller[0] Host[68] DS[908] SNMP: v2: ac2bi, dsname: hpux_FreeSwap, oid: .1
.3.6.1.4.1.11.2.3.1.1.12.0, output: U
08/31/2007 11:25:21 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '3', status_event_count = '0',
status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = '', min_ti
me = '9.99999', max_time = '227.33000', cur_time = '94.28', avg_time = '105.35863565217', total_polls = '23', fai
led_polls = '0', availability = '100' where hostname = 'ac2bi'"
08/31/2007 11:25:21 AM - CMDPHP: Poller[0] Host[68] RECACHE: Processing 2 items in the auto reindex cache for 'ac2hss.comb
i.hss.com.com'.
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[909] SNMP: v2: ac2bi, dsname: hpux_processNum, oid:
.1.3.6.1.4.1.11.2.3.1.4.1.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[910] SNMP: v2: ac2bi, dsname: hpux_SystemUsers, oid:
.1.3.6.1.4.1.11.2.3.1.1.2.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[898] SNMP: v2: ac2bi, dsname: hpux_IdleCPU, oid: .1.
3.6.1.4.1.11.2.3.1.1.15.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[906] SNMP: v2: ac2bi, dsname: hpux_PhysMemory, oid:
.1.3.6.1.4.1.11.2.3.1.1.8.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[907] SNMP: v2: ac2bi, dsname: hpux_EnabledSwap, oid:
.1.3.6.1.4.1.11.2.3.1.1.11.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[899] SNMP: v2: ac2bi, dsname: hpux_NiceCPU, oid: .1.
3.6.1.4.1.11.2.3.1.1.16.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[900] SNMP: v2: ac2bi, dsname: hpux_SysCPU, oid: .1.3
.6.1.4.1.11.2.3.1.1.14.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[901] SNMP: v2: ac2bi, dsname: hpux_UserCPU, oid: .1.
3.6.1.4.1.11.2.3.1.1.13.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[902] SNMP: v2: ac2bi, dsname: hpux_AvgJobs1, oid: .1
.3.6.1.4.1.11.2.3.1.1.3.0, output: U
08/31/2007 11:25:22 AM - CMDPHP: Poller[0] Host[68] DS[903] SNMP: v2: ac2bi, dsname: hpux_AvgJobs15, oid: .
1.3.6.1.4.1.11.2.3.1.1.5.0, output: U
08/31/2007 11:25:23 AM - CMDPHP: Poller[0] Host[68] DS[904] SNMP: v2: ac2bi, dsname: hpux_AvgJobs5, oid: .1
.3.6.1.4.1.11.2.3.1.1.4.0, output: U
08/31/2007 11:25:23 AM - CMDPHP: Poller[0] Host[68] DS[905] SNMP: v2: ac2bi, dsname: hpux_FreeMemory, oid:
.1.3.6.1.4.1.11.2.3.1.1.7.0, output: U
08/31/2007 11:25:23 AM - CMDPHP: Poller[0] Host[68] DS[908] SNMP: v2: ac2bi, dsname: hpux_FreeSwap, oid: .1
.3.6.1.4.1.11.2.3.1.1.12.0, output: U
Here we go. Why does the graph show up blank? Is there something wrong with this file?
ac2_hpux_syscpu_900.rrd
filename = "ac2_hpux_syscpu_900.rrd"
rrd_version = "0003"
step = 300
last_update = 1188912619
ds[hpux_SysCPU].type = "COUNTER"
ds[hpux_SysCPU].minimal_heartbeat = 600
ds[hpux_SysCPU].min = 0.0000000000e+00
ds[hpux_SysCPU].max = NaN
ds[hpux_SysCPU].last_ds = "U"
ds[hpux_SysCPU].value = NaN
ds[hpux_SysCPU].unknown_sec = 19
rra[0].cf = "AVERAGE"
rra[0].rows = 600
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 = 700
rra[1].pdp_per_row = 6
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 = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 18
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 162
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].pdp_per_row = 6
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 = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 18
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 162
ac2_hpux_syscpu_900.rrd
filename = "ac2_hpux_syscpu_900.rrd"
rrd_version = "0003"
step = 300
last_update = 1188912619
ds[hpux_SysCPU].type = "COUNTER"
ds[hpux_SysCPU].minimal_heartbeat = 600
ds[hpux_SysCPU].min = 0.0000000000e+00
ds[hpux_SysCPU].max = NaN
ds[hpux_SysCPU].last_ds = "U"
ds[hpux_SysCPU].value = NaN
ds[hpux_SysCPU].unknown_sec = 19
rra[0].cf = "AVERAGE"
rra[0].rows = 600
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 = 700
rra[1].pdp_per_row = 6
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 = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 18
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 162
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].pdp_per_row = 6
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 = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 18
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 162
Also, I am getting this in the error log:
09/04/2007 09:45:20 AM - CMDPHP: Poller[0] Host[68] DS[908] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail
09/04/2007 09:45:20 AM - CMDPHP: Poller[0] Host[68] DS[908] SNMP: v2: ac2, dsname: hpux_FreeSwap, oid: .1.3.6.1.4.1.11.2.3.1.1.12.0, output:
09/04/2007 09:45:20 AM - CMDPHP: Poller[0] Host[68] DS[908] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail
09/04/2007 09:45:20 AM - CMDPHP: Poller[0] Host[68] DS[908] SNMP: v2: ac2, dsname: hpux_FreeSwap, oid: .1.3.6.1.4.1.11.2.3.1.1.12.0, output:
Who is online
Users browsing this forum: No registered users and 1 guest