Hi All,

I had placed my private MIBs under /usr/share/snmp/mibs and compiled them
using mib2c.

I got .c and .h files, added my code in the .c file and placed them under
/agent/mibgroup.

Now when I try to run snmpwalk I don't see any output

# snmpwalk -v 1 localhost -c public 1.3.6.1.8.1.1.2321.79.2.1.5.4
# snmpwalk -v 1 localhost -c public 1.3.6.1.8.1.1.2321.79.2.1.5.4

Also when I run snmpget I get - "(noSuchName) There is no such variable name
in this MIB."

# snmpget -v 1 localhost -c public 1.3.6.1.8.1.1.2321.79.2.1.5.4
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.8.1.1.2321.79.2.1.5.4

Can you please let me know what could be the error?
I had syntax checked my mib file and there were compile errors for .c
files.
But still it doesn't work.
Am i missing something? Is there any debug options to include in the code in
.c file or is there any other way to debug the error info??
Please let me know.

Thanks and Regard,
Jack.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to