Glad I was able to help!
Oops, it looks like I responded only to you instead of the list. :-)
On 9/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
> Hi,
>
> That was mistakenly written but i actually used,
> /usr/local/sbin/snmpd -c /usr/local/share/snmpd.conf -X tcp:localhost:706
>
>
> But
Greetings Narendra,
I believe that you should copy your subagnett.conf file to the same location as your snmpd.conf file. This can vary from system to system. On my system snmpd.conf is located in /usr/local/share/snmp. To be sure, I suggest you search your filesystem for
snmpd.conf, and tr
I figured out the answer to my earlier question. Indeed, my sub-agent configuration file did not need anything other than: agentXSocket tcp:localhost:705 The problem was that I was calling send_v2_trap() from a thread seperate from the one associated with with the agent_check_and_process() loop
Has anyone ever successfully sent a trap from an AgentX sub-agent on the NetSNMP platform? For whatever reason, whenever I call sent_v2trap(), no trap is sent. To check, I have been capturing IP packets with tcpdump. When I start up NetSNMP, I notice the following packet:
# tcpdump -XX -vvv -i l
Before last night I had been experiencing problems getting NetSNMP's mib2c software to launch. I searched the web and newsgroups with google, and even though the question has been posted many times, I didn't find a good solution to the problem at first.
Since I did eventually figure it out howe