snmpwalk'ing APC Transfer Switch

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

Moderators: Developers, Moderators

Post Reply
m4rtin
Posts: 1
Joined: Wed Apr 07, 2010 3:26 am

snmpwalk'ing APC Transfer Switch

Post by m4rtin »

I have an APC AP7723 Transfer Switch. It is a great piece of hardware, which supports monitoring over SNMP as well. However, I'm not able find correct OID's to ask :roll:

I know, that it's possible to poll for example selected power source, redundancy state, output voltages, output current etc. However, I did a fallowing test:

Code: Select all

#ATS load is 0.8A
martin@home:~> snmpwalk -c public -v 2c 192.168.1.101 > /tmp/apc1
#I increased ATS load to 2.2A
martin@home:~> snmpwalk -c public -v 2c 192.168.1.101 > /tmp/apc2
#diff between /tmp/apc1 and /tmp/apc2 should show this increase from 0.8A to 2.2A
martin@home:~> diff -u /tmp/apc1 /tmp/apc2 | grep -E '^\-|^\+'
--- /tmp/apc1	2010-04-07 10:39:49.000000000 +0300
+++ /tmp/apc2	2010-04-07 10:41:59.000000000 +0300
-DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (5331955) 14:48:39.55
+DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (5344955) 14:50:49.55
-IF-MIB::ifInOctets.2 = Counter32: 1864540
+IF-MIB::ifInOctets.2 = Counter32: 1888174
-IF-MIB::ifInUcastPkts.2 = Counter32: 4925
+IF-MIB::ifInUcastPkts.2 = Counter32: 5176
-IF-MIB::ifInNUcastPkts.2 = Counter32: 11308
+IF-MIB::ifInNUcastPkts.2 = Counter32: 11314
-IF-MIB::ifOutOctets.2 = Counter32: 625738
+IF-MIB::ifOutOctets.2 = Counter32: 650566
-IF-MIB::ifOutUcastPkts.2 = Counter32: 4816
+IF-MIB::ifOutUcastPkts.2 = Counter32: 5067
-IP-MIB::ipInReceives.0 = Counter32: 16162
+IP-MIB::ipInReceives.0 = Counter32: 16419
-IP-MIB::ipInDelivers.0 = Counter32: 15511
-IP-MIB::ipOutRequests.0 = Counter32: 4943
+IP-MIB::ipInDelivers.0 = Counter32: 15768
+IP-MIB::ipOutRequests.0 = Counter32: 5194
-IP-MIB::icmpInMsgs.0 = Counter32: 207
+IP-MIB::icmpInMsgs.0 = Counter32: 210
-IP-MIB::icmpInEchos.0 = Counter32: 9
-IP-MIB::icmpInEchoReps.0 = Counter32: 197
+IP-MIB::icmpInEchos.0 = Counter32: 11
+IP-MIB::icmpInEchoReps.0 = Counter32: 198
-IP-MIB::icmpOutMsgs.0 = Counter32: 206
+IP-MIB::icmpOutMsgs.0 = Counter32: 209
-IP-MIB::icmpOutEchos.0 = Counter32: 197
-IP-MIB::icmpOutEchoReps.0 = Counter32: 9
+IP-MIB::icmpOutEchos.0 = Counter32: 198
+IP-MIB::icmpOutEchoReps.0 = Counter32: 11
-UDP-MIB::udpInDatagrams.0 = Counter32: 4547
-UDP-MIB::udpNoPorts.0 = Counter32: 10643
+UDP-MIB::udpInDatagrams.0 = Counter32: 4795
+UDP-MIB::udpNoPorts.0 = Counter32: 10649
-UDP-MIB::udpOutDatagrams.0 = Counter32: 4652
+UDP-MIB::udpOutDatagrams.0 = Counter32: 4900
-SNMPv2-MIB::snmpInPkts.0 = Counter32: 4562
-SNMPv2-MIB::snmpOutPkts.0 = Counter32: 4562
+SNMPv2-MIB::snmpInPkts.0 = Counter32: 4810
+SNMPv2-MIB::snmpOutPkts.0 = Counter32: 4810
-SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 4572
+SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 4820
-SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 4576
+SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 4824
-SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 4586
-SNMPv2-MIB::snmpOutTraps.0 = Counter32: 2682
+SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 4834
+SNMPv2-MIB::snmpOutTraps.0 = Counter32: 2688
martin@home:~>
As I understand, there are only network related differences present like counted packages of different protocols(ICMP, SNMP, etc). Any ideas how to poll more data(like output voltages and output current) from this APC Transfer Switch over SNMP using snmpwalk? :roll:
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

Maybe you can give a try to the user-generated apc templates:

http://forums.cacti.net/about7612.html

In the thread is also a discussion about OIDs.
zache
Posts: 1
Joined: Wed Mar 21, 2012 5:38 am

Re: snmpwalk'ing APC Transfer Switch

Post by zache »

This is little bit late, but because i searched answer for the same problem here is my solution for it.

You can browse the device's power information with snmpwalk by defining the starting node:

# snmpwalk -c public -v 1 192.168.0.4 1.3.6.1.4.1.318

And in the Zabbix there is working config for APC AP7722 and those OID:s will work with the 7723 also.
- http://www.zabbix.com/wiki/templates/apc_powerfeed.xml
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests