RE: 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]>
-----Original Message-----
From: Bart Van Assche <[email protected]> 
Sent: Thursday, May 7, 2020 6:45 AM

> Is it really necessary to check whether the AgentX connection is still operational? Isn't there a mechanism in Net-SNMP that automatically restores that connection if necessary?

Thank you for your interest in the topic :)
Yes, it is necessary for me, because sometimes snmpd may crash or hang up and be unresponsive. It should not happen, but every software may have some hidden bugs, and it happened to me in the past. In that case it may be needed to restart snmpd daemon. Also i need to report every possible susspension and log it.
There may be also many different lower level problems which Net-SNMP mechanism can't repair.

So, I really would like to focus on possible solutions how to check connection (for example how to properly send only one ping). 
Does anyone know how to do it?  

Best regards,
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.