Re: Failed to connect to agentx master agent

2007-09-05 Thread jeff magder
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

Re: Configuration file for subagent

2006-09-13 Thread jeff magder
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

traps (send_v2trap()) and AgentX sub-agents

2006-09-12 Thread jeff magder
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

traps (send_v2trap()) and AgentX sub-agents

2006-09-12 Thread jeff magder
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

mib2c complains with:"/usr/lib/libnetsnmp.so.5: undefined symbol: RAND_bytes" - Solution

2006-05-11 Thread jeff magder
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