Thank you very much! I've just followed snmp_subagent README, and I've not review the whole snmpd.conf file.
Now I can ask my nodes status :-) # snmpwalk -v2c localhost -c public LHANodeStatus.2 LINUX-HA-MIB::LHANodeStatus.2 = INTEGER: active(3) Thanks a lot! But, I still have a problem :-\ I can't ask resources status in LHAResourceGroupTable (LinuxHA.4)... # snmpwalk -v2c localhost -c public LinuxHA.4 LINUX-HA-MIB::LHAResourceGroupTable = No Such Object available on this agent at this OID It seems hbagent can't access to this information... Any idea why? Anne -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Michael Schwartzkopff Envoyé : mardi 8 juillet 2008 12:44 À : General Linux-HA mailing list Objet : Re: [Linux-HA] Problem to start hbagent Am Dienstag, 8. Juli 2008 12:35 schrieb Lienard Anne (SII): > Here is my snmpd.conf without # lines : > > # cat /etc/snmp/snmpd.conf |grep -v ^# |grep -v ^$ > com2sec notConfigUser default public > group notConfigGroup v1 notConfigUser > group notConfigGroup v2c notConfigUser > view systemview included .1.3.6.1.2.1.1 > view systemview included .1.3.6.1.2.1.25.1.1 > access notConfigGroup "" any noauth exact systemview none > none syslocation Unknown (edit /etc/snmp/snmpd.conf) > syscontact Root <[EMAIL PROTECTED]> (configure /etc/snmp/snmp.local.conf) > pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat > rwcommunity public > master agentx > trap2sink localhost > Well, if you do not let your client look into the etnerprises MIB it really cannot! Please consider: com2sec readonly 1.2.3.4/24 linuxha group MyROGroup v1 readonly view all included .1 80 access MyROGroup "" any noauth exact all none none Please feel free to use an other community string, SNMP version or view. But beware the .enterprises.linux-ha (1.3.6.1.4.1.4682) is included into the view! Greetings, -- 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 _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
