Reg: Snmp Request Time out

Vinayak Swaminathan <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi All,

My Agent Setup consists of a Master Agent and a Sub Agent. The Communication
between the Master and Subagent is based on the AgentX Protocol via a Unix
Domain Socket [SOCK_STREAM]

The Master Agent is supposed to handle certain SNMP related requests like
SNMPV2 MIB Requests while the sub-agent handles the specific/custom MIB /
forwarded requests from the Manager

Issue :

 I am doing a scheduled operation from my Manager that involves a Get
Request and a Set Request to the Agent.
Both the requests in the operation are for a specific MIB OID and hence
handled by the Sub-Agent.

The issue is suddenly that the Agents failed to respond to the Manager
requests. After sometime (which is not systematic),
although the Get Request of that operation is successful, however the Set
Request for the operation fails. Infact, the Request Times out (Timeout: No
Response from localhost)

Now after this, any subsequent requests be it SET/GET to the Master Agent
[SNMPV2-Mib Req] or the SubAgent [Specific-MIB Req] times out .

I was not able to find any meaningful traces on the Sub Agent side, since
there are no traces from the Sub-Agent thread after the last GET Request.

The Agents are precisily in a hung up state.. I could not get much info from
the core dump for the snmpd process as well

The problem is solved by restarting the agents.

I'm confused because the last requests were specific to Sub-Agents but then
the Master Agent also does not respond.
>From Wireshark i can trace the request from my Manager to the Agent
I would like to trace the request recevied @ the Master Agent and then how
it is forwarded to the Sub-Agent.

Is there any debug logs settings ??

I've also tried increasing the debug levels of my Agent by updating the
following in my snmpd.conf of my master agent.

dumpPacket yes
debugTokens ALL
doDebugging 1

However i get the the error in /var/log/snmpd.log

line 124: Warning: Unknown token: dumpPacket.
line 125: Warning: Unknown token: doDebugging.
line 126: Warning: Unknown token: debugTokens

These are valid parameter settings right... So why do i get these errors??

Also please let me know if the communication between the Master and SubAgent
be tracked.

Thanks & Regards,

Vinayak

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

_______________________________________________
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.