cannot import MIBS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
shakra2005
Posts: 70
Joined: Sun Aug 05, 2012 4:24 pm

cannot import MIBS

Post by shakra2005 »

HI,

i would try to import mibs but i have this error

MIB could not be installed - directory permissions may be incorrect.


Can anyone help me ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: cannot import MIBS

Post by slansing »

Can you show us the output for the following?

Code: Select all

ll /usr/share/snmp
ll /usr/share/snmp/mibs
shakra2005
Posts: 70
Joined: Sun Aug 05, 2012 4:24 pm

Re: cannot import MIBS

Post by shakra2005 »

ll /usr/share/snmp

Code: Select all

-rwxrwxrwx  1 root root   100105 Feb 12 22:00 cisco.conf
-rwxrwxrwx  1 root root    11494 Feb 12 22:00 cpq.conf
-rwxrwxrwx  1 root root    26458 Feb 12 22:00 hp.conf
-rwxrwxrwx  1 root root     6678 Jul 23  2012 mib2c.access_functions.conf
-rwxrwxrwx  1 root root    37814 Jul 23  2012 mib2c.array-user.conf
-rwxrwxrwx  1 root root     4705 Jul 23  2012 mib2c.check_values.conf
-rwxrwxrwx  1 root root     2527 Jul 23  2012 mib2c.check_values_local.conf
-rwxrwxrwx  1 root root      393 Jul 23  2012 mib2c.column_defines.conf
-rwxrwxrwx  1 root root      664 Jul 23  2012 mib2c.column_enums.conf
-rwxrwxrwx  1 root root      806 Jul 23  2012 mib2c.column_storage.conf
-rwxrwxrwx  1 root root    12200 Jul 23  2012 mib2c.conf
-rwxrwxrwx  1 root root    28245 Jul 23  2012 mib2c.container.conf
-rwxrwxrwx  1 root root     3593 Jul 23  2012 mib2c.create-dataset.conf
drwxrwxrwx  2 root root     4096 Aug 22 18:04 mib2c-data
-rwxrwxrwx  1 root root     8164 Jul 23  2012 mib2c.emulation.conf
-rwxrwxrwx  1 root root     8498 Jul 23  2012 mib2c.genhtml.conf
-rwxrwxrwx  1 root root     3200 Jul 23  2012 mib2c.int_watch.conf
-rwxrwxrwx  1 root root    15279 Jul 23  2012 mib2c.iterate_access.conf
-rwxrwxrwx  1 root root    20913 Jul 23  2012 mib2c.iterate.conf
-rwxrwxrwx  1 root root     1014 Jul 23  2012 mib2c.mfd.conf
-rwxrwxrwx  1 root root     2139 Jul 23  2012 mib2c.notify.conf
-rwxrwxrwx  1 root root     9259 Jul 23  2012 mib2c.old-api.conf
-rwxrwxrwx  1 root root     8777 Jul 23  2012 mib2c.perl.conf
-rwxrwxrwx  1 root root    19507 Jul 23  2012 mib2c.raw-table.conf
-rwxrwxrwx  1 root root     7211 Jul 23  2012 mib2c.row.conf
-rwxrwxrwx  1 root root     4572 Jul 23  2012 mib2c.scalar.conf
-rwxrwxrwx  1 root root    20422 Jul 23  2012 mib2c.table_data.conf
drwxrwsrwx. 2 root nagios  24576 Feb 18 15:18 mibs
-rwxrwxrwx  1 root root     2249 Feb 12 22:00 net-snmp.conf
-rwxrwxrwx  1 root root   134279 Feb 12 22:00 nwalarm.conf
-rwxrwxrwx  1 root root     1318 Feb 12 22:02 powernet.conf
-rwxrwxrwx  1 root root     2481 Feb 12 22:00 rfc.conf
drwxrwxrwx. 5 root root     4096 Jul 23  2012 snmpconf-data
-rwxrwxrwx  1 root root    18861 Feb 12 22:00 snmpd.conf
-rwxrwxrwx  1 root root      145 Jul 23  2012 snmp_perl.pl
-rwxrwxrwx  1 root root      431 Jul 23  2012 snmp_perl_trapd.pl
-rwxrwxrwx  1 root root       67 Feb 12 22:00 snmptrapd.conf
-rwxrwxrwx  1 root root    34257 Feb 12 22:00 snmptt.conf
-rwxrwxrwx  1 root root    42152 Feb 12 22:00 vmware.conf


ll /usr/share/snmp/mibs
wxrwxrwx 1 root   nagios   46286 Jul 23  2012 IP-FORWARD-MIB.txt
-rwxrwxrwx 1 root   nagios  185667 Jul 23  2012 IP-MIB.txt
-rwxrwxrwx 1 root   nagios   15936 Jul 23  2012 IPV6-ICMP-MIB.txt
-rwxrwxrwx 1 root   nagios   48703 Jul 23  2012 IPV6-MIB.txt
-rwxrwxrwx 1 root   nagios    7257 Jul 23  2012 IPV6-TCP-MIB.txt
-rwxrwxrwx 1 root   nagios    2367 Jul 23  2012 IPV6-TC.txt
-rwxrwxrwx 1 root   nagios    4400 Jul 23  2012 IPV6-UDP-MIB.txt
-rwxrwxrwx 1 root   nagios     788 Feb 12 09:37 LEFTHAND-NETWORKS-GLOBAL-REG-MIB.cfg
-rwxrwxrwx 1 root   nagios    4135 Feb 12 09:37 LEFTHAND-NETWORKS-GLOBAL-REG-MIB.mib
-rwxrwxrwx 1 root   nagios   76637 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-CLUSTERING-MIB.cfg
-rwxrwxrwx 1 root   nagios  117501 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-CLUSTERING-MIB.mib
-rwxrwxrwx 1 root   nagios    4619 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-DNS-MIB.cfg
-rwxrwxrwx 1 root   nagios    8855 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-DNS-MIB.mib
-rwxrwxrwx 1 root   nagios   30493 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-INFO-MIB.cfg
-rwxrwxrwx 1 root   nagios   48084 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-INFO-MIB.mib
-rwxrwxrwx 1 root   nagios    1414 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-MIB.cfg
-rwxrwxrwx 1 root   nagios    7070 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-MIB.mib
-rwxrwxrwx 1 root   nagios    4264 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-NETWORK-MIB.cfg
-rwxrwxrwx 1 root   nagios    9815 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-NETWORK-MIB.mib
-rwxrwxrwx 1 root   nagios   40058 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-NOTIFICATION-MIB.cfg
-rwxrwxrwx 1 root   nagios   63774 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-NOTIFICATION-MIB.mib
-rwxrwxrwx 1 root   nagios    3488 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-NTP-MIB.cfg
-rwxrwxrwx 1 root   nagios    7402 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-NTP-MIB.mib
-rwxrwxrwx 1 root   nagios   12287 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-SECURITY-MIB.cfg
-rwxrwxrwx 1 root   nagios   19748 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-SECURITY-MIB.mib
-rwxrwxrwx 1 root   nagios    2487 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-STATUS-MIB.cfg
-rwxrwxrwx 1 root   nagios    5822 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-STATUS-MIB.mib
-rwxrwxrwx 1 root   nagios   16788 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-STORAGE-MIB.cfg
-rwxrwxrwx 1 root   nagios   27972 Feb 12 09:37 LEFTHAND-NETWORKS-NSM-STORAGE-MIB.mib
-rwxrwxrwx 1 root   nagios    5931 Jul 23  2012 LM-SENSORS-MIB.txt
-rwxrwxrwx 1 root   nagios   24496 Feb 12 09:37 lsf001.cfg
-rwxrwxrwx 1 root   nagios   27215 Feb 12 09:37 lsf001.mib
-rwxrwxrwx 1 root   nagios     336 Feb 12 09:37 mibcore.list
-rwxrwxrwx 1 root   nagios    2228 Feb 12 09:37 mibreadme.txt
-rwxrwxrwx 1 root   nagios   77541 Feb 12 09:37 mlxraid.cfg
-rwxrwxrwx 1 root   nagios  106471 Feb 12 09:37 mlxraid.mib
-rwxrwxrwx 1 root   nagios    2953 Feb 12 09:37 msa2000traps.cfg
-rwxrwxrwx 1 root   nagios    4278 Feb 12 09:37 msa2000traps.mib
-rwxrwxrwx 1 root   nagios   42375 Jul 23  2012 MTA-MIB.txt
-rwxrwxrwx 1 root   nagios   19760 Aug 29  2011 NAGIOS-NOTIFY-MIB.txt
-rwxrwxrwx 1 root   nagios    2093 Aug 29  2011 NAGIOS-ROOT-MIB.txt
-rwxrwxrwx 1 root   nagios   66608 Feb 12 09:37 ndstrap.cfg
-rwxrwxrwx 1 root   nagios   95582 Feb 12 09:37 ndstrap.mib
-rwxrwxrwx 1 root   nagios   15732 Jul 23  2012 NET-SNMP-AGENT-MIB.txt
-rwxrwxrwx 1 root   nagios    9160 Jul 23  2012 NET-SNMP-EXAMPLES-MIB.txt
-rwxrwxrwx 1 root   nagios    9198 Jul 23  2012 NET-SNMP-EXTEND-MIB.txt
-rwxrwxrwx 1 root   nagios    2036 Jul 23  2012 NET-SNMP-MIB.txt
-rwxrwxrwx 1 root   nagios    3351 Jul 23  2012 NET-SNMP-PASS-MIB.txt
-rwxrwxrwx 1 root   nagios    4686 Jul 23  2012 NET-SNMP-TC.txt
-rwxrwxrwx 1 root   nagios    5039 Jul 23  2012 NET-SNMP-VACM-MIB.txt
-rwxrwxrwx 1 root   nagios   21006 Jul 23  2012 NETWORK-SERVICES-MIB.txt
-rwxrwxrwx 1 root   nagios   24694 Jul 23  2012 NOTIFICATION-LOG-MIB.txt
-rwxrwxrwx 1 root   nagios    2083 Feb 12 09:37 nsaasr.cfg
-rwxrwxrwx 1 root   nagios    5967 Feb 12 09:37 nsaasr.mib
-rwxrwxrwx 1 root   nagios    7800 Feb 12 09:37 nsadimm.cfg
-rwxrwxrwx 1 root   nagios   18079 Feb 12 09:37 nsadimm.mib
-rwxrwxrwx 1 root   nagios   20140 Feb 12 09:37 nsaevent.cfg
-rwxrwxrwx 1 root   nagios   32253 Feb 12 09:37 nsaevent.mib
-rwxrwxrwx 1 root   nagios   15534 Feb 12 09:37 nsainfo.cfg
-rwxrwxrwx 1 root   nagios   33940 Feb 12 09:37 nsainfo.mib
-rwxrwxrwx 1 root   nagios   20471 Feb 12 09:37 nsapci.cfg
-rwxrwxrwx 1 root   nagios   40438 Feb 12 09:37 nsapci.mib
-rwxrwxrwx 1 root   nagios     696 Feb 12 09:37 nsarps.cfg
-rwxrwxrwx 1 root   nagios    2174 Feb 12 09:37 nsarps.mib
-rwxrwxrwx 1 root   nagios    9305 Feb 12 09:37 nsascsi.cfg
-rwxrwxrwx 1 root   nagios   22259 Feb 12 09:37 nsascsi.mib
-rwxrwxrwx 1 root   nagios    3595 Feb 12 09:37 nsatrcfg.cfg
-rwxrwxrwx 1 root   nagios    9135 Feb 12 09:37 nsatrcfg.mib
-rwxrwxrwx 1 root   nagios    9917 Feb 12 09:37 nsatrmgr.cfg
-rwxrwxrwx 1 root   nagios   16880 Feb 12 09:37 nsatrmgr.mib
-rwxrwxrwx 1 root   nagios    8783 Feb 12 09:37 nsavolcp.cfg
-rwxrwxrwx 1 root   nagios   19575 Feb 12 09:38 nsavolcp.mib
-rwxrwxrwx 1 root   nagios   52265 Feb 12 09:38 nsnicmib.cfg
-rwxrwxrwx 1 root   nagios   96241 Feb 12 09:38 nsnicmib.mib
-rwxrwxrwx 1 root   nagios  206265 Feb 12 09:38 nwalarm.cfg
-rwxrwxrwx 1 root   nagios  235257 Feb 12 09:38 nwalarm.mib
-rwxrwxrwx 1 root   nagios   57338 Feb 12 09:38 nwserver.cfg
-rwxrwxrwx 1 root   nagios   92615 Feb 12 09:38 nwserver.mib
-rwxrwxrwx 1 root   nagios   35955 Feb 12 09:38 old-cisco-chassis.cfg
-rwxrwxrwx 1 root   nagios  125074 Feb 12 09:38 old-cisco-chassis.mib
-rwxrwxrwx 1 root   nagios    5129 Feb 12 09:38 old-cisco-flash.cfg
-rwxrwxrwx 1 root   nagios   11883 Feb 12 09:38 old-cisco-flash.mib
-rwxrwxrwx 1 root   nagios   24982 Feb 12 09:38 old-cisco-interfaces.cfg
-rwxrwxrwx 1 root   nagios   53192 Feb 12 09:38 old-cisco-interfaces.mib
-rwxrwxrwx 1 root   nagios    7505 Feb 12 09:38 old-cisco-ip.cfg
-rwxrwxrwx 1 root   nagios   16697 Feb 12 09:38 old-cisco-ip.mib
-rwxrwxrwx 1 root   nagios   19612 Feb 12 09:38 old-cisco-sys.cfg
-rwxrwxrwx 1 root   nagios   41678 Feb 12 09:38 old-cisco-sys.mib
-rwxrwxrwx 1 root   nagios    2159 Feb 12 09:38 old-cisco-tcp.cfg
-rwxrwxrwx 1 root   nagios    4913 Feb 12 09:38 old-cisco-tcp.mib
-rwxrwxrwx 1 root   nagios    8942 Feb 12 09:38 old-cisco-ts.cfg
-rwxrwxrwx 1 root   nagios   20467 Feb 12 09:38 old-cisco-ts.mib
-rwxrwxrwx 1 root   nagios    3215 Feb 12 09:38 ovis-v2.cfg
-rwxrwxrwx 1 root   nagios    3467 Feb 12 09:38 ovis-v2.mib
-rwxrwxrwx 1 root   nagios    5580 Feb 12 09:38 parselog.cfg
-rwxrwxrwx 1 root   nagios    9984 Feb 12 09:38 parselog.mib
-rwxrwxrwx 1 root   nagios   17299 Feb 12 09:38 p-bridge-mib.cfg
-rwxrwxrwx 1 root   nagios   33486 Feb 12 09:38 p-bridge-mib.mib
-rwxrwxrwx 1 root   nagios   39762 Feb 12 09:38 pcisnet.cfg
-rwxrwxrwx 1 root   nagios   55405 Feb 12 09:38 pcisnet.mib
-rwxrwxrwx 1 root   nagios   17715 Feb 12 09:38 pfc.cfg
-rwxrwxrwx 1 root   nagios   28658 Feb 12 09:38 pfc.mib
-rw-r--r-- 1 root   nagios 2030498 Nov 18  2009 powernet398.mib
-rwxrwxrwx 1 root   nagios 2241197 Feb 12 21:54 powernet405.mib
-rwxrwxrwx 1 root   nagios   90595 Feb 12 09:38 powernet.cfg
-rwxrwxrwx 1 root   nagios  105670 Feb 12 09:38 powernet.mib
-rwxrwxrwx 1 root   nagios    2608 Feb 12 09:38 preloadm.list
-rwxrwxrwx 1 root   nagios   43131 Feb 12 09:38 q-bridge.cfg
-rwxrwxrwx 1 root   nagios   69164 Feb 12 09:38 q-bridge.mib
-rwxrwxrwx 1 root   nagios    6016 Feb 12 09:38 qlogicmib2.cfg
-rwxrwxrwx 1 root   nagios    9845 Feb 12 09:38 qlogicmib2.mib
-rwxrwxrwx 1 root   nagios  146017 Feb 12 09:38 radlan-mib.cfg
-rwxrwxrwx 1 root   nagios  195066 Feb 12 09:38 radlan-mib.mib
-rwxrwxrwx 1 root   nagios      65 Feb 12 09:38 rfc1155.cfg
-rwxrwxrwx 1 root   nagios     756 Feb 12 09:38 rfc1155.mib
-rwxrwxrwx 1 root   nagios      69 Feb 12 09:38 rfc1155-smi.cfg
-rwxrwxrwx 1 root   nagios      76 Feb 12 09:38 rfc1155-smi.mib
-rwxrwxrwx 1 root   nagios    3067 Jul 23  2012 RFC1155-SMI.txt
-rwxrwxrwx 1 root   nagios   27050 Feb 12 09:38 rfc1158.cfg
-rwxrwxrwx 1 root   nagios   53976 Feb 12 09:38 rfc1158.mib
-rwxrwxrwx 1 root   nagios      63 Feb 12 09:38 rfc-1212.cfg
-rwxrwxrwx 1 root   nagios      62 Feb 12 09:38 rfc1212.cfg
-rwxrwxrwx 1 root   nagios      73 Feb 12 09:38 rfc-1212.mib
-rwxrwxrwx 1 root   nagios      73 Feb 12 09:38 rfc1212.mib
-rwxrwxrwx 1 root   nagios   57211 Feb 12 09:38 rfc-1213.cfg
-rwxrwxrwx 1 root   nagios   57210 Feb 12 09:38 rfc1213.cfg
-rwxrwxrwx 1 root   nagios    3373 Feb 12 09:38 rfc-1215.cfg
-rwxrwxrwx 1 root   nagios    3371 Feb 12 09:38 rfc1215.cfg
-rwxrwxrwx 1 root   nagios    3776 Feb 12 09:38 rfc-1215.mib
-rwxrwxrwx 1 root   nagios    3878 Feb 12 09:38 rfc1215.mib
-rwxrwxrwx 1 root   nagios    1174 Jul 23  2012 RFC-1215.txt
-rwxrwxrwx 1 root   nagios   87960 Feb 12 09:38 rfc1271-mib.cfg
-rwxrwxrwx 1 root   nagios  151031 Feb 12 09:38 rfc1271-mib.mib
-rwxrwxrwx 1 root   nagios   33902 Feb 12 09:38 rfc1514.cfg
-rwxrwxrwx 1 root   nagios   52368 Feb 12 09:38 rfc1514.mib
-rwxrwxrwx 1 root   nagios  155364 Feb 12 09:38 rmon2-mib.cfg
-rwxrwxrwx 1 root   nagios  212727 Feb 12 09:38 rmon2-mib.mib
-rwxrwxrwx 1 root   nagios   99712 Feb 12 09:38 rmon-mib.cfg
-rwxrwxrwx 1 root   nagios  155263 Feb 12 09:38 rmon-mib.mib
-rwxrwxrwx 1 root   nagios  147822 Jul 23  2012 RMON-MIB.txt
-rwxrwxrwx 1 root   nagios   45323 Jul 23  2012 SCTP-MIB.txt
-rwxrwxrwx 1 root   nagios   45134 Feb 12 09:38 smsagent.cfg
-rwxrwxrwx 1 root   nagios   50839 Feb  8 13:57 smsagent.mib
-rwxrwxrwx 1 root   nagios    4595 Jul 23  2012 SMUX-MIB.txt
-rwxrwxrwx 1 root   nagios   15490 Jul 23  2012 SNMP-COMMUNITY-MIB.txt
-rwxrwxrwx 1 root   nagios    3355 Feb 12 09:38 snmp-framework-mib.cfg
-rwxrwxrwx 1 root   nagios   22892 Feb 12 09:38 snmp-framework-mib.mib
-rwxrwxrwx 1 root   nagios   22342 Jul 23  2012 SNMP-FRAMEWORK-MIB.txt
-rwxrwxrwx 1 root   nagios    1696 Feb 12 09:38 snmp-mpd-mib.cfg
-rwxrwxrwx 1 root   nagios    5783 Feb 12 09:38 snmp-mpd-mib.mib
-rwxrwxrwx 1 root   nagios    5496 Jul 23  2012 SNMP-MPD-MIB.txt
-rwxrwxrwx 1 root   nagios   11438 Feb 12 09:38 snmp-notification-mib.cfg
-rwxrwxrwx 1 root   nagios   21242 Feb 12 09:38 snmp-notification-mib.mib
-rwxrwxrwx 1 root   nagios   20014 Jul 23  2012 SNMP-NOTIFICATION-MIB.txt
-rwxrwxrwx 1 root   nagios    9106 Jul 23  2012 SNMP-PROXY-MIB.txt
-rwxrwxrwx 1 root   nagios   11655 Feb 12 09:38 snmp-target-mib.cfg
-rwxrwxrwx 1 root   nagios   23837 Feb 12 09:38 snmp-target-mib.mib
-rwxrwxrwx 1 root   nagios   22769 Jul 23  2012 SNMP-TARGET-MIB.txt
-rwxrwxrwx 1 root   nagios   39201 Jul 23  2012 SNMP-USER-BASED-SM-MIB.txt
-rwxrwxrwx 1 root   nagios    2205 Jul 23  2012 SNMP-USM-AES-MIB.txt
-rwxrwxrwx 1 root   nagios   21101 Jul 23  2012 SNMP-USM-DH-OBJECTS-MIB.txt
-rwxrwxrwx 1 root   nagios      69 Feb 12 09:38 snmpv2-conf.cfg
-rwxrwxrwx 1 apache apache     267 Feb 12 09:38 SNMPv2-CONF.mib
-rwxrwxrwx 1 root   nagios    8263 Jul 23  2012 SNMPv2-CONF.txt
-rwxrwxrwx 1 root   nagios   18226 Feb 12 09:38 snmpv2-mib.cfg
-rwxrwxrwx 1 apache apache   32788 Feb 12 09:38 snmpv2-mib.mib
-rwxrwxrwx 1 root   nagios   29305 Jul 23  2012 SNMPv2-MIB.txt
-rwxrwxrwx 1 root   nagios     744 Feb 12 09:38 snmpv2-smi.cfg
-rwxrwxrwx 1 root   nagios    1398 Feb 12 09:38 SNMPv2-SMI.mib
-rwxrwxrwx 1 root   nagios    8924 Jul 23  2012 SNMPv2-SMI.txt
-rwxrwxrwx 1 root   nagios     666 Feb 12 09:38 SNMPv2-SMI-v1.cfg
-rwxrwxrwx 1 apache apache    1414 Feb 12 09:38 SNMPv2-SMI-v1.mib
-rwxrwxrwx 1 root   nagios     840 Feb 12 09:38 snmpv2-tc.cfg
-rwxrwxrwx 1 root   nagios   35911 Feb 12 09:38 SNMPv2-TC.mib
-rwxrwxrwx 1 root   nagios   38034 Jul 23  2012 SNMPv2-TC.txt
-rwxrwxrwx 1 root   nagios     603 Feb 12 09:38 snmpv2-tc-v1.cfg
-rwxrwxrwx 1 root   nagios    2544 Feb 12 09:38 snmpv2-tc-v1.mib
-rwxrwxrwx 1 root   nagios    5775 Jul 23  2012 SNMPv2-TM.txt
-rwxrwxrwx 1 root   nagios   34162 Jul 23  2012 SNMP-VIEW-BASED-ACM-MIB.txt
-rwxrwxrwx 1 root   nagios    7967 Feb 12 09:38 svrclu.cfg
-rwxrwxrwx 1 root   nagios   13710 Feb 12 09:38 svrclu.mib
-rwxrwxrwx 1 root   nagios   47802 Feb 12 09:38 svrmgt.cfg
-rwxrwxrwx 1 root   nagios   62043 Feb 12 09:38 svrmgt.mib
-rwxrwxrwx 1 root   nagios    5491 Feb  8 13:57 svrntc.cfg
-rwxrwxrwx 1 root   nagios    9721 Feb 18 14:29 svrntc.mib
-rwxrwxrwx 1 root   nagios   40307 Feb  8 13:57 switch.cfg
-rwxrwxrwx 1 root   nagios   54840 Feb 12 09:38 switch.mib
-rwxrwxrwx 1 root   nagios   10038 Feb 12 09:38 symtrap.cfg
-rwxrwxrwx 1 root   nagios   21988 Feb 12 09:38 symtrap.mib
-rwxrwxrwx 1 root   nagios   12003 Feb 12 09:38 tcp.mib
-rwxrwxrwx 1 root   nagios    6932 Feb 12 09:38 tcp-mib.cfg
-rwxrwxrwx 1 root   nagios   11980 Feb 12 09:38 tcp-mib.mib
-rwxrwxrwx 1 root   nagios   28564 Jul 23  2012 TCP-MIB.txt
-rwxrwxrwx 1 root   nagios   12407 Feb 12 09:38 token.cfg
-rwxrwxrwx 1 root   nagios   28476 Feb 12 09:38 token.mib
-rwxrwxrwx 1 root   nagios   61960 Feb 12 09:38 token-ring-rmon-mib.cfg
-rwxrwxrwx 1 root   nagios   73577 Feb 12 09:38 token-ring-rmon-mib.mib
-rwxrwxrwx 1 root   nagios    2822 Feb 12 09:38 TRANSPORT-ADDRESS-MIB.cfg
-rwxrwxrwx 1 root   nagios   16808 Feb 12 09:38 TRANSPORT-ADDRESS-MIB.mib
-rwxrwxrwx 1 root   nagios   16418 Jul 23  2012 TRANSPORT-ADDRESS-MIB.txt
-rwxrwxrwx 1 root   nagios   32273 Feb 12 09:38 truclu.cfg
-rwxrwxrwx 1 root   nagios   53624 Feb 12 09:38 truclu.mib
-rwxrwxrwx 1 root   nagios    2163 Jul 23  2012 UCD-DEMO-MIB.txt
-rwxrwxrwx 1 root   nagios    4402 Jul 23  2012 UCD-DISKIO-MIB.txt
-rwxrwxrwx 1 root   nagios    3010 Jul 23  2012 UCD-DLMOD-MIB.txt
-rwxrwxrwx 1 root   nagios    8118 Jul 23  2012 UCD-IPFWACC-MIB.txt
-rwxrwxrwx 1 root   nagios   26581 Feb 12 09:38 ucd-snmp-mib.cfg
-rwxrwxrwx 1 root   nagios   36651 Feb 12 09:38 ucd-snmp-mib.mib
-rwxrwxrwx 1 root   nagios   46150 Jul 23  2012 UCD-SNMP-MIB.txt
-rwxrwxrwx 1 root   nagios   11822 Feb 12 09:38 udp-mib.cfg
-rwxrwxrwx 1 root   nagios   22861 Feb 12 09:38 udp-mib.mib
-rwxrwxrwx 1 root   nagios   20882 Jul 23  2012 UDP-MIB.txt
-rwxrwxrwx 1 root   nagios    1398 Feb 12 09:38 ums.cfg
-rwxrwxrwx 1 root   nagios    1984 Feb 12 09:38 ums.mib
-rwxrwxrwx 1 root   nagios   38273 Feb 12 09:38 unified.cfg
-rwxrwxrwx 1 root   nagios   61436 Feb 12 09:38 unified.mib
-rwxrwxrwx 1 root   nagios     267 Feb 12 09:38 upg52t521.list
-rwxrwxrwx 1 root   nagios     198 Feb 12 09:38 upg52t53.list
-rwxrwxrwx 1 root   nagios      24 Feb 12 09:38 upg53t531.list
-rwxrwxrwx 1 root   nagios     506 Feb 12 09:38 upg53t54.list
-rwxrwxrwx 1 root   nagios     120 Feb 12 09:38 upgmibs.list
-rwxrwxrwx 1 root   nagios   14826 Feb 12 09:38 v5_0ficon.cfg
-rwxrwxrwx 1 root   nagios   24048 Feb 12 09:38 v5_0ficon.mib
-rwxrwxrwx 1 root   nagios   10989 Feb 12 09:38 v5_1ha.cfg
-rwxrwxrwx 1 root   nagios    9102 Feb 12 09:38 v5_1ha.mib
-rwxrwxrwx 1 root   nagios   80019 Feb 12 09:38 v5_3sw.cfg
-rwxrwxrwx 1 root   nagios   91664 Feb 12 09:38 v5_3sw.mib
-rwxrwxrwx 1 root   nagios   29857 Feb 12 09:38 vc-domain-mib.cfg
-rwxrwxrwx 1 root   nagios   43836 Feb 12 09:38 vc-domain-mib.mib
-rwxrwxrwx 1 root   nagios   11470 Feb 12 09:38 vc-module-mib.cfg
-rwxrwxrwx 1 root   nagios   17910 Feb 12 09:38 vc-module-mib.mib
-rwxrwxrwx 1 root   nagios     338 Feb 12 09:38 VMWARE-AGENTCAP-MIB.cfg
-rwxrwxrwx 1 root   nagios   20814 Feb 12 09:38 VMWARE-AGENTCAP-MIB.mib
-rwxrwxrwx 1 root   nagios     879 Feb 12 09:38 VMWARE-CIMOM-MIB.cfg
-rwxrwxrwx 1 apache apache    2338 Feb 12 09:38 VMWARE-CIMOM-MIB.mib
-rwxrwxrwx 1 root   nagios   14871 Feb 12 09:38 VMWARE-ENV-MIB.cfg
-rwxrwxrwx 1 root   nagios   22411 Feb 12 09:38 VMWARE-ENV-MIB.mib
-rwxrwxrwx 1 root   nagios   11404 Feb 12 09:38 VMWARE-OBSOLETE-MIB.cfg
-rwxrwxrwx 1 root   nagios   15670 Feb 12 09:38 VMWARE-OBSOLETE-MIB.mib
-rwxrwxrwx 1 root   nagios     601 Feb 12 09:38 VMWARE-PRODUCTS-MIB.cfg
-rwxrwxrwx 1 root   nagios    1424 Feb 12 09:38 VMWARE-PRODUCTS-MIB.mib
-rwxrwxrwx 1 root   nagios    6884 Feb 12 09:38 VMWARE-RESOURCES-MIB.cfg
-rwxrwxrwx 1 apache apache    8306 Feb 12 09:38 VMWARE-RESOURCES-MIB.mib
-rwxrwxrwx 1 root   nagios     738 Feb 12 09:38 VMWARE-ROOT-MIB.cfg
-rwxrwxrwx 1 root   nagios    3072 Feb 12 09:38 VMWARE-ROOT-MIB.mib
-rwxrwxrwx 1 root   nagios    2644 Feb 12 09:38 VMWARE-SYSTEM-MIB.cfg
-rwxrwxrwx 1 root   nagios    3872 Feb 12 09:38 VMWARE-SYSTEM-MIB.mib
-rwxrwxrwx 1 root   nagios    1833 Feb 12 09:38 VMWARE-TC-MIB.cfg
-rwxrwxrwx 1 apache apache    6800 Feb 12 09:38 VMWARE-TC-MIB.mib
-rwxrwxrwx 1 root   nagios    2835 Feb 12 09:38 VMWARE-TRAPS-MIB.cfg
-rwxrwxrwx 1 apache apache    4004 Feb 12 09:38 VMWARE-TRAPS-MIB.mib
-rwxrwxrwx 1 root   nagios    5178 Feb 12 09:38 VMWARE-VC-EVENT-MIB.cfg
-rwxrwxrwx 1 apache apache    8772 Feb 12 09:38 VMWARE-VC-EVENT-MIB.mib
-rwxrwxrwx 1 root   nagios   18692 Feb 12 09:38 VMWARE-VMINFO-MIB.cfg
-rwxrwxrwx 1 root   nagios   27003 Feb 12 09:38 VMWARE-VMINFO-MIB.mib
-rwxrwxrwx 1 root   nagios     514 Feb 12 09:38 VMWARE-VMKERNEL-MIB.cfg
-rwxrwxrwx 1 apache apache     774 Feb 12 09:38 VMWARE-VMKERNEL-MIB.mib
-rwxrwxrwx 1 root   nagios   77958 Feb 12 09:38 wbt3mib.cfg
-rwxrwxrwx 1 root   nagios  128907 Feb 12 09:38 wbt3mib.mib
-rwxrwxrwx 1 root   nagios    1476 Feb 12 09:38 xp1024trapmib.cfg
-rwxrwxrwx 1 root   nagios    1806 Feb 18 14:27 xp1024trapmib.mib
-rwxrwxrwx 1 root   nagios    6935 Feb 12 09:38 zesa.cfg
-rwxrwxrwx 1 root   nagios    9209 Feb 12 09:38 zesa.mib
-rwxrwxrwx 1 root   nagios   52211 Feb 12 09:38 zhrm.cfg
-rwxrwxrwx 1 root   nagios   71118 Feb 12 09:38 zhrm.mib
-rwxrwxrwx 1 root   nagios   12981 Feb 12 09:38 zsmp.cfg
-rwxrwxrwx 1 root   nagios   25085 Feb 12 09:38 zsmp.mib
-rwxrwxrwx 1 root   nagios    8475 Feb 12 09:38 ztmx.cfg
-rwxrwxrwx 1 root   nagios   12111 Feb 12 09:38 ztmx.mib
-rwxrwxrwx 1 root   nagios    9283 Feb 12 09:38 ztsa.cfg
-rwxrwxrwx 1 root   nagios   14625 Feb 12 09:38 ztsa.mib
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: cannot import MIBS

Post by slansing »

What MIB are you attempting to upload? What version of Nagios XI are you running?
shakra2005
Posts: 70
Joined: Sun Aug 05, 2012 4:24 pm

Re: cannot import MIBS

Post by shakra2005 »

i want to upload the powernet405.mib and i use NagiosXI 2012R 1.6
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: cannot import MIBS

Post by slansing »

Have you tried using anything which requires this MIB yet? It looks like it is in the directory:

Code: Select all

-rwxrwxrwx 1 root nagios 2241197 Feb 12 21:54 powernet405.mib
shakra2005
Posts: 70
Joined: Sun Aug 05, 2012 4:24 pm

Re: cannot import MIBS

Post by shakra2005 »

yes but it dont work

-rwxrwxrwx 1 root nagios 2241197 Feb 12 21:54 /usr/share/snmp/mibs/powernet405.mib


when i try to upload from my windows machine it dont work too
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: cannot import MIBS

Post by slansing »

For good measure lets run the following:

Code: Select all

chown root:nagios /usr/share/snmp/mibs
chmod g+w /usr/share/snmp/mibs
Though it is already there as I showed you above.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: cannot import MIBS

Post by scottwilkerson »

This mib is already in the directory list you showed above, there is no need to re-upload it.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
shakra2005
Posts: 70
Joined: Sun Aug 05, 2012 4:24 pm

Re: cannot import MIBS

Post by shakra2005 »

okay i have run the two commands.

now its to import the mib in Nagios.

I would like to monitor a APC USV

can you tell me how to import in nagios ?

when i run snmpwalk -v1 -c public localhost

i cannot see the mib

snmptranslate powernet405.mib
powernet405.mib: Unknown Object Identifier (Sub-id not found: (top) -> powernet405)
Locked