View previous topic :: View next topic |
Author |
Message |
Michael Siepen
Joined: 14 Sep 2009 Posts: 13 Location: Germany
|
Posted: Fri Jan 07, 2011 2:24 am Post subject: Reading temperature from APC AP9631 via snmp |
|
|
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 |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Fri Jan 07, 2011 10:43 am Post subject: Reading temperature from APC AP9631 via snmp |
|
|
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/include/techspec_index.cfm?base_sku=AP9631&tab=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 |
|
Back to top |
|
|
Michael Siepen
Joined: 14 Sep 2009 Posts: 13 Location: Germany
|
Posted: Mon Jan 10, 2011 1:37 am Post subject: |
|
|
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). |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Mon Jan 10, 2011 8:38 am Post subject: |
|
|
Did you try to use GET NEXT function of MIB BROWSER to receive valid OIDs ? |
|
Back to top |
|
|
Michael Siepen
Joined: 14 Sep 2009 Posts: 13 Location: Germany
|
Posted: Mon Jan 10, 2011 8:43 am Post subject: |
|
|
Yes we did, it adds that index to our OID and returns the same value as shown on the webinterface of the management card. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Jan 10, 2011 12:14 pm Post subject: |
|
|
Can we get access to your device?
Regards
Alex |
|
Back to top |
|
|
Michael Siepen
Joined: 14 Sep 2009 Posts: 13 Location: Germany
|
Posted: Tue Jan 11, 2011 3:29 am Post subject: |
|
|
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. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Jan 11, 2011 12:02 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
|