Hello all,

why did the included patch fail the requirements for inclusion into
heartbeat?

The message below is about 4 months old.

Thanks,

        Peter

Peter Kruse wrote:
Hi!

Alan Robertson wrote:

Could you make a patch-format file for this, and send it to the list as
an ASCII attachment?


attached.
BTW, the error message you get when you try to stonith with the wrong
apcmastersnmp.so is somewhat misleading:

# stonith -t apcmastersnmp -p "apc-1 161 write-community" outlet1
stonith: Invalid config info for apcmastersnmp device
stonith: Config info syntax: hostname/ip-address port community
The hostname/IP-address, SNMP port and community string are white-space delimited.

    Peter



------------------------------------------------------------------------

--- apcmastersnmp.c.orig        2007-04-04 09:03:58.000000000 +0200
+++ apcmastersnmp.c     2007-04-04 09:05:24.000000000 +0200
@@ -137,12 +137,12 @@
 #define OUTLET_NO_CMD_PEND             2
/* oids */
-#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"
+#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"
/* own defines */
 #define MAX_STRING             128


------------------------------------------------------------------------

_______________________________________________________
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/
_______________________________________________________
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/

Reply via email to