Re: snmptrapd.conf: Error: bad security level (noauthnopriv, authnopriv, authpriv)
PoWah Wong <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
--- On Wed, 6/24/09, Dave Shield <[email protected]> wrote: > From: Dave Shield <[email protected]> > Subject: Re: snmptrapd.conf: Error: bad security level (noauthnopriv, authnopriv, authpriv) > To: "PoWah Wong" <[email protected]> > Cc: "net-snmp-users" <[email protected]> > Received: Wednesday, June 24, 2009, 9:54 AM > 2009/6/23 PoWah Wong <[email protected]>: > > Adding "-d" see a raw packet dump. > > OK - so the trap receiver *is* seeing the trap. > > > Why without it nothing appear after the "NET-SNMP > version 5.4.1" line? > > I don't know - that's what we're trying to find out. > > > > authuser log,execute admin /home/powah/snmp/trapstouch > test > > No - that won't work. > Check the syntax of the "authuser" directive: > > authUser > TYPES > (log,execute) > [-s MODEL] > USER > (admin) > LEVEL > (/home/powah/snmp/trapstouch) > > > > /home/powah/snmp/snmptrapd.conf: line 4: Error: bad > security level (noauthnopriv, authnopriv, authpriv) > > /home/powah/snmp/snmptrapd.conf: line 4: Error: bad > security level (noauthnopriv, authnopriv, authpriv) > > As the error says, it's expecting a security level (noauth, > etc), > rather than the name of a script. > > > > Let's check that whether it's an issue with access control > or not. > What happens if you replace the "authUser" line with an > entry > > disableAuthorization yes > > and restart the trap receiver (without the '-d' flag) > Do you see traps logged or not? > > Dave > My trap config file, restart the trap receiver but do not see traps logged: createUser admin MD5 12345678 DES 87654321 createUser adminwindows MD5 12345678 DES 87654321 #authuser log,execute admin authpriv /home/tcma/snmp/trapstouch test #authuser log admin disableAuthorization yes logOption s u __________________________________________________________________ Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com ------------------------------------------------------------------------------ _______________________________________________ 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