[Nut-upsdev] snmp-ups shutdowns
Tim Rice
tim at multitalents.net
Sat Mar 1 00:45:09 UTC 2014
On Thu, 27 Feb 2014, Charles Lepple wrote:
| On Feb 27, 2014, at 9:43 AM, Jim Klimov wrote:
|
| >>>>> # turn off UP gracefully (APC) (stays off even if power is restored)
| >>>>> #UPS_OID=".1.3.6.1.4.1.318.1.1.1.6.2.1.0 integer 3"
| >>
| >> This should map to the "shutdown.stayoff" instant command.
| >
| > And this means that the current code in the repository would not work
| > as expected, without fixing the above discrepancies first? Right?
|
| I wasn't very clear there: .1.3.6.1.4.1.318.1.1.1.6.2.1.0 *does* currently map to "shutdown.stayoff".
|
| (We should probably fix the other OID to map to "shutdown.return", if that is indeed what it does.)
I you are refering to
# reboot gracefully (APC) (stays off until utility power is restored)
MT_UPS_OID=".1.3.6.1.4.1.318.1.1.1.6.2.2.0 integer 3"
I have tested it and id does what it says.
Latest (i think) APC mib here.
ftp://ftp.apc.com/apc/public/software/pnetmib/mib/409/powernet409.mib
--
Tim Rice Multitalents (707) 456-1146
tim at multitalents.net
More information about the Nut-upsdev
mailing list