Re: building mini agent

2012-08-01 Thread Sudhanshu Rajvaidya
Thanks Dave for the help. That was indeed the issue. I am now able to get expected response from mini agent. One last question here. I had to compile with --with-mib-modules=ucd_snmp/dlmod to have my mini agent load a shared object. However this adds dlmod table in snmpwalk response. Is there way

RE: Get index by port name

2012-08-01 Thread Dave Hsu
Thank you sir!! I would love to try to write that kind of tool. No promises but will definitely give it a try in near future. Regards, Dave -Original Message- From: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] On Behalf Of Dave Shield Sent: Wednesday, August 01, 2012 4:01 PM To:

Re: Get index by port name

2012-08-01 Thread Dave Shield
On 1 August 2012 03:56, Dave Hsu wrote: > I have this: >1.3.6.1.2.1.31.1.1.1.1.603980290 => Ethernet0/0/1 > and I want to retrieve 603980290 by using Ethernet0/0/1 (that I already > know). > Is there a command/way to get just the port index (not a list) by using the > port name? The way (i.e

Re: building mini agent

2012-08-01 Thread Dave Shield
On 1 August 2012 03:04, Sudhanshu Rajvaidya wrote: > Let me double check with a clean setup. I built mini agent and scped the > snmpd binary to the machine I am monitoring. Just the binary? Not the libraries as well? > Could it be that the other snmp (old) libs sitting on > the machine are caus