Hello,
Can anyone help me with these errors?
1. When I loaded the NET-SNMP-TUTORIAL-MIB I get this problem.
Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstMIBConformance ::= { netSnmpTutorialMIB 2 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstMIBObjects ::= { netSnmpTutorialMIB 1 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstAgentPluginObject ::= { nstAgentModules 3 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstAgentSubagentObject ::= { nstAgentModules 2 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstAgentModuleObject ::= { nstAgentModules 1 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: netSnmpTutorialMIB ::= { netSnmpExamples 4 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstAgentModules ::= { nstMIBObjects 1 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstMIBObjects ::= { netSnmpTutorialMIB 1 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstMIBConformance ::= { netSnmpTutorialMIB 2 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstAgentModuleObject ::= { nstAgentModules 1 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstAgentSubagentObject ::= { nstAgentModules 2 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstAgentPluginObject ::= { nstAgentModules 3 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: netSnmpTutorialMIB ::= { netSnmpExamples 4 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstAgentModules ::= { nstMIBObjects 1 }
2. When I execute SNMP GET I also encountered this.
[EMAIL PROTECTED] lejanson]$ snmpget -v1 -c rockwell public NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
snmpget: Unknown host (Resource temporarily unavailable)
[EMAIL PROTECTED] lejanson]$ snmpget -v1 -c public rockwell NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
Timeout: No Response from rockwell.
[EMAIL PROTECTED] lejanson]$
I am still trying to execute the net-snmp AgentX functionality but so far I failed to do it? What should I do with this problems? What do you think causes thesE?
Any feedbacks will be greatly appreciated. Thanks a lot.
Lejanson
Dave Shield wrote:
$ snmpget localhost NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 NET-SNMP-TUTORIAL-MIB: Module not found
Looks like the command isn't finding the MIB file.
I also set the MIBDIRS=/usr/share/snmp/mibs;~lejanson/mibs
a) You probably need a colon ':' rather than a semicolon ';' to separate the two directories.
b) If you just want to *extend* the list of places to look, then you're better off using
MIBDIRS=+~lejanson/mibs
c) I very much doubt that the library recognises the ~user syntax anyway. Try with the full pathname instead.
Dave
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ 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