Hello,
I have a question regarding the snmpd daemon. snmpd is configured as a master
agent supporting the AgentX protocol. We have a subagent that successfully
registers with the master agent. The subagent is able to generate traps and
receive/respond to GET and GETNEXT requests without issue. The problem we are
having is with tables. When we request table data, the SNMP manager is issuing
a GETBULK request. snmpd is translating the GETBULK into GETNEXT requests and
forwarding them to our subagent. However, the oid being passed from snmpd is
not correct. snmpd is substituting the oid of the next scalar, skipping over
all elements defined within the table.
Here is the output of snmpd running with debug logging enabled:
Connection from UDP: [10.10.4.97]:2246
Received SNMP packet(s) from UDP: [10.10.4.97]:2246
GETBULK message, non-rep=0, max_rep=10
-- SNMPv2-SMI::enterprises.5591.1.11.100.1.8.3
Sending 92 bytes to Local IPC: /agentx/subagent22020
0000: 01 06 00 00 06 00 00 00 01 00 00 00 02 00 00 00 ................
0016: 48 00 00 00 08 04 01 00 01 00 00 00 D7 15 00 00 H...............
0032: 01 00 00 00 0B 00 00 00 64 00 00 00 01 00 00 00 ........d.......
0048: 0D 00 00 00 01 00 00 00 08 04 00 00 01 00 00 00 ................
0064: D7 15 00 00 01 00 00 00 0B 00 00 00 64 00 00 00 ............d...
0080: 01 00 00 00 0D 00 00 00 02 00 00 00 ............
You can see that the daemon received a GETBULK request from another machine
with the oid "SNMPv2-SMI::enterprises.5591.1.11.100.1.8.3".
Next you see the daemon sending a message (a GETNEXT message) out on the Linux
domain socket "/agentx/subagent22020". Our subagent is on the other side of
that socket listening. If you look at line 0064: the D7 15 is the 5591
followed by a 1.11.100.1.13.2 not the 1.11.100.8.3 that I would expect.
Can you please help me identify why the snmpd daemon is translating the request
like this?
Thanks.
____________________________________________________________
Senior Assisted Living
Put your loved ones in good hands with quality senior assisted living. Click
now!
http://thirdpartyoffers.netzero.net/TGL2241/c?cp=JBJxokb4hci3W0a4DLHOZQAAJ1ELqfse1D9IztCxy3ucpuL6AAYAAAAAAAAAAAAAAAAAAADNAAAAAAAAAAAAAAAAAAASUQAAAAA=------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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