How to add MIB so that agent can anser
Darshan Ghumare <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
How to add MIB so that agent can answer query from Manager?
I have tried
$snmpget -m /root/net-snmp_examples/test-MIB.txt -v 1 -c public
127.0.0.1:1161 test-MIB::firstObj
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: test-MIB::firstObj
test0MIB.txt :
test-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,private FROM SNMPv2-SMI;
first OBJECT IDENTIFIER ::= {private 1}
firstObj OBJECT-TYPE
SYNTAX Integer32
ACCESS read-only
STATUS current
DESCRIPTION "First Object"
::= {first 1}
END
I have also not able to find snmp.conf. I have created snmp.conf with entry
to load this module but where I should put it in to get this module loaded
automatically?
Tank you
Regards
Darshan
--
Darshan®
Jonathan Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html>
- "May you live every day of your life."
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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