Re: Problem with running sub-agent: AgentX

2011-11-23 Thread Dave Shield
On 23 November 2011 11:00, prashant n wrote: > 1)  If  i want to handle other objects with types such as table, float, > string etc.. then what changes  i need to do in source file example-demon.c ? >From the FAQ entry Which mib2c configuration file should I use? For implementing a group

Problem with running sub-agent: AgentX

2011-11-23 Thread prashant n
Hi Dave, *Thanks for your reply.* * * Again i tried both the cases i,e 1) I am able to create sub-agent: AgentX automatically using the net-snmp-config script and i tested. 2) Instrumenting my own code with agentx sub agent support as given in tutorial I killed the snmpd command (Ct

RE: Problem with running sub-agent: AgentX

2011-11-23 Thread Eirik Nordbrøden
t > Subject: Re: Problem with running sub-agent: AgentX > > On 23 November 2011 06:33, prashant n wrote: > > Following lines shows the output of the command: > >  sudo /usr/local/sbin/snmpd -f -L -d -p Turning on AgentX > > master support. > > NET-SNMP ver

Re: Problem with running sub-agent: AgentX

2011-11-23 Thread Dave Shield
On 23 November 2011 06:33, prashant n wrote: > Following lines shows the output of the command: >  sudo /usr/local/sbin/snmpd -f -L -d -p > Turning on AgentX master support. > NET-SNMP version 5.6.1.1 OK - so there's no sign of any warning messages. So opening the AgentX socket should ha

Problem with running sub-agent: AgentX

2011-11-22 Thread prashant n
Hi Dave, *Thanks for your valuable feedback.* Ya now i got advantage of using sub-agent, you have been very helpful for me. Following lines shows the output of the command: sudo /usr/local/sbin/snmpd -f -L -d -p Turning on AgentX master support. NET-SNMP version 5

Re: Problem with running sub-agent: AgentX

2011-11-22 Thread Dave Shield
On 22 November 2011 14:43, prashant n wrote: > my snmpd.conf looks like this > > rwcommunity  private > master agentx > >  and i run the master agent using command: > sudo /usr/local/sbin/snmpd -f -L -d -p What is the output of this command? What does it log? Dave --

Re: Problem with running sub-agent: AgentX

2011-11-22 Thread Dave Shield
On 22 November 2011 14:43, prashant n wrote: >     Before i move to  the problem with running sub-agent, i wanted to know > what is the main advantage of using sub-agent in comparison with compiling > MIB modules with the SNMP agent snmpd The main advantage is with regard to deployment. If you h

Problem with running sub-agent: AgentX

2011-11-22 Thread prashant n
* *Coming to actual problem :Problem with running sub-agent: AgentX* I followed tutorial , i am able to create sub-agent: AgentX automatically using the net-snmp-config script and i tested. I started instrumenting my own code with agentx sub agent support as described in tutorial and gone through