No Such Object available on this agent at this OID for NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0
pushpa thimmaiah <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAASqVJW9NogefK6NrAEdagX=ffK3uLJcVoj_dwdxpNkuEoNyOg@mail.gmail.com> |
Hi All, I have followed http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module to learn to add new mib module. my /usr/share/snmp/snmp.conf has rwcommunity private localhost Started snmpd using below command sudo /usr/local/sbin/snmpd -d -Lf /var/log/snmpd.log -I -smux -p /var/run/snmpd.pid And querying new mib module throwing error snmpget -v2c -c private localhost NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 = No Such Object available on this agent at this OID I was not able to get more information on this issue via google. Kindly let me know how to debug the issue and which steps are being missed? Attached snmpd.log for the reference ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
snmpd.log
(application/octet-stream, 988 B)
cat /var/log/snmpd.log
iquerySecName has not been configured - internal queries will fail
NET-SNMP version 5.4.3
Received 49 bytes from UDP: [127.0.0.1]:51060->[127.0.0.1]
0000: 30 2F 02 01 01 04 07 70 72 69 76 61 74 65 A0 21 0/.....private.!
0016: 02 04 6F 2F 5D B9 02 01 00 02 01 00 30 13 30 11 ..o/].......0.0.
0032: 06 0D 2B 06 01 04 01 BF 08 02 04 01 01 01 00 05 ..+.............
0048: 00 .
Connection from UDP: [127.0.0.1]:51060->[127.0.0.1]
Received SNMP packet(s) from UDP: [127.0.0.1]:51060->[127.0.0.1]
GET message
-- iso.3.6.1.4.1.8072.2.4.1.1.1.0
Sending 49 bytes to UDP: [127.0.0.1]:51060->[127.0.0.1]
0000: 30 2F 02 01 01 04 07 70 72 69 76 61 74 65 A2 21 0/.....private.!
0016: 02 04 6F 2F 5D B9 02 01 00 02 01 00 30 13 30 11 ..o/].......0.0.
0032: 06 0D 2B 06 01 04 01 BF 08 02 04 01 01 01 00 80 ..+.............
0048: 00 .