Hi all,
I have 2 NagiosXI servers (1 just for test purposes and another one in production). They are both with the lastest update and they both were installed using the VM.
Everything appears to be working fine but during the upgrades the production one gives me this messages:
Did not find 'InetPortNumber' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/TCP-MIB.txt)
Did not find 'InetPortNumber' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/UDP-MIB.txt)
Did not find 'InetPortNumber' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/SCTP-MIB.txt)
Did not find 'InetAddressPrefixLength' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetVersion' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetZoneIndex' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetAddressPrefixLength' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-FORWARD-MIB.txt)
Did not find 'InetAutonomousSystemNumber' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-FORWARD-MIB.txt)
I checked and everything appears equal between the test server and the production server, all the MIBs are there, the permissions are the same.
What could be the cause for this?
Thanks
MIB issues during upgrade
Re: MIB issues during upgrade
hmmm. this is strange. Have you tried re-importing the mibs? Maybe test re-importing a set of mibs and report back?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: MIB issues during upgrade
Hi,
Sorry for the late reply, been taking care of other issues.
The MIBs where I see this error are the default ones, where can I get them so that I can import them back again?
I just download them from the server and tried to import them.
When I try to import the MIBs I get this error:
"MIB could not be installed - snmptt is not installed."
This one is new since I've already imported MIBs in the past and it worked well...
Regards,
Sorry for the late reply, been taking care of other issues.
The MIBs where I see this error are the default ones, where can I get them so that I can import them back again?
I just download them from the server and tried to import them.
When I try to import the MIBs I get this error:
"MIB could not be installed - snmptt is not installed."
This one is new since I've already imported MIBs in the past and it worked well...
Regards,
Re: MIB issues during upgrade
Hi,
After solving the snmptt problem I'm able to import the MIBs, they are imported (at least the date for the MIB changes to the actual time and date), but I still get this error:
Failed to convert uploaded file to snmptt mib. (rc: 127)
Tried to upgrade again just to check the errors but I get the same:
No log handling enabled - turning on stderr logging
Did not find 'InetPortNumber' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/TCP-MIB.txt)
Did not find 'InetPortNumber' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/UDP-MIB.txt)
Did not find 'InetPortNumber' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/SCTP-MIB.txt)
Did not find 'InetAddressPrefixLength' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetVersion' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetZoneIndex' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetAddressPrefixLength' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-FORWARD-MIB.txt)
Did not find 'InetAutonomousSystemNumber' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-FORWARD-MIB.txt)
Regards,
After solving the snmptt problem I'm able to import the MIBs, they are imported (at least the date for the MIB changes to the actual time and date), but I still get this error:
Failed to convert uploaded file to snmptt mib. (rc: 127)
Tried to upgrade again just to check the errors but I get the same:
No log handling enabled - turning on stderr logging
Did not find 'InetPortNumber' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/TCP-MIB.txt)
Did not find 'InetPortNumber' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/UDP-MIB.txt)
Did not find 'InetPortNumber' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/SCTP-MIB.txt)
Did not find 'InetAddressPrefixLength' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetVersion' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetZoneIndex' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetAddressPrefixLength' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-FORWARD-MIB.txt)
Did not find 'InetAutonomousSystemNumber' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-FORWARD-MIB.txt)
Regards,
Re: MIB issues during upgrade
Hi,
I managed to solve the problem reported on the first post.
Downloaded the MIBs from internet and uploaded them to the Nagios again, and now I don't have the errors.
I only get the error:
Failed to convert uploaded file to snmptt mib. (rc: 127)
When I check the "process trap" checkbox.
What does this mean?
Regards,
I managed to solve the problem reported on the first post.
Downloaded the MIBs from internet and uploaded them to the Nagios again, and now I don't have the errors.
I only get the error:
Failed to convert uploaded file to snmptt mib. (rc: 127)
When I check the "process trap" checkbox.
What does this mean?
Regards,
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: MIB issues during upgrade
This will happen if the MIB's you are uploading are not all Trap MIB's or if they rely on additional MIB's that haven't been uploaded yet.
Re: MIB issues during upgrade
OK,
Thanks for the info.
Regards
Thanks for the info.
Regards