Hi,
 
The problem:
-------------------
My subagents crash if they don't return an answer (to SNMPGET) after
less then 8 seconds.
It seems that the master agent closes the agentx connection, and the
sub-agent gets BROKEN PIPE signal.
 
Solution:
------------
I thought that my sub-agents could catch the SIGPIPE signal,
and they re-establish the connection with the master agent.
 
The question:
--------------------
1) Do I have to run init_agent(_name) again in the subagent?
2) Do I have to run init_snmp(_name) again in the subagent?
3) I guess that the master agent deletes all of the sub-agents
registration info,
    So the sub-agent must register again all it's MIBs, right?
4) I guess that after all that I just have to go back to
   a loop on agent_check_and_process(), right?
 
5) Is there a different solution to this issue?
 
 
 
Thanks,
Erez.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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