LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2012, 11:33 AM   #1
Vogel612
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Rep: Reputation: Disabled
Get IANA enterprises mib


Hey there i am new to snmp scripting and i have encountered the error, that the IANA enterprises mib is not installed. unfortunately i was unable to create the /usr/shares/mibs/iana directory and just wanted to ask for a liitel help with the enterprise mib and the mgmt mib, that the sudo installation of snmp 5.4.3 seems to lack.

btw this is the error msg:
Code:
2012-10-29 16:32:03 Warning: Module ZYFER-MIB was in /home/azubi/.snmp/mibs/ZEYFER-MIB.txt now is /home/azubi/.snmp/mibs//ZEYFER-MIB.txt
2012-10-29 16:32:03 MIB search path: /home/azubi/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp:/home/azubi/.snmp/mibs/
2012-10-29 16:32:03 Cannot find module (ZEYFER-MIB): At line 1 in (none)
2012-10-29 16:32:03 Warning: Module ZYFER-MIB was in /home/azubi/.snmp/mibs//ZEYFER-MIB.txt now is /home/azubi/.snmp/mibs/ZEYFER-MIB.txt
2012-10-29 16:32:03 Importing mgmt from replacement module SNMPv2-SMI instead of RFC1155-SMI (/home/azubi/.snmp/mibs/ZEYFER-MIB.txt)
2012-10-29 16:32:03 Cannot find module (SNMPv2-SMI): At line 35 in /home/azubi/.snmp/mibs/ZEYFER-MIB.txt
2012-10-29 16:32:03 Importing enterprises from replacement module SNMPv2-SMI instead of RFC1155-SMI (/home/azubi/.snmp/mibs/ZEYFER-MIB.txt)
2012-10-29 16:32:03 Did not find 'mgmt' in module #-1 (/home/azubi/.snmp/mibs/ZEYFER-MIB.txt)
2012-10-29 16:32:03 Did not find 'enterprises' in module #-1 (/home/azubi/.snmp/mibs/ZEYFER-MIB.txt)
2012-10-29 16:32:03 Unlinked OID in ZYFER-MIB: zyfer ::= { enterprises 9448 }
2012-10-29 16:32:03 Undefined identifier: enterprises near line 43 of /home/azubi/.snmp/mibs/ZEYFER-MIB.txt
Edit: So i changed the password for the root user (su passwd root) and could then add the mib RFC1155-SMI-MIB to the standard mib directory which fixed the problem

Last edited by Vogel612; 10-30-2012 at 11:19 AM. Reason: Solved
 
  


Reply

Tags
mib


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring firehol - get-iana.sh Ishkabibble Linux - Software 1 08-25-2009 05:38 PM
help with mib nawuza Linux - Newbie 2 08-10-2008 09:02 AM
LXer: Mysql tunes for enterprises LXer Syndicated Linux News 0 10-17-2006 08:54 PM
How to use a MIB ? marozsas Linux - Networking 3 02-02-2006 06:04 AM
sanner in redhat enterprises awtoc123 Linux - Hardware 0 02-24-2004 04:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration