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 (master agentx, trap2sink ....).
Did you restart the snmpd? What does
netstat -na | grep agentx
tell you?  Is agentx really listening?

> But the problem is that snmpwalk fails with the follwing error message:
>
> LinuxHA: Unknown Object Identifier (b-id not found: (top) -> LinuxHA)
Did you start the Linux-HA SNMP subagent? Something like 
/usr/lib/heartbeat/hbagent -d
Or did you respawn it through the ha.cf? What is the output of ps uax | grep 
hbagent?

> The MIB ist in the directory /usr/share/snmp/mibs and hbagent is in the
> directory /usr/lib/heartbeat as it should be.
Does snmp really work? Is the output of
snmpwalk -v1 -c<community> <hostname> system
resonable? Now you can check the subagent:
snmpwalk -v1 -c<community> <hostname> enterprises.4682
Does it answer somehow?
Now you add the MIB to your request:
snmpwalk -v1 -c<community> -mLINUX-HA-MIB <host> enterprises.4682

Now go on and read about SNMP how to make the MIB persistant. 

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [email protected]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to