Re: snmptrapd.conf: Error: bad security level (noauthnopriv, authnopriv, authpriv)
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ _______________________________________________ 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