cdef fixed it - Interface Graph off by factor of ten

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

Moderators: Developers, Moderators

Post Reply
frizzlefry
Posts: 6
Joined: Sun Dec 21, 2008 9:57 pm

cdef fixed it - Interface Graph off by factor of ten

Post by frizzlefry »

it was cdef, just added 10 , *
Last edited by frizzlefry on Wed Feb 11, 2009 11:13 pm, edited 3 times in total.
frizzlefry
Posts: 6
Joined: Sun Dec 21, 2008 9:57 pm

Post by frizzlefry »

bump?
frizzlefry
Posts: 6
Joined: Sun Dec 21, 2008 9:57 pm

Post by frizzlefry »

perhaps there's a known solution? link? i tried searching and didn't find anything.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: cdef fixed it - Interface Graph off by factor of ten

Post by gandalf »

frizzlefry wrote:it was cdef, just added 10 , *
I thought it was fixed?
Reinhard
frizzlefry
Posts: 6
Joined: Sun Dec 21, 2008 9:57 pm

Post by frizzlefry »

by fixed i mean after adjusting cdef with 10* the graph properly displays 300Mbps instead of 30Mbps
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Ah, now I understand. What is your polling interval, then? Please post rrdtool info for that file as well
Reinhard
frizzlefry
Posts: 6
Joined: Sun Dec 21, 2008 9:57 pm

Post by frizzlefry »

$ rrdtool info rtp7-dcc1-nms-1_snmp_oid_47.rrd
filename = "rtp7-dcc1-nms-1_snmp_oid_47.rrd"
rrd_version = "0003"
step = 300
last_update = 1234777021
ds[snmp_oid].type = "COUNTER"
ds[snmp_oid].minimal_heartbeat = 600
ds[snmp_oid].min = 0.0000000000e+00
ds[snmp_oid].max = 1.0000000000e+09
ds[snmp_oid].last_ds = "212540762498"
ds[snmp_oid].value = 2.5139070586e+09
ds[snmp_oid].unknown_sec = 0
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 = 2.2364507239e+07
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 = 4.1621040879e+08
rra[2].cdp_prep[0].unknown_datapoints = 0
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 = 2.1875749037e+09
rra[3].cdp_prep[0].unknown_datapoints = 0
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 = 2.2364507239e+07
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 = 2.8192929437e+07
rra[6].cdp_prep[0].unknown_datapoints = 0
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 = 3.7022898012e+07
rra[7].cdp_prep[0].unknown_datapoints = 0



OID

Data Source Debug

/usr/bin/rrdtool create \
/var/www/localhost/htdocs/cacti/rra/rtp7-dcc1-nms-1_snmp_oid_47.rrd \
--step 300 \
DS:snmp_oid:COUNTER:600:0:10000000000 \
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:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

And the polling interval is 300 sec?
Reinhard
frizzlefry
Posts: 6
Joined: Sun Dec 21, 2008 9:57 pm

Post by frizzlefry »

yeah, polling interval is set to 5 minutes.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

And the vendor OID is known to report the value "as is", not a factor of ten (e.g. our enterasys switches report CPU values multiplied by ten)?
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest