search for: apcc_oid_power_status

Displaying 2 results from an estimated 2 matches for "apcc_oid_power_status".

2008 May 20
1
UPS gracefull restart
...restarts and turn off. Using apcsmart driver everything goes well. I'm unable to find the bug in the code - if there is one certainly... ;-) Can you point me out what to do to make the PC to shutdown when I set up that the UPS should gracefully restart? (for example). I found this: #define APCC_OID_POWER_STATUS ".1.3.6.1.4.1.318.1.1.1.4.1.1.0" /* Defines for APCC_OID_POWER_STATUS */ info_lkp_t apcc_pwr_info[] = { { 1, "" }, /* unknown */ { 2, "OL" }, /* onLine */ { 3, "OB" }, /* onBattery */ { 4,...
2006 Jan 21
2
snmp-ups hacking
Hi all! I'm wondering if there's anyone doing any hacking on the snmp-ups driver at the moment. I've started looking at implementing 3phase-support, and this uncovered some rather unpleasant stuff in the snmp-ups driver that I really need to fix in order to get things sane. Those of you that's allergic to SNMP might want to stop reading now, this is rather icky ;)