Reading temperature from APC AP9631 via snmp

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Michael Siepen
Posts: 13
Joined: Mon Sep 14, 2009 1:28 am
Location: Germany

Reading temperature from APC AP9631 via snmp

Post by Michael Siepen »

Hi,

we're trying to get temperatures from an AP9631 card connected to a smart-ups. We tried various OIDs but get always a no such name error. In the integrated mib browser it shows the right OID and snmp get gets the right values for that OID, but when we try to use it in a test we get the error. Other tests like runtime, load or capacity work fine.

We tried .1.3.6.1.4.1.318.1.1.25.1.2.1.6.1.1 and .1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Reading temperature from APC AP9631 via snmp

Post by KS-Soft Europe »

I assume, you are using wrong OID`s.
MIB Browser uses Windows API which does not work correctly in some cases.
MIB Browser may return not requested but nearest valid counter.
While HostMonitor will check for specific counter only.
Please use GET NEXT function of MIB BROWSER to receive valid OIDs and then use these OIDs for SNMP Get test.

We have checked "PowerNet MIB v4.0.1" for AP9631 at:
http://www.apc.com/products/resource/in ... b=Software

Looks like your OID`s should be:
1.3.6.1.4.1.318.1.1.25.1.2.1.6.index
and
1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.index
where index is index of the probe
Michael Siepen
Posts: 13
Joined: Mon Sep 14, 2009 1:28 am
Location: Germany

Post by Michael Siepen »

Hi,

your OIDs are the same as the ones we used. Index for the first OID is .1.1 (1st port, 1st value [there's an optional probe for temperature and humidity) and for the 2nd OID it's just .1 (first port).
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Did you try to use GET NEXT function of MIB BROWSER to receive valid OIDs ?
Michael Siepen
Posts: 13
Joined: Mon Sep 14, 2009 1:28 am
Location: Germany

Post by Michael Siepen »

Yes we did, it adds that index to our OID and returns the same value as shown on the webinterface of the management card.
KS-Soft
Posts: 12887
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Can we get access to your device?

Regards
Alex
Michael Siepen
Posts: 13
Joined: Mon Sep 14, 2009 1:28 am
Location: Germany

Post by Michael Siepen »

Sorry that isn't possible. At the moment we're using a little shell script to pull temperature readings via snmpget an pass them to HM.
KS-Soft
Posts: 12887
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Then could you send some MIB Browser screen shots to us (support@ks-soft.net)?
Or better use sniffer (network packet analyzer) to check what UDP packets received by MIB Browser and HostMonitor...

Regards
Alex
Post Reply