Re: SNMP walk and get not working

2012-03-27 Thread Vivek Nagaraj
Thanks a lot! That helped. I ran it for port 161 where my subagent was sending the getResponse PDU. I am getting this: dumpx_send: 05 00 dumpx_send: 05 00 dumpv_send: dumpv_send:NULL NULL This seems to be the difference compared to the working condition. I need to work o

Re: SNMP walk and get not working

2012-03-27 Thread Niels Baggesen
Den 27-03-2012 16:18, Vivek Nagaraj skrev: > This is the output I got: > > root@solaris:~# snmpd -Ddump,agentx -f -Lo udp Reread what Robert wrote ... udp: (the colon is important) > Error opening specified endpoint "udp" > Server Exiting with code 1 > root@solaris:~# ps -ef | grep snmp > r

Re: SNMP walk and get not working

2012-03-27 Thread Vivek Nagaraj
This is the output I got: root@solaris:~# snmpd -Ddump,agentx -f -Lo udp No log handling enabled - turning on stderr logging registered debug token dump, 1 registered debug token agentx, 1 netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() netsnmp_assert

Re: SNMP walk and get not working

2012-03-27 Thread Robert Story
On Tue, 27 Mar 2012 16:49:30 +0530 Vivek wrote: VN> Error opening specified endpoint "" VN> Server Exiting with code 1 Well it's odd that it couldn't open an endpoint. Make sure that no other agent is running, and try # snmpd -Ddump,agentx -f -Lo udp: Then start up the agentx subagent in anoth

Re: SNMP walk and get not working

2012-03-27 Thread Vivek Nagaraj
Thanks a lot for the response. Here is the output: root@solaris:/# snmpd -Ddump,agentx No log handling enabled - turning on stderr logging registered debug token dump, 1 registered debug token agentx, 1 root@solaris:/# netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp

Re: SNMP walk and get not working

2012-03-26 Thread Robert Story
On Sat, 24 Mar 2012 08:38:40 +0530 Vivek wrote: VN> Does anybody know how the agenx subagent sends the 'GetResponse' PDU VN> to the subagent once it receives the 'GetRequest', 'GetNextRequest' VN> and 'SetRequest'? The details of the agentx communication is handled by the library. You don't need t

Re: SNMP walk and get not working

2012-03-23 Thread Vivek Nagaraj
Hello, Does anybody know how the agenx subagent sends the 'GetResponse' PDU to the subagent once it receives the 'GetRequest', 'GetNextRequest' and 'SetRequest'? Is there an API that does the above work? I have following doubts: 1) What is the responsibility of the Agentx subagent with respect

Re: SNMP walk and get not working

2012-03-22 Thread Vivek Nagaraj
Niels, Thanks for your response. Mine is a AgentX net-snmp subagent. Thanks, Vivek On Thu, Mar 22, 2012 at 5:42 PM, Niels Baggesen wrote: > On Thu, Mar 22, 2012 at 04:08:07PM +0530, Vivek Nagaraj wrote: >> Any idea why I get this? Is this the issue with my subagent or the >> main agent is not p

Re: SNMP walk and get not working

2012-03-22 Thread Niels Baggesen
On Thu, Mar 22, 2012 at 04:08:07PM +0530, Vivek Nagaraj wrote: > Any idea why I get this? Is this the issue with my subagent or the > main agent is not properly configured? What kind of subagent is this? AgentX, SMUX, Proxy, ... /Niels -- Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.so

SNMP walk and get not working

2012-03-22 Thread Vivek Nagaraj
Hello, I have a SNMP subagent which was working like a charm in the Solaris 10 OS which did not have net-snmp (instead SMA belonging to SUN was used as a master SNMP agent). Now that I migrated to Solaris 11 environment which has net-snmp as the master SNMP agent and SMA is not present post OS ins