Re: MFD compiled extension agent: snmpget returns "Timeout: No Response from localhost:1161."

2014-09-06 Thread Bill Fenner
On Fri, Sep 5, 2014 at 1:57 AM, Kenneth Hung wrote: > netsnmp_udp_getSecName: no com2sec entries < Am I > missing something here in the conf file? > Yes - despite your subject line mentioning extension agent, you're running a full agent, meaning that you have to configure it

Re: MFD compiled extension agent: snmpget returns "Timeout: No Response from localhost:1161."

2014-09-04 Thread Kenneth Hung
I turned on debugging info with "-D all" and captured the last portion which I believed is the last transaction of the 5 or so transactions in the previously mentioned : Connection from UDP: [127.0.0.1]:55176->[127.0.0.1 I executed: ./adeSensorsTable -f -L -D all -M localhost:1161 Following is t

MFD compiled extension agent: snmpget returns "Timeout: No Response from localhost:1161."

2014-09-04 Thread Kenneth Hung
I'm new to Linux. I'm writing an SNMP extension agent using the MIB for Dummies (http://www.net-snmp.org/wiki/index.php/MIB_for_Dummies) config file (mib2c.mfd.conf). I successfully created my executable, adeSensorsTable, using my own adeSensorsTable.MIB (mib2c util auto-generated the C source code