How to to check if an agentx is connected to master?
Łukasz Bolda <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, What is the best way to check (during runtime) if an agentx is connected to master? Right now i was trying to call this: if( agentx_send_ping(main_session) ) std::cout<<"AgentX is connected to master"<<std::endl; but then (when everything is fine, and don't need reconnection) every second net-snmp produces log: AgentX session to master agent attempted to be re-opened I am using the 5.8 version from github downloaded May 4, 2020. Thanks, Lukasz Bolda _______________________________________________ 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