Hello, with the v3 firmware of APCs PDUs (models AP7920 and AP7921 at least) the apcmastersnmp.so plugin to stonith does not work anymore. in apcmastersnmp.c there is:
#define OID_IDENT ".1.3.6.1.4.1.318.1.1.4.1.4.0" #define OID_NUM_OUTLETS ".1.3.6.1.4.1.318.1.1.4.4.1.0" #define OID_OUTLET_NAMES ".1.3.6.1.4.1.318.1.1.4.5.2.1.3.%i" #define OID_OUTLET_STATE ".1.3.6.1.4.1.318.1.1.4.4.2.1.3.%i" #define OID_OUTLET_COMMAND_PENDING ".1.3.6.1.4.1.318.1.1.4.4.2.1.2.%i" #define OID_OUTLET_REBOOT_DURATION ".1.3.6.1.4.1.318.1.1.4.5.2.1.5.%i" which should be replaced by: #define OID_IDENT ".1.3.6.1.4.1.318.1.1.12.1.5.0" #define OID_NUM_OUTLETS ".1.3.6.1.4.1.318.1.1.12.1.8.0" #define OID_OUTLET_NAMES ".1.3.6.1.4.1.318.1.1.12.3.4.1.1.2.%i" #define OID_OUTLET_STATE ".1.3.6.1.4.1.318.1.1.12.3.3.1.1.4.%i" #define OID_OUTLET_COMMAND_PENDING ".1.3.6.1.4.1.318.1.1.12.3.5.1.1.5.%i" #define OID_OUTLET_REBOOT_DURATION ".1.3.6.1.4.1.318.1.1.12.3.4.1.1.6.%i" My tests have shown that these OIDs are also backward compatible with v2 firmware (aos 2.7.1./rpdu 2.7.4.) Regards, Peter _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/