Hi,
We are using
Net-Snmp-5.1.1. We are observing the following message in subagent's
log.
"Agentx
session to master agent attempted to be
re-opened."
When we analysed the
log, we found that subagent has sent an agentx ping request to master
agent.
But subagent got the
transport disconnect indication before getting the response for
ping.
When Subagent
received transport disconnect indication, it unregistered the callbacks,
unregistered the alarms and
registered an alarm
to reopen the agentx session.
And subagent found
that there is no response for the ping, it unregistered the callbacks, unregistered
the alarms
except the one
registered to reopen the agentx session, closed the session
and called
agentx_reopen_session() to open a new session.
New Agentx
session is opened and MIBs got registered and an alarm is registered for sending
ping request.
Now run_alarms() is
called and alarm to re-open the agentx session is scheduled. As an agentx
session already exists, it prints this message
"Agentx session to master agent
attempted to be re-opened."
This alarm to reopen
the agentx session got scheduled every 15 seconds (ping time interval) and
prints the above message.
I have the
question... why the alarm to reopen the agentx session is not un-registered
..?
Please clarify
me.
Thanks,
suresh.
