Graphing negative string value

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
jd6strings
Posts: 2
Joined: Thu Jun 04, 2015 8:42 am

Graphing negative string value

Post by jd6strings »

I know that this has been asked in previous posts but the suggested solutions did not work.

I have an OID that returns a negative string value:
[root@cacti ~]# snmpwalk -v 2c -c public 172.26.26.4 .1.3.6.1.4.1.629.204.1.3.1.1.40.101001
SNMPv2-SMI::enterprises.629.204.1.3.1.1.40.101001 = STRING: "-22.006594"

I'm using the Generic OID Template with 'Use --alt-autoscale' and I have set the lower limit to -100.

I've completely deleted the RRD file each time I've made a change and the graph refuses to generate. What am I doing wrong?

Thanks!!
jd6strings
Posts: 2
Joined: Thu Jun 04, 2015 8:42 am

Re: Graphing negative string value

Post by jd6strings »

OK...

I turned on debugging in the log and nothing pops out. I see this:

CMDPHP: Poller[0] Host[53] DS[147] SNMP: v1: 172.26.26.4, dsname: snmp_oid, oid: .1.3.6.1.4.1.629.204.1.3.1.1.40.101001, output: -21.938200

rrdtool info command yields the following:
rrd_version = "0003"
step = 300
last_update = 1433542804
ds[snmp_oid].type = "GAUGE"
ds[snmp_oid].minimal_heartbeat = 600
ds[snmp_oid].min = -1.0000000000e+02
ds[snmp_oid].max = 1.0000000000e+02
ds[snmp_oid].last_ds = "-21.938200"
ds[snmp_oid].value = -8.7752800000e+01
ds[snmp_oid].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].cur_row = 403
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].cur_row = 161
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = -6.5814600000e+01
rra[1].cdp_prep[0].unknown_datapoints = 1
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].cur_row = 604
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = -6.5814600000e+01
rra[2].cdp_prep[0].unknown_datapoints = 1
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].cur_row = 638
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = -1.3162920000e+02
rra[3].cdp_prep[0].unknown_datapoints = 262
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].cur_row = 107
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].cur_row = 21
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = -2.1938200000e+01
rra[5].cdp_prep[0].unknown_datapoints = 1
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].cur_row = 243
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = -2.1938200000e+01
rra[6].cdp_prep[0].unknown_datapoints = 1
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].cur_row = 649
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = -2.1938200000e+01
rra[7].cdp_prep[0].unknown_datapoints = 262

I've set the min to -100 and max to 100 in the SNMP - Generic OID data template and I still have no graph.

Can anyone see what might be causing me grief? THANKS IN ADVANCE!!!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests