Hello,
I've tried to modify linux-ha hbagent.c to disable v2 functions access. But I still can't access to the MIB by snmpwalk... I think I have only two issues: - upgrade to linux-ha v2 style - or used heartbeat old linux-ha version Did someone test the patch described here (http://lists.community.tummy.com/pipermail/linux-ha-dev/2006-July/013261.html): it enables snmp_subagent to work without CRM, ... but it can only be applied on 2.0.6 version... Thank you for your responses ... or any other suggestions. Anne -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Lienard Anne (SII) Envoyé : vendredi 4 juillet 2008 08:51 À : General Linux-HA mailing list Objet : RE: [Linux-HA] Problem to start hbagent It is exactly my problem... I would like to know if there is a way to compile snmp-subagent to allow hbagent to connect to heartbeat v1 (when option crm is set to off). I tried the option --enable-crm=no, but I have errors when hbagent is compiled in that way. There is however two programs hbagent.c and hbagentv2.c in source package... Maybe I should ask in linux-ha-dev mailing list? Anne -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Ryan Thomson Envoyé : jeudi 3 juillet 2008 23:08 À : General Linux-HA mailing list Objet : Re: [Linux-HA] Problem to start hbagent Michael Schwartzkopff wrote: > Lienard Anne (SII) schrieb: >> Sorry to keep you going on that subject... >> >> Is hbagent compatible with Linux-HA in v1-style? >> >> >> >> Thank you for your answer. >> Anne > > Hi, > > hbagent is a SUBagent, that connects to the local AgentX socket. All > SNMP communications (v1, v3) is done by the Master Agent, which is > net-snmp. So your question should be: > > Is net-snmp v1 capable? > > To answer is: YES! > > Michael. I believe Lienard was referring to Heartbeat v1, not SNMP v1. While I don't have the answer, his problem was that starting up hbagent in his v1-style cluster fails because it tries to connect to the CIB and since it's a v1 haresources cluster, it obviously can't connect to the non-existent CIB and dies instead. --Ryan _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems