Donald Tse wrote:

>I am trying the net-snmp agent to generate traps to my SNMP Manager, I
>only wanna capture the information of the LinkStatus , so I put 
>"LinkUpDownNotificaition" in /usr/share/local/snmp/snmpd.conf
>

What about the 'iquerySecName' (or 'agentSecName') entry?
Did you include that line, and ensure this username has suitable
access to query the agent?

 From the snmpd.conf man page:

       In both these latter cases [linkUpDownNotifications and 
defaultMonitors],
       the snmpd.conf must also contain a iquerySecName directive, 
together with
       a  corresponding  createUser entry and suitable access control 
configuration.


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

Reply via email to