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: Few queries(General) regarding MIB file

2011-11-22 Thread Dave Shield
On 18 November 2011 07:40, prashant n wrote: >           I created  MIB table containing  data as float parameters > using the (Net-SNMP specific) "NET-SNMP-TC::Float" type, as u suggested on > previous mail. >  This is how MIB table looks like > AiEntry ::= SEQUENCE > { > aiDeviceId Integer32, >

Re: Regarding cross compile and Perl Dependecy

2011-11-22 Thread Dave Shield
On 20 November 2011 17:53, Suresh kumar wrote: > I have to build net-snmp 5.6.1 on taget RT Linux. > > i what know how i build this for cross compile target platform on Montavista > Linux.? I'll pass on the cross-compilation query - this isn't something I have an particular familiarity with. >

Re: Updating of MIB file (one of my own devising) object values

2011-11-22 Thread Dave Shield
On 21 November 2011 10:11, prashant n wrote: >  Yes i used mib2c tool  to implement the table. I used following command to > generate corresponding .c  and .h files > This command i gave in a current directory containing mib file as DESC-MIB > env MIBS="+DESC-MIB" mib2c -c mib2c.create-dataset.co

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
Hi, 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 i,e the following flow i followed when i started reading tutorial section : TUT: Writing a MIB Module a

Re: how to make "snmp_async_send" truly asynchronous.

2011-11-22 Thread Dave Shield
On 22 November 2011 11:39, wrote: > Forget my application and consider a standalone netsnmp app. > Say, i am issuing an SNMPGET for "sysDescr.0" on a CISCO switch using SNMPv3. I suspect that it is the use of SNMPv3 that is the issue here. Before the app can send an SNMPv3 request, it needs to

RE: how to make "snmp_async_send" truly asynchronous.

2011-11-22 Thread basil.joseph
Hi, Thanks for quickly clearing up the doubt on TEST. >I have a bad feeling that it isn't the "send" operation that blocks for you >but rather something else so, please, provide some more data, like e.g. a >strace of your application when running. I'll put some more details on the snmp_async_s

Re: how to make "snmp_async_send" truly asynchronous.

2011-11-22 Thread Magnus Fromreide
On Tue, 2011-11-22 at 12:35 +0530, [email protected] wrote: > Hi, > > Thanks for answering my previous questions. Now please help me solve a > problem I am facing. > > I have created an application that will query a network device every > 10 sec. > > And my app will also sent some critica