Mauro Tridici <mauro.trid...@cmcc.it> writes: > 2) Following the official instructions, in order to monitor the Application2, > I have to add > these lines in the same /etc/snmp/snmpd.conf file: > ... > trap2sink localhost ... > In this case, Application2 status can't be monitored using snmpwalk because, > by default, > Application2 sends traps to the trap manager only when a fail or event > occurs.
agentx clients should send traps through the agentx protocol, and shouldn't define their own trap sinks by default. But, you shouldn't be using the same configuration file for both the master agent and the client. You should put your subagent configuration inside the "NAME.conf" file instead, where NAME is the string you pass to snmp_init() in your code. -- Wes Hardaker USC/ISI _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users