Re: Domain OID for new transport

2012-03-27 Thread Niels Baggesen
Den 27-03-2012 20:05, Rusk, Mark skrev: > I have a new net-snmp transport. How do I determine the correct OID for the > transport? Do I pull one out of . . . thin air? Or is one assigned? RFC 3419, TRANSPORT-ADDRESS-MIB, lists the defined ones. But then again SSH_IP and STD_IP have been pulled

Domain OID for new transport

2012-03-27 Thread Rusk, Mark
I have a new net-snmp transport. How do I determine the correct OID for the transport? Do I pull one out of . . . thin air? Or is one assigned? These are already defined in net-snmp-5.7.1: snmpTCPDomain.h:#define TRANSPORT_DOMAIN_TCP_IP 1,3,6,1,2,1,100,1,5 snmpTCPIPv6Domain.h:#

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: "Unknown engine ID" error

2012-03-27 Thread Ravi Kumar
Thanks Dave. I downloaded the latest version from git. And installed in my system it is working fine (since I have already removed vendor's snmpd hence can not say how it would behave along with that.) Did you fix any thing in the latest code ? Any ways my problem is solved. Ravi On Tue, Mar

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: iterator helper ignores requests

2012-03-27 Thread Niels Baggesen
On Tue, Mar 27, 2012 at 06:24:54AM -0400, David Howland wrote: > Dammit all. The tutorial is just wrong. > http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module Ah, well, you should know how to set up an agent before diving into writing a new module. And the error message is quite infor

Re: iterator helper ignores requests

2012-03-27 Thread David Howland
On 3/27/2012 12:07 AM, Niels Baggesen wrote: > Den 27-03-2012 03:31, David Howland skrev: >> Warning: no access control information configured. >> (Config search path: >> /usr/pkg/etc/snmp:/usr/pkg/share/snmp:/usr/pkg/lib/snmp:/root/.snmp) >> It's unlikely this agent can serve any useful purpose in