Hi Michael,

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

Jaja - hab' ich schon bestellt. ;-)

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

I am using the bin-rpms from SLES 10 SP2...

Which heartbeat-rpm should contain the snmp-stuff?


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

How can I check wether HB has been compiled that way?

Why is there no man-page about this topic?

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

Why rw? ro should be enough...
You can do some nasty things with snmp-write-commands...

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

> master yes

According to "man snmpd.conf" it should be "master agentx"?

How can I determine wether this works?

> [...]

> 3) $ snmpwalk -v2c localhost -c public LinuxHA

LinuxHA: Unknown Object Identifier (Sub-id not found: iso -> LinuxHA)

I guess I have to put the mib for Heartbeat somewhere the snmp-client
can find it.
 
> Should work. Otherwise check version 1 of SNMP.

Version 2c should work - I see the other mibs there.

> BEWARE: Debian starts the snmpd only on 127.0.0.1!

BTW: Does the AgentX open a security-hole? How can I restrict
registering to the local host?

> SNMP works very good in heartbeat, now.


 
> Greetings,
> 
> Michael.

Kind regards,

Nils
_______________________________________________
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