Page 1 of 4
Error loading a mib
Posted: Thu Oct 06, 2016 10:04 am
by iSkyDive
Hello!
So here is my Issue : I uploaded some MIBs and converted them 2 days ago, all was fine, but now my traps are still received in unknown so I said to myself : let's upload the MIBs again! But now, when I try to upload a mib using the web interface, I have the following error message : failed to convert to snmptt mib (rc 13)...
Anyway got this and found out a solution?
Thanks a lot!
Re: Error loading a mib
Posted: Thu Oct 06, 2016 11:25 am
by tgriep
It could be a permission issue with the SNMP Trap config files or the folder where the MIB files are localed.
You can run the following as root and post the output so we can see the permission settings?
Code: Select all
ls -l /etc/snmp
ls -l /usr/share/snmp/mibs
Re: Error loading a mib
Posted: Fri Oct 07, 2016 1:39 am
by iSkyDive
Hello !
Thanks for the reply, and sorry for MY late answer, I have no access to the server from my home ...
Here are the outputs :
Code: Select all
[root@srvnag snmptt]# ls -l /etc/snmp/
total 428
-rw--w----. 1 root root 18861 May 12 15:14 snmpd.conf
-rw--w----. 1 root root 68 Sep 9 13:33 snmptrapd.conf
-rw-rw-r--. 1 root nagios 372855 Oct 4 11:54 snmptt.conf
-rw-rw-r--. 1 apache nagios 30356 Oct 4 11:54 snmptt.ini
Code: Select all
[root@srvnag snmptt]# ls -l /usr/share/snmp/mibs
total 12524
-rw-rw-r--. 1 root nagios 26505 Oct 6 16:22 AaIETF_HUBMIB_POWER_ETHERNET_DRAFT.mib
-rw-rw-r--. 1 root nagios 17455 May 12 15:14 AGENTX-MIB.txt
-rw-rw-r--. 1 root nagios 148547 Sep 9 14:28 AlcatelIND1AAA.mib
-rw-rw-r--. 1 root nagios 22347 Sep 9 14:29 AlcatelIND1Base.mib
-rw-rw-r--. 1 root nagios 183751 Sep 9 14:29 AlcatelIND1Bgp.mib
-rw-rw-r--. 1 root nagios 99409 Oct 6 16:22 AlcatelIND1Chassis.mib
-rw-rw-r--. 1 root nagios 39765 Sep 9 14:29 AlcatelIND1ConfigMgr.mib
-rw-rw-r--. 1 root nagios 89394 Sep 9 14:29 AlcatelIND1Devices.mib
-rw-rw-r--. 1 root nagios 13387 Sep 9 14:30 alcatel-ind1-dhcp-srv-mib.mib
-rw-rw-r--. 1 root nagios 19955 Sep 9 14:30 ALCATEL-IND1-DHL-MIB.mib
-rw-rw-r--. 1 root nagios 14919 Sep 9 14:30 AlcatelIND1Dot1Q.mib
-rw-rw-r--. 1 root nagios 63008 Sep 9 14:30 AlcatelIND1Dot1X.mib
-rw-rw-r--. 1 root nagios 33489 Sep 9 14:30 alcatel-ind1-dot3-oam-mib.mib
-rw-rw-r--. 1 root nagios 87157 Sep 9 14:31 AlcatelIND1DrcTm.mib
-rw-rw-r--. 1 root nagios 20598 Sep 9 14:31 AlcatelIND1Dvmrp.mib
-rw-rw-r--. 1 root nagios 15298 Sep 9 14:32 AlcatelIND1Eoam.mib
-rw-rw-r--. 1 root nagios 28204 Sep 9 14:32 AlcatelIND1Erp.mib
-rw-rw-r--. 1 root nagios 94924 Sep 9 14:32 AlcatelIND1EService.mib
-rw-rw-r--. 1 root nagios 70614 Sep 9 14:32 AlcatelIND1GroupMobility.mib
-rw-rw-r--. 1 root nagios 31351 Sep 9 14:32 AlcatelIND1GVRP.mib
-rw-rw-r--. 1 root nagios 53565 Sep 9 14:32 AlcatelIND1Health.mib
-rw-rw-r--. 1 root nagios 67709 Sep 9 14:33 AlcatelIND1Igmp.mib
-rw-rw-r--. 1 root nagios 15200 Sep 9 14:33 AlcatelIND1InLinePowerEthernet.mib
-rw-rw-r--. 1 root nagios 23130 Sep 9 14:33 AlcatelIND1InterswitchProtocol.mib
-rw-rw-r--. 1 root nagios 55425 Sep 9 14:36 AlcatelIND1IpMcastDraft.mib
-rw-rw-r--. 1 root nagios 56153 Sep 9 14:33 AlcatelIND1Ip.mib
-rw-rw-r--. 1 root nagios 8450 Sep 9 14:36 AlcatelIND1Ipmrm.mib
-rw-rw-r--. 1 root nagios 41150 Sep 9 14:36 AlcatelIND1Ipms.mib
-rw-rw-r--. 1 root nagios 17972 Sep 9 14:36 AlcatelIND1IPMV.mib
-rw-rw-r--. 1 root nagios 14869 Sep 9 14:36 AlcatelIND1Iprm.mib
-rw-rw-r--. 1 root nagios 12239 Sep 9 14:36 AlcatelIND1IprmV6.mib
-rw-rw-r--. 1 root nagios 36660 Sep 9 14:37 AlcatelIND1IPsec.mib
-rw-rw-r--. 1 root nagios 50754 Sep 9 14:37 AlcatelIND1IPv6.mib
-rw-rw-r--. 1 root nagios 29389 Sep 9 14:37 AlcatelIND1Ipx.mib
-rw-rw-r--. 1 root nagios 140121 Sep 9 14:37 AlcatelIND1Isis.mib
-rw-rw-r--. 1 root nagios 74374 Sep 9 14:37 AlcatelIND1LAG.mib
-rw-rw-r--. 1 root nagios 19609 Sep 9 14:37 alcatel-ind1-lbd-mib.mib
-rw-rw-r--. 1 root nagios 18732 Sep 9 14:39 AlcatelIND1LicenseManager.mib
-rw-rw-r--. 1 root nagios 12539 Sep 9 14:39 alcatel-ind1-lldp-med-mib.mib
-rw-rw-r--. 1 root nagios 10916 Sep 9 14:39 AlcatelIND1LLDP.mib
-rw-rw-r--. 1 root nagios 22604 Sep 9 14:39 AlcatelIND1LPS.mib
-rw-rw-r--. 1 root nagios 30601 Sep 9 14:39 AlcatelIND1MacAddress.mib
-rw-rw-r--. 1 root nagios 16651 Sep 9 14:40 AlcatelIND1MacServer.mib
-rw-rw-r--. 1 root nagios 48035 Sep 9 14:40 AlcatelIND1Mld.mib
-rw-rw-r--. 1 root nagios 28170 Sep 9 14:40 alcatel-ind1-mvrp-mib.mib
-rw-rw-r--. 1 root nagios 33651 Sep 9 14:40 AlcatelIND1Ns.mib
-rw-rw-r--. 1 root nagios 78745 Sep 9 14:40 AlcatelIND1Ntp.mib
-rw-rw-r--. 1 root nagios 24053 Sep 9 14:40 AlcatelIND1Openflow.mib
-rw-rw-r--. 1 root nagios 5672 Sep 9 14:40 AlcatelIND1Ospf3.mib
-rw-rw-r--. 1 root nagios 95812 Sep 9 14:40 AlcatelIND1Ospf.mib
-rw-rw-r--. 1 root nagios 16307 Sep 9 14:40 AlcatelIND1PartitionedMgr.mib
-rw-rw-r--. 1 root nagios 18917 Sep 9 14:42 AlcatelIND1Pcam.mib
-rw-rw-r--. 1 root nagios 23488 Sep 9 14:43 AlcatelIND1PimBsrDraft.mib
-rw-rw-r--. 1 root nagios 30496 Sep 9 14:42 AlcatelIND1Pim.mib
-rw-rw-r--. 1 root nagios 124559 Sep 9 14:43 AlcatelIND1PimStdDraft.mib
-rw-rw-r--. 1 root nagios 33265 Sep 9 14:43 AlcatelIND1Policy.mib
-rw-rw-r--. 1 root nagios 8794 Sep 9 14:43 AlcatelIND1PortMapping.mib
-rw-rw-r--. 1 root nagios 153811 Sep 9 14:43 AlcatelIND1Port.mib
-rw-rw-r--. 1 root nagios 29072 Sep 9 14:43 AlcatelIND1PortMirMon.mib
-rw-rw-r--. 1 root nagios 21490 Sep 9 14:43 alcatel-ind1-pppoeia-mib.mib
-rw-rw-r--. 1 root nagios 448980 Sep 9 14:44 AlcatelIND1QoS.mib
-rw-rw-r--. 1 root nagios 8079 Sep 9 14:44 AlcatelIND1Rdp.mib
-rw-rw-r--. 1 root nagios 39574 Sep 9 14:44 AlcatelIND1Rip.mib
-rw-rw-r--. 1 root nagios 42677 Sep 9 14:44 AlcatelIND1Ripng.mib
-rw-rw-r--. 1 root nagios 21520 Sep 9 14:45 AlcatelIND1RouteMap.mib
-rw-rw-r--. 1 root nagios 81634 Sep 9 14:45 alcatel-ind1-saa-mib.mib
-rw-rw-r--. 1 root nagios 15196 Sep 9 14:45 AlcatelIND1SessionMgr.mib
-rw-rw-r--. 1 root nagios 45250 Sep 9 14:45 AlcatelIND1Slb.mib
-rw-rw-r--. 1 root nagios 6568 Sep 9 14:45 AlcatelIND1SNMPAgent.mib
-rw-rw-r--. 1 root nagios 4932 Sep 9 14:45 AlcatelIND1Ssh.mib
-rw-rw-r--. 1 root nagios 43347 Sep 9 14:45 AlcatelIND1StackManager.mib
-rw-rw-r--. 1 root nagios 68653 Sep 9 14:45 AlcatelIND1System.mib
-rw-rw-r--. 1 root nagios 64125 Sep 9 14:46 ALCATEL-IND1-TEST-OAM-MIB.mib
-rw-rw-r--. 1 root nagios 51197 Sep 9 14:47 AlcatelIND1TpDevices.mib
-rw-rw-r--. 1 root nagios 16021 Sep 9 14:47 AlcatelIND1TrapMgr.mib
-rw-rw-r--. 1 root nagios 8992 Sep 9 14:47 AlcatelIND1TWAMP.mib
-rw-rw-r--. 1 root nagios 20614 Sep 9 14:47 AlcatelIND1UDLD.mib
-rw-rw-r--. 1 root nagios 88931 Sep 9 14:47 AlcatelIND1UDPRelay.mib
-rw-rw-r--. 1 root nagios 25173 Sep 9 14:47 AlcatelIND1VlanManager.mib
-rw-rw-r--. 1 root nagios 13449 Sep 9 14:47 AlcatelIND1VlanStacking.mib
-rw-rw-r--. 1 root nagios 123256 Sep 9 14:47 AlcatelIND1VlanSTP.mib
-rw-rw-r--. 1 root nagios 27255 Sep 9 14:48 AlcatelIND1VRRP3.mib
-rw-rw-r--. 1 root nagios 35519 Sep 9 14:48 AlcatelIND1VRRP.mib
-rw-rw-r--. 1 root nagios 12581 Sep 9 14:48 AlcatelIND1WebMgt.mib
-rw-rw-r--. 1 root nagios 1714012 Sep 9 14:20 alcatel.tree
-rw-rw-r--. 1 root nagios 59378 Sep 9 14:48 ANSI_TIA_LLDP_MED.mib
-rw-rw-r--. 1 root nagios 50948 May 12 15:14 BRIDGE-MIB.txt
-rw-rw-r--. 1 root nagios 8120 Oct 6 16:11 CPQ-APPLIANCE.mib
-rw-rw-r--. 1 root nagios 75319 Oct 6 16:10 CPQ-CR.mib
-rw-rw-r--. 1 root nagios 271872 Oct 6 16:10 CPQ-FCA.mib
-rw-rw-r--. 1 root nagios 265458 Oct 4 11:51 CPQ-HLTH.mib
-rw-rw-r--. 1 root nagios 117979 Oct 6 16:12 CPQ-HOST.mib
-rw-rw-r--. 1 root nagios 468377 Oct 6 16:12 CPQ-IDA.mib
-rw-rw-r--. 1 root nagios 76399 Oct 6 16:12 CPQ-IDE.mib
-rw-rw-r--. 1 root nagios 105407 Oct 6 16:12 CPQ-NIC.mib
-rw-rw-r--. 1 root nagios 282156 Oct 4 11:52 CPQ-RACK.mib
-rw-rw-r--. 1 root nagios 269630 Oct 4 11:53 CPQ-SCSI.mib
-rw-rw-r--. 1 root nagios 168206 Oct 4 11:53 CPQ-SINFO.mib
-rw-rw-r--. 1 root nagios 148242 Oct 4 11:53 CPQ-SM2.mib
-rw-rw-r--. 1 root nagios 209933 Oct 4 11:53 CPQ-STDEQ.mib
-rw-rw-r--. 1 root nagios 177892 Oct 4 11:53 CPQ-STSYS.mib
-rw-rw-r--. 1 apache nagios 36833 Oct 6 16:16 CPQ-THRSH.mib
-rw-rw-r--. 1 root nagios 68104 May 12 15:14 DISMAN-EVENT-MIB.txt
-rw-rw-r--. 1 root nagios 24613 May 12 15:14 DISMAN-SCHEDULE-MIB.txt
-rw-rw-r--. 1 root nagios 64311 May 12 15:14 DISMAN-SCRIPT-MIB.txt
-rw-rw-r--. 1 root nagios 91360 Sep 9 14:48 dot3-oam-mib.mib
-rw-rw-r--. 1 root nagios 84492 May 12 15:14 EtherLike-MIB.txt
-rw-rw-r--. 1 root nagios 4660 May 12 15:14 HCNUM-TC.txt
-rw-rw-r--. 1 root nagios 52544 May 12 15:14 HOST-RESOURCES-MIB.txt
-rw-rw-r--. 1 root nagios 10583 May 12 15:14 HOST-RESOURCES-TYPES.txt
-rw-rw-r--. 1 root nagios 4819 May 12 15:14 IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt
-rw-rw-r--. 1 root nagios 28656 Sep 9 14:49 IANA_IFTYPE.mib
-rw-rw-r--. 1 root nagios 32465 May 12 15:14 IANAifType-MIB.txt
-rw-rw-r--. 1 root nagios 4299 May 12 15:14 IANA-LANGUAGE-MIB.txt
-rw-rw-r--. 1 root nagios 3515 Sep 9 14:49 IANA_RTPROTO.mib
-rw-rw-r--. 1 root nagios 3659 May 12 15:14 IANA-RTPROTO-MIB.txt
-rw-rw-r--. 1 root nagios 50976 Sep 9 14:49 IEEE_802_1X.mib
-rw-rw-r--. 1 root nagios 45481 Sep 9 14:50 IEEE_8023_LAG.mib
-rw-rw-r--. 1 root nagios 80396 Sep 9 14:50 IEEE_LLDP_Base.mib
-rw-rw-r--. 1 root nagios 29746 Sep 9 14:50 IEEE_LLDP_Dot1.mib
-rw-rw-r--. 1 root nagios 30183 Sep 9 14:50 IEEE_LLDP_Dot3.mib
-rw-rw-r--. 1 root nagios 140993 Sep 9 14:50 IETF_802_1ag.mib
-rw-rw-r--. 1 root nagios 37267 Sep 9 14:50 IETF_BGP4.mib
-rw-rw-r--. 1 root nagios 46813 Sep 9 14:50 IETF_BRIDGE.mib
-rw-rw-r--. 1 root nagios 26207 Sep 9 14:50 IETF_DVMRP_STD_DRAFT.mib
-rw-rw-r--. 1 root nagios 52658 Sep 9 14:51 IETF_ENTITY.mib
-rw-rw-r--. 1 root nagios 53091 Sep 9 14:51 IETF_ETHERLIKE.mib
-rw-rw-r--. 1 root nagios 4658 Sep 9 14:51 IETF_HCNUM_TC.mib
-rw-rw-r--. 1 root nagios 71758 Sep 9 14:51 IETF_IF.mib
-rw-rw-r--. 1 root nagios 17341 Sep 9 14:53 IETF_IGMP_STD.mib
-rw-rw-r--. 1 root nagios 16777 Sep 9 14:53 IETF_INET_ADDRESS.mib
-rw-rw-r--. 1 root nagios 26769 Sep 9 14:53 IETF_IP_FORWARD.mib
-rw-rw-r--. 1 root nagios 31159 Sep 9 14:53 IETF_IPMROUTE_STD.mib
-rw-rw-r--. 1 root nagios 2166 Sep 9 14:53 IETF_IPV6_FLOW_LABEL.mib
-rw-rw-r--. 1 root nagios 17346 Sep 9 14:53 IETF_IPV6_ICMP.mib
-rw-rw-r--. 1 root nagios 61845 Sep 9 14:53 IETF_IPV6.mib
-rw-rw-r--. 1 root nagios 7256 Sep 9 14:54 IETF_IPV6_TCP.mib
-rw-rw-r--. 1 root nagios 4399 Sep 9 14:54 IETF_IPV6_UDP.mib
-rw-rw-r--. 1 root nagios 90203 Sep 9 14:54 IETF_ISIS.mib
-rw-rw-r--. 1 root nagios 90277 Sep 9 14:54 IETF_MAU.mib
-rw-rw-r--. 1 root nagios 14765 Sep 9 14:54 IETF_MLD_STD.mib
-rw-rw-r--. 1 root nagios 114326 Sep 9 14:54 IETF_OSPF3.mib
-rw-rw-r--. 1 root nagios 86057 Sep 9 14:54 IETF_OSPF.mib
-rw-rw-r--. 1 root nagios 16074 Sep 9 14:54 IETF_OSPF_TRAP.mib
-rw-rw-r--. 1 root nagios 32464 Sep 9 14:57 IETF_P_BRIDGE.mib
-rw-rw-r--. 1 root nagios 41391 Sep 9 14:58 IETF_PIM.mib
-rw-rw-r--. 1 root nagios 69899 Sep 9 14:58 IETF_Q_BRIDGE.mib
-rw-rw-r--. 1 root nagios 16657 Sep 9 14:58 IETF_RIPv2.mib
-rw-rw-r--. 1 root nagios 151382 Sep 9 14:58 IETF_RMON.mib
-rw-rw-r--. 1 root nagios 23935 Sep 9 14:58 IETF_RS_232.mib
-rw-rw-r--. 1 root nagios 15549 Sep 9 14:58 IETF_SNMP_COMMUNITY.mib
-rw-rw-r--. 1 root nagios 22030 Sep 9 14:58 IETF_SNMP_FRAMEWORK.mib
-rw-rw-r--. 1 root nagios 5676 Sep 9 14:58 IETF_SNMP_MPD.mib
-rw-rw-r--. 1 root nagios 20604 Sep 9 14:59 IETF_SNMP_NOTIFICATION.mib
-rw-rw-r--. 1 root nagios 9203 Sep 9 14:59 IETF_SNMP_PROXY.mib
-rw-rw-r--. 1 root nagios 23128 Sep 9 14:59 IETF_SNMP_TARGET.mib
-rw-rw-r--. 1 root nagios 38322 Sep 9 14:59 IETF_SNMP_USER_BASED_SM.mib
-rw-rw-r--. 1 root nagios 23498 Sep 9 15:01 IETF_SNMPv2_IP.mib
-rw-rw-r--. 1 root nagios 25132 Sep 9 14:59 IETF_SNMPv2.mib
-rw-rw-r--. 1 root nagios 28562 Sep 9 15:01 IETF_SNMPv2_TCP.mib
-rw-rw-r--. 1 root nagios 22300 Sep 9 15:01 IETF_SNMPv2_UDP.mib
-rw-rw-r--. 1 root nagios 33467 Sep 9 14:59 IETF_SNMP_VIEW_BASED_ACM.mib
-rw-rw-r--. 1 root nagios 26882 Sep 9 15:01 IETF_TUNNEL.mib
-rw-rw-r--. 1 root nagios 26695 Sep 9 15:02 IETF_VRRP.mib
-rw-rw-r--. 1 root nagios 5066 May 12 15:14 IF-INVERTED-STACK-MIB.txt
-rw-rw-r--. 1 root nagios 71691 May 12 15:14 IF-MIB.txt
-rw-rw-r--. 1 root nagios 16782 May 12 15:14 INET-ADDRESS-MIB.txt
-rw-rw-r--. 1 root nagios 46286 May 12 15:14 IP-FORWARD-MIB.txt
-rw-rw-r--. 1 root nagios 185667 May 12 15:14 IP-MIB.txt
-rw-rw-r--. 1 root nagios 2028 May 12 15:14 IPV6-FLOW-LABEL-MIB.txt
-rw-rw-r--. 1 root nagios 15936 May 12 15:14 IPV6-ICMP-MIB.txt
-rw-rw-r--. 1 root nagios 48703 May 12 15:14 IPV6-MIB.txt
-rw-rw-r--. 1 root nagios 7257 May 12 15:14 IPV6-TCP-MIB.txt
-rw-rw-r--. 1 root nagios 2367 May 12 15:14 IPV6-TC.txt
-rw-rw-r--. 1 root nagios 4400 May 12 15:14 IPV6-UDP-MIB.txt
-rw-rw-r--. 1 root nagios 5931 May 12 15:14 LM-SENSORS-MIB.txt
-rw-rw-r--. 1 root nagios 42375 May 12 15:14 MTA-MIB.txt
-rw-rw-r--. 1 root nagios 11201 Sep 16 09:56 MTFF-MIB.mib
-rw-rw-r--. 1 root nagios 19760 Oct 4 13:03 NAGIOS-NOTIFY-MIB.txt
-rw-rw-r--. 1 root nagios 2093 Oct 4 13:03 NAGIOS-ROOT-MIB.txt
-rw-rw-r--. 1 root nagios 15901 May 12 15:14 NET-SNMP-AGENT-MIB.txt
-rw-rw-r--. 1 root nagios 9160 May 12 15:14 NET-SNMP-EXAMPLES-MIB.txt
-rw-rw-r--. 1 root nagios 9326 May 12 15:14 NET-SNMP-EXTEND-MIB.txt
-rw-rw-r--. 1 root nagios 2036 May 12 15:14 NET-SNMP-MIB.txt
-rw-rw-r--. 1 root nagios 3350 May 12 15:14 NET-SNMP-PASS-MIB.txt
-rw-rw-r--. 1 root nagios 4814 May 12 15:14 NET-SNMP-TC.txt
-rw-rw-r--. 1 root nagios 5039 May 12 15:14 NET-SNMP-VACM-MIB.txt
-rw-rw-r--. 1 root nagios 21006 May 12 15:14 NETWORK-SERVICES-MIB.txt
-rw-rw-r--. 1 root nagios 24694 May 12 15:14 NOTIFICATION-LOG-MIB.txt
-rw-rw-r--. 1 root nagios 44109 Sep 9 15:02 NOVELL_IPX.mib
-rw-rw-r--. 1 root nagios 12885 Sep 9 15:02 NOVELL_RIPSAP.mib
drwxr-sr-x. 2 root nagios 4096 Oct 4 11:54 processed_mibs
-rw-rw-r--. 1 root nagios 3067 May 12 15:14 RFC1155-SMI.txt
-rw-rw-r--. 1 root nagios 79667 May 12 15:14 RFC1213-MIB.txt
-rw-rw-r--. 1 root nagios 1174 May 12 15:14 RFC-1215.txt
-rw-rw-r--. 1 root nagios 147822 May 12 15:14 RMON-MIB.txt
-rw-rw-r--. 1 root nagios 45323 May 12 15:14 SCTP-MIB.txt
-rw-rw-r--. 1 root nagios 25858 Sep 9 15:02 SFLOW_RFC3176.mib
-rw-rw-r--. 1 root nagios 4649 May 12 15:14 SMUX-MIB.txt
-rw-rw-r--. 1 root nagios 15490 May 12 15:14 SNMP-COMMUNITY-MIB.txt
-rw-rw-r--. 1 root nagios 22342 May 12 15:14 SNMP-FRAMEWORK-MIB.txt
-rw-rw-r--. 1 root nagios 5496 May 12 15:14 SNMP-MPD-MIB.txt
-rw-rw-r--. 1 root nagios 20014 May 12 15:14 SNMP-NOTIFICATION-MIB.txt
-rw-rw-r--. 1 root nagios 9106 May 12 15:14 SNMP-PROXY-MIB.txt
-rw-rw-r--. 1 root nagios 22769 May 12 15:14 SNMP-TARGET-MIB.txt
-rw-rw-r--. 1 root nagios 39201 May 12 15:14 SNMP-USER-BASED-SM-MIB.txt
-rw-rw-r--. 1 root nagios 2205 May 12 15:14 SNMP-USM-AES-MIB.txt
-rw-rw-r--. 1 root nagios 21101 May 12 15:14 SNMP-USM-DH-OBJECTS-MIB.txt
-rw-rw-r--. 1 root nagios 8263 May 12 15:14 SNMPv2-CONF.txt
-rw-rw-r--. 1 root nagios 29305 May 12 15:14 SNMPv2-MIB.txt
-rw-rw-r--. 1 root nagios 8924 May 12 15:14 SNMPv2-SMI.txt
-rw-rw-r--. 1 root nagios 38034 May 12 15:14 SNMPv2-TC.txt
-rw-rw-r--. 1 root nagios 5775 May 12 15:14 SNMPv2-TM.txt
-rw-rw-r--. 1 root nagios 34162 May 12 15:14 SNMP-VIEW-BASED-ACM-MIB.txt
-rw-rw-r--. 1 root nagios 28564 May 12 15:14 TCP-MIB.txt
-rw-rw-r--. 1 root nagios 16418 May 12 15:14 TRANSPORT-ADDRESS-MIB.txt
-rw-rw-r--. 1 root nagios 27826 May 12 15:14 TUNNEL-MIB.txt
-rw-rw-r--. 1 root nagios 2163 May 12 15:14 UCD-DEMO-MIB.txt
-rw-rw-r--. 1 root nagios 4613 May 12 15:14 UCD-DISKIO-MIB.txt
-rw-rw-r--. 1 root nagios 3087 May 12 15:14 UCD-DLMOD-MIB.txt
-rw-rw-r--. 1 root nagios 8118 May 12 15:14 UCD-IPFWACC-MIB.txt
-rw-rw-r--. 1 root nagios 48890 May 12 15:14 UCD-SNMP-MIB.txt
-rw-rw-r--. 1 root nagios 20882 May 12 15:14 UDP-MIB.txt
I thought about that permissions as well but I don't know which ones was the first ones ...
Re: Error loading a mib
Posted: Fri Oct 07, 2016 10:48 am
by tgriep
It could be the permissions of the processed_mibs folder. Run this to fix it.
Code: Select all
chmod ug+rwx /usr/share/snmp/mibs/processed_mibs
It it still fails to upload, post back the name of the MIB file you are trying to upload and also run the following command while uploading the MIB file and post the output here.
Re: Error loading a mib
Posted: Mon Oct 10, 2016 1:59 am
by iSkyDive
Hello !
Thanks a lot, it worked !
Now the other issue I have is the following one :
I had already all the MIBs installed before that persmissions issue, and I tried to get back a trap on Nagios !
I settled up the host, I actived the passiv trap, and I sent a test trap with the equipment ... Nagios displayed nothing while the trap was recorded in snmptt.log ... I said to myself " that's a test trap, it doesn't have OID etc, it can't work", ok, but then I unplugged the power supply, and plugged it again, just to generate some traps, and those are now recorded in snmpttunknown.log ... While I had the right MIBs ...
Here is the trap in my snmpttunknown.log I got when I unplugged and plugged again :
Code: Select all
Thu Oct 6 16:02:57 2016: Unknown trap (.1.3.6.1.4.1.232.0.6032) received from srvhvsites at:
Value 0: srvhvsites
Value 1: 192.168.1.110
Value 2: 0:5:28:00.53
Value 3: .1.3.6.1.4.1.232.0.6032
Value 4: 192.168.1.110
Value 5: srvwin
Value 6: .1.3.6.1.4.1.232
Value 7:
Value 8:
Value 9:
Value 10:
Ent Value 0: .1.3.6.1.2.1.1.5.0=SRVHVSITES
Ent Value 1: .1.3.6.1.4.1.232.11.2.11.1.0=0
Ent Value 2: .1.3.6.1.4.1.232.6.2.9.3.1.1.1.1=1
Thu Oct 6 16:02:57 2016: Unknown trap (.1.3.6.1.4.1.232.0.6050) received from srvhvsites at:
Value 0: srvhvsites
Value 1: 192.168.1.110
Value 2: 0:5:28:00.53
Value 3: .1.3.6.1.4.1.232.0.6050
Value 4: 192.168.1.110
Value 5: srvwin
Value 6: .1.3.6.1.4.1.232
Value 7:
Value 8:
Value 9:
Value 10:
Ent Value 0: .1.3.6.1.2.1.1.5.0=SRVHVSITES
Ent Value 1: .1.3.6.1.4.1.232.11.2.11.1.0=0
Ent Value 2: .1.3.6.1.4.1.232.6.2.9.3.1.1.1.2=1
Ent Value 3: .1.3.6.1.4.1.232.6.2.9.3.1.2.1.2=2
Ent Value 4: .1.3.6.1.4.1.232.6.2.9.3.1.5.1.2=2
Ent Value 5: .1.3.6.1.4.1.232.6.2.9.3.1.10.1.2=
Ent Value 6: .1.3.6.1.4.1.232.6.2.9.3.1.11.1.2=
Ent Value 7: .1.3.6.1.4.1.232.6.2.9.3.1.12.1.2=00 00 00 00
Ent Value 8: .1.3.6.1.4.1.232.6.2.9.3.1.14.1.2=
Ent Value 9: .1.3.6.1.4.1.232.6.2.9.3.1.16.1.2=
Ent Value 10: .1.3.6.1.4.1.232.2.2.4.17.0=CPQ0763
Thu Oct 6 16:03:07 2016: Unknown trap (.1.3.6.1.4.1.232.0.6054) received from srvhvsites at:
Value 0: srvhvsites
Value 1: 192.168.1.110
Value 2: 0:5:28:10.57
Value 3: .1.3.6.1.4.1.232.0.6054
Value 4: 192.168.1.110
Value 5: srvwin
Value 6: .1.3.6.1.4.1.232
Value 7:
Value 8:
Value 9:
Value 10:
Ent Value 0: .1.3.6.1.2.1.1.5.0=SRVHVSITES
Ent Value 1: .1.3.6.1.4.1.232.11.2.11.1.0=0
Ent Value 2: .1.3.6.1.4.1.232.6.2.9.3.1.1.1.1=1
Thu Oct 6 16:03:07 2016: Unknown trap (.1.3.6.1.4.1.232.0.6048) received from srvhvsites at:
Value 0: srvhvsites
Value 1: 192.168.1.110
Value 2: 0:5:28:10.57
Value 3: .1.3.6.1.4.1.232.0.6048
Value 4: 192.168.1.110
Value 5: srvwin
Value 6: .1.3.6.1.4.1.232
Value 7:
Value 8:
Value 9:
Value 10:
Ent Value 0: .1.3.6.1.2.1.1.5.0=SRVHVSITES
Ent Value 1: .1.3.6.1.4.1.232.11.2.11.1.0=0
Ent Value 2: .1.3.6.1.4.1.232.6.2.9.3.1.1.1.2=1
Ent Value 3: .1.3.6.1.4.1.232.6.2.9.3.1.2.1.2=2
Ent Value 4: .1.3.6.1.4.1.232.6.2.9.3.1.5.1.2=1
Ent Value 5: .1.3.6.1.4.1.232.6.2.9.3.1.10.1.2=
Ent Value 6: .1.3.6.1.4.1.232.6.2.9.3.1.11.1.2=
Ent Value 7: .1.3.6.1.4.1.232.6.2.9.3.1.12.1.2=00 00 00 00
Ent Value 8: .1.3.6.1.4.1.232.6.2.9.3.1.14.1.2=
Ent Value 9: .1.3.6.1.4.1.232.6.2.9.3.1.16.1.2=
Ent Value 10: .1.3.6.1.4.1.232.2.2.4.17.0=CPQ0763
And here is the MIB with the OIDs of traps in it (attached) !
Thank you

Re: Error loading a mib
Posted: Mon Oct 10, 2016 4:43 pm
by ssax
Do you have these MIBs in
/usr/share/snmp/mibs as well?
If you don't then you will need to add them and re-run the addmib command against the CPQHLTH-MIB:
Code: Select all
addmib /usr/share/snmp/mibs/CPQ-HLTH.mib
Thank you
Re: Error loading a mib
Posted: Mon Oct 10, 2016 4:44 pm
by ssax
Also, please attach your /etc/snmp/snmptt.conf file and your /etc/snmp/snmptt.ini.
Re: Error loading a mib
Posted: Tue Oct 11, 2016 1:53 am
by iSkyDive
Hello !
In
/usr/share/snmp/mibs I have the :
When I run your commande, I get this message :
Code: Select all
[root@srvnag mibs]# addmib /usr/share/snmp/mibs/CPQ-HLTH.mib
This file looks like it has been added already! Exiting.
I attached them, thanks !
Re: Error loading a mib
Posted: Tue Oct 11, 2016 2:43 pm
by tgriep
Lets remove the existing entry from the /etc/snmp/snmptt.conf file and re-run the addmib command.
Edit the /etc/snmp/snmptt.conf file and remove the following line (Line 3910)
MIB: CPQHLTH-MIB (file:/usr/share/snmp/mibs/CPQ-HLTH.mib) converted on Tue Oct 4 11:51:36 2016 using snmpttconvertmib v1.3
Save the file and before you try to run the addmib command, you need to upload these required MIB files to the server first. If they are already there, you should be alright to continue.
After installing those MIBs, run this to ass the TRAP OID's to the system.
Code: Select all
addmib /usr/share/snmp/mibs/CPQ-HLTH.mib
Re: Error loading a mib
Posted: Thu Oct 13, 2016 3:01 am
by iSkyDive
Hello !
So I did everything you said and now I got the traps in snmptt.log but it is not displayed in UI ...
So what can I do to resolve that ?
And last question, if I wanna monitor using an OID and a MIB, how can I find THE OID and THE MIB which correspond to what I wanna monitor ?
Thanks to you