Re: [Linux-HA] Snmp monitoring of HA

2009-04-24 Thread Dejan Muhamedagic
Hi, On Fri, Apr 24, 2009 at 10:11:19AM +0200, elziege7 wrote: > > ipfail works only with v1. For v2 use pingd. > > > > Due to a bug, the IPaddr resource is not converted properly > > (parameters are mixed). You'll have to edit the CIB and fix them. > > Use cibadmin. > > Thanks for your help Dejan

Re: [Linux-HA] Snmp monitoring of HA

2009-04-24 Thread elziege7
> ipfail works only with v1. For v2 use pingd. > > Due to a bug, the IPaddr resource is not converted properly > (parameters are mixed). You'll have to edit the CIB and fix them. > Use cibadmin. Thanks for your help Dejan! I have changed the ha.cf (pingd instead of ipfail) and corrected the IP Ad

Re: [Linux-HA] Snmp monitoring of HA

2009-04-23 Thread Dejan Muhamedagic
Hi, On Thu, Apr 23, 2009 at 01:31:08PM +0200, elziege7 wrote: > > What version of heartbeat? Still 2.1.3? > > OK I did the upgrade to 2.1.4, but it is still not working with the > CRM configuration. > > My ha.cf: > > debugfile /var/log/ha-debug > logfile /var/log/ha-log > logfacility syslog

Re: [Linux-HA] Snmp monitoring of HA

2009-04-23 Thread elziege7
> What version of heartbeat? Still 2.1.3? OK I did the upgrade to 2.1.4, but it is still not working with the CRM configuration. My ha.cf: debugfile /var/log/ha-debug logfile /var/log/ha-log logfacility syslog keepalive 1 deadtime 5 warntime 2 initdead 60 udpport 694 ucast eth0 xx.xx.169.9 u

Re: [Linux-HA] Snmp monitoring of HA

2009-04-21 Thread Michael Schwartzkopff
Am Dienstag, 21. April 2009 15:41:57 schrieb elziege7: > > UPGRADE! At least to version 2.1.4. Many bugs were fixed. > > > > The SNMP subagent only works with CRM configurations according to version > > 2. As far as I know it will not work wirg configurations that still use > > haresources. > > As

Re: [Linux-HA] Snmp monitoring of HA

2009-04-21 Thread elziege7
> > UPGRADE! At least to version 2.1.4. Many bugs were fixed. > > The SNMP subagent only works with CRM configurations according to version 2. > As > far as I know it will not work wirg configurations that still use haresources. As I am using Debian I only want to use a different version if it's

Re: [Linux-HA] Snmp monitoring of HA

2009-04-20 Thread Michael Schwartzkopff
Am Montag, 20. April 2009 13:04:49 schrieb elziege7: > > OK. hbagent has a problem starting. Try starting it manually. not from > > ha.cf and without the -d. > > > > try the rest only if hbagent is running corectly. > > I removed the hbagent entry from ha.cf and restarted heartbeat. Then I > starte

Re: [Linux-HA] Snmp monitoring of HA

2009-04-20 Thread elziege7
> OK. hbagent has a problem starting. Try starting it manually. not from ha.cf > and without the -d. > > try the rest only if hbagent is running corectly. I removed the hbagent entry from ha.cf and restarted heartbeat. Then I started hbagent manually without -d and there was no error message. But

Re: [Linux-HA] Snmp monitoring of HA

2009-04-17 Thread Michael Schwartzkopff
Am Freitag, 17. April 2009 09:46:17 schrieb elziege7: > oc_ev_activate error What version of heartbeat do you use? cofiguration with haresources or with the CIB? -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11

Re: [Linux-HA] Snmp monitoring of HA

2009-04-17 Thread Michael Schwartzkopff
Am Freitag, 17. April 2009 09:46:17 schrieb elziege7: > Yes I did restart snmpd. > Output of netstat -na | grep agentx: > unix 2 [ ACC ] STREAM LISTENING 5018 > /var/agentx/master OK. > I added "respawn root /usr/lib/heartbeat/hbagent -d" to the ha.cf > If I start it manuall

Re: [Linux-HA] Snmp monitoring of HA

2009-04-17 Thread elziege7
Yes I did restart snmpd. Output of netstat -na | grep agentx: unix 2 [ ACC ] STREAM LISTENING 5018 /var/agentx/master I added "respawn root /usr/lib/heartbeat/hbagent -d" to the ha.cf If I start it manually I get the following output: lha-snmpagent[3825]: 2009/04/17_08:39:49

Re: [Linux-HA] Snmp monitoring of HA

2009-04-16 Thread Michael Schwartzkopff
Am Donnerstag, 16. April 2009 13:48:43 schrieb elziege7: > Hello! > > I have succesfully configured HA with DRBD on two servers (Debian Lenny). > Now I would like to monitor HA with snmp, but it is not working. > > I have followed the manual and changed the snmpd.conf according to the > manual (mas

[Linux-HA] Snmp monitoring of HA

2009-04-16 Thread elziege7
Hello! I have succesfully configured HA with DRBD on two servers (Debian Lenny). Now I would like to monitor HA with snmp, but it is not working. I have followed the manual and changed the snmpd.conf according to the manual (master agentx, trap2sink ). But the problem is that snmpwalk fails w