[Nut-upsdev] snmp-ups shutdowns
clepple at gmail.com
Tue Feb 25 12:08:57 UTC 2014
On Feb 19, 2014, at 11:18 AM, Tim Rice wrote:
> On Wed, 19 Feb 2014, Jim Klimov wrote:
>> On 2014-02-19 03:04, Tim Rice wrote:
>>> Now here are the OIDs (pick one) to actually turn the UPS off
>>> after the shutdown delay.
>>> # reboot gracefully (APC) (stays off until utility power is restored)
>>> UPS_OID=".126.96.36.199.4.1.3188.8.131.52.184.108.40.206 integer 3"
This OID is curiously commented out in drivers/apc-mib.c, and has been since the beginning of our revision control history. I don't see why we couldn't add it back in as an instant command.
I wonder if there was some confusion with .220.127.116.11.4.1.318.104.22.168.22.214.171.124 (upsBasicControlConserveBattery), which is currently mapped to "shutdown.return"
>>> # turn off UP gracefully (APC) (stays off even if power is restored)
>>> #UPS_OID=".126.96.36.199.4.1.3188.8.131.52.184.108.40.206 integer 3"
This should map to the "shutdown.stayoff" instant command.
clepple at gmail
More information about the Nut-upsdev