Am Dienstag, 8. Juli 2008 11:43 schrieb Lienard Anne (SII):
> I installed the 2.0.6 version with the patch to enables snmp_subagent to
> work without CRM. I've no more problems to start hbagent, now :-).
>
> But after configuring snmpd: I get the following error when I start
> snmpwalk:
>
>
>
> rot# snmpwalk -v2c localhost -c public LinuxHA
>
> LINUX-HA-MIB::LinuxHA = No more variables left in this MIB View (It is past
> the end of the MIB tree)
>
>
>
> Do you know what this error means?
>
>
>
> Maybe somethink wrong in snmpd configuration?
>
>
>
> I added these lines in snmpd.conf:
>
>
>
> # create a SNMPv1/SNMPv2 community
>
> rwcommunity  public
>
>
>
> # this makes the snmpd a master snmp agent, which can
>
> # support AgentX subagents.
>
> master agentx
>
>
>
> # this defines your localhost as the trapsink.  so traps
>
> # or rather the SNMPv2 informs, will be sent to localhost.
>
> trap2sink localhost
>
>
>
> I restarted snmpd service and I can see agentx with netstat command:
>
>
>
> netstat -nlp --protocol unix
>
> Active UNIX domain sockets (only servers)
>
> Proto RefCnt Flags       Type       State         I-Node PID/Program name  
>  Path
>
> unix  2      [ ACC ]     STREAM     LISTENING     11835  3730/xfs          
>  /tmp/.font-unix/fs7100
>
> unix  2      [ ACC ]     STREAM     LISTENING     11711  3592/snmpd        
>  /var/agentx/master
>
> unix  2      [ ACC ]     STREAM     LISTENING     11259  3437/ha_logd: read
>  /var/lib/log_daemon
>
> unix  2      [ ACC ]     STREAM     LISTENING     11940  3777/hald         
>  @/var/run/hald/dbus-Dx0GpDNJFp
>
> unix  2      [ ACC ]     STREAM     LISTENING     11080  3224/python       
>  /var/run/audit_events
>
> unix  2      [ ACC ]     STREAM     LISTENING     11093  3367/dbus-daemon  
>  /var/run/dbus/system_bus_socket
>
> unix  2      [ ACC ]     STREAM     LISTENING     11202  3418/acpid        
>  /var/run/acpid.socket
>
> unix  2      [ ACC ]     STREAM     LISTENING     11624  3568/heartbeat:
> mas /var/run/heartbeat/register
>
> unix  2      [ ACC ]     STREAM     LISTENING     11939  3777/hald         
>  @/var/run/hald/dbus-KKdKRqghSy
>
> unix  2      [ ACC ]     STREAM     LISTENING     11742  3677/gpm          
>  /dev/gpmctl
>
>
>
>
>
> Thank you,
>
> Anne

It seems that the hbagent is still not running, so the master agent does not 
know anything about the state of the cluster. Did you check if hbagent is 
running (ps uax | grep hbagent)?

You have to start hbagent AFTER snmpd.

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

Reply via email to