Hello Wes, many thanks for your support. I’m sorry, but I think I didn’t understand how to proceed.
Could you please send me a configuration example with a master agent and 2 subagents? Since both the applications are proprietary, how can I detect the NAME string? Please, forgive my stupid questions, but I’m not an expert. Thank you in advance, Mauro > On 26 May 2021, at 01:05, Wes Hardaker <harda...@users.sourceforge.net> wrote: > > 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