Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-07-2008, 06:06 AM   #1
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
snmptrap return error: No community name

I have two RHEL AS4 Update4 + LifeKeeper to implement HA.
And two RHEL4 are vmware OS.

I followed the following site to enable lifekeeper snmptrap.

I edit the /etc/snmp/snmpd.conf as follows:

com2sec local public
group localgroup v2c local
view view_all included .1
access localgroup "" any noauth exact view_all none none

I tried to add the "defCommunity private" and restart snmpd service but /var/log/messages shows that unknow token DefCommunity then I think
net-snmp 5.1.2 on my RHEL4 box does not support defCommunity directive.
Accoding the page above, I think snmp for lifekeeper envent should be
sent with public community name. I enabled lifekeeper snmp as follows.

# lk_configsnmp ==> SNMP manager IP with RHEL4 installed on my lab.

Then, I manually failover the lifekeeper HA resource and use lk_log to see
lifekeeper SNMP log. Then, I found the following error.

*** Error: snmptrap returned for Trap 120: No community name specified"

About the snmptrap code for lifekeeper, pls refer the following page.

I tried to use snmptrap to send the trap to my snmp manager. It works fine.

# snmptrap -v2c -c public uptime .

I ran snmptrapd -f -Le on and recieved the following snmptrap after running the command above.

SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprise.7359.1.0.120

Any idea about the snmp no community name specified problem?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Snmptrap Receipient talat Linux - Software 5 01-13-2009 10:08 AM
snmp.conf and snmptrap in Suse 10.1 newbie_adm Linux - Networking 0 07-11-2007 03:03 AM
Trouble getting snmptrap to work Ratclaws Linux - Software 0 05-15-2006 04:02 PM
snmptrap ? blackzone Linux - Networking 0 10-05-2004 03:01 AM
snmptrap utility pieza Linux - Networking 1 11-23-2003 02:16 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration