On Tue, 2009-07-07 at 17:43 +0900, Junko IKEDA wrote: > On Tue, 07 Jul 2009 17:23:41 +0900, Michael Schwartzkopff <[email protected]> > wrote: > > > Am Dienstag, 7. Juli 2009 10:10:09 schrieb Junko IKEDA: > >> Hi, > >> > >> > On Mon, 2009-07-06 at 16:14 +0200, Michael Schwartzkopff wrote: > >> >> Am Montag, 6. Juli 2009 16:06:55 schrieb Michael Schwartzkopff: > >> >> > Hi, > >> >> > > >> >> > anybody gained already some experience using the heartbeat snmp > >> >> > subagent in an openais enviroment? any problems? > >> >> > > >> >> > Thanks, > >> >> > >> >> Ok. Found the answer myself: > >> >> # /usr/lib/heartbeat/hbagent -d > >> > > >> > Before start it: > >> > # export HA_cluster_type="openais" > >> > >> I am trying this, > >> and SNMP manager can get some information from hbagent successfully. > >> By the way, it seems that hbagent doesn't use "LINUX-HA-MIB.mib". > >> Is pacemaker-mgmt's hbagent different from heartbeat's one? > >> > >> > >> Thanks, > >> Junko > > > > hi, > > > > Just checked it. You only get the LHAResourceTable. At least in my 1-node > > testcluster I do not get any other information. > > > > Greetings, > > I tried to renamed LINUX-HA-MIB.mib to LINUX-HA-MIB.txt, > but I got the same result... > There were no message related to LINUX-HA-MIB. > I think pacemaker-mgmt's hbagent has almost the same function as heartbeat's. The MIBs are exactly same. The hbagent from pacemaker-mgmt has no difference when working with heartbeat based cluster stack. Besides that,it's able to work with openAIS based cluster, though there's two limits: 1. We have to manually start it 2. There's only LHARsourceTable, as Michael mentioned. Because the other information were previously got from heartbeat daemon, and they're only available for heartbeat based cluster.
-- Regards, Yan Gao China R&D Software Engineer [email protected] Novell, Inc. Making IT Work As One?6?4 _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
