problems: agentSecName, llinkUpDownNotification, defaultMonitors

"Ilia K." <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi, Net-SNMP gurus!

First of all, I did read the documentation (online), did searched the
mail-list archive and even tried to digg into the code. The same
problem seems to affect other people too, but I haven't found a
solution yet.

I have Net-SNMP v. 5.3.1 installed on RedHat server. The
/etc/snmp/snmpd.conf file looks like:

trapcommunity  public
trap2sink 172.16.208.1
agentSecName meme
rwuser meme
defaultMonitors yes

I have  also run net-snmp-config to create a user:
# /tmp/net-snmp-config-i386 --create-snmpv3-user
Enter a SNMPv3 user name to create:
meme
Enter authentication pass-phrase:
1234567890
Enter encryption pass-phrase:
  [press return to reuse the authentication pass-phrase]

adding the following line to /var/net-snmp/snmpd.conf:
   createUser meme MD5 "1234567890" DES
adding the following line to /etc/snmp/snmpd.conf:
   rwuser meme

For me it looks like I did all OK, but when snmpd starts with command:
# /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd -a

I get the following message in a system log:
     /etc/snmp/snmpd.conf: line 104: Error: You must specify a default
user name using the agentSecName token

The same happens, if I change "agentSecName" to "iquerySecName", or if
I use "linkUpDownNotification yes" directive, or when using the user
which wasn't created with net-snmp-config.

What am I doing wrong? And what is the "right way"? Can I use
linkUpDownNotifications with SNMPv2 only (not v3)? Anybody has working
config to test?

I will appreciate your help.
Ilia.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.