Hi Cacti users
I have a question regarding fetching temperature from a probe connected to a AP9631 APC NIC in a UPS.
I found the correct OID and I am able to get the correct value using snmpwalk on the machine.
snmpwalk <ip> -v1 -c public .1.3.6.1.4.1.318.1.1.25.1.2.1.6
SNMPv2-SMI::enterprises.318.1.1.25.1.2.1.6.1.1 = INTEGER: 16
When I take this OID and create a a custom graph in Cacti for some reason it shows 0 all the time instead of 16.
Anybody know why this could be?
Data debug log:
Data Source Debug
/usr/bin/rrdtool create \
/usr/share/cacti/rra/ups_snmp_oid_523.rrd \
--step 300 \
DS:snmp_oid:GAUGE:600:0:80 \
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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN: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 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
Thanks,
Jakob
[SOLVED] Temperature for AP9631
Moderators: Developers, Moderators
[SOLVED] Temperature for AP9631
Last edited by axcx on Thu Dec 22, 2011 4:59 am, edited 1 time in total.
Re: Temperature for AP9631
Did you specify ".1.3.6.1.4.1.318.1.1.25.1.2.1.6.1.1" for OID in data template?
Re: Temperature for AP9631
Thaks a lot as always!
I think it time to learn a bit more about MIB's and OID's... I have no idea why you need those extra 1.1 ? it worked with snmpwalk without?
Thanks,
Jakob
I think it time to learn a bit more about MIB's and OID's... I have no idea why you need those extra 1.1 ? it worked with snmpwalk without?
Thanks,
Jakob
Re: Temperature for AP9631
>> I have no idea why you need those extra 1.1 ? it worked with snmpwalk without?
(I guess) because Cacti uses snmpget for single OID.
(I guess) because Cacti uses snmpget for single OID.
Re: [SOLVED] Temperature for AP9631
Thank you! this was helpful.
_________________
Lee
"knowledge breeds confidence, confidence breeds success"
Lee
"knowledge breeds confidence, confidence breeds success"
Who is online
Users browsing this forum: No registered users and 0 guests