Hildebrand, Nils, 232 schrieb:
> Hi,
> 
> can you give a short outline how to include the heartbeat-snmp-subagent into 
> the main agent?
> 
> Can v1-clusters be monitored using snmp, too?
> 
> Kind regards, Nils


Hi,

short answer:

everything about heartbeat integration in the net-snmp system and the
nagios monitoring system is described in:

http://www.oreilly.de/catalog/linuxhaclusterger/index.html

The other short answer:
Read the README file in the snmp_subagent directory of the source files.

Long version for those that are not able to read the README:
1) ./ConfigureMe config --enable-snmp-subagent
This part is done on the most distributions.

2) in snmpd.conf
# create a SNMPv1/SNMPv2 community
rwcommunity  public

# this makes the snmpd a master snmp agent, which can
# support AgentX subagents.
master yes

# this defines your localhost as the trapsink.  so traps
# or rather the SNMPv2 informs, will be sent to localhost.
trap2sink localhost


3) $ snmpwalk -v2c localhost -c public LinuxHA

Should work. Otherwise check version 1 of SNMP.
BEWARE: Debian starts the snmpd only on 127.0.0.1!

SNMP works very good in heartbeat, now.

Greetings,

Michael.
_______________________________________________
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