[Linux-HA] Problem to start hbagent

Lienard Anne (SII) Anne.Lienard at thomson.net
Tue Jul 8 07:28:48 MDT 2008


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 : linux-ha-bounces at lists.linux-ha.org [mailto:linux-ha-bounces at lists.linux-ha.org] 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 <root at localhost> (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: misch at multinet.de
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
Linux-HA at lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


More information about the Linux-HA mailing list