Monitoring Extreme Swithceswith MIB's

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Tx243
Posts: 36
Joined: Wed Oct 16, 2013 11:33 am

Monitoring Extreme Swithceswith MIB's

Post by Tx243 »

I am having a problems figuring out how to use the MIB file provided by Extreme support to monitor PSU/Fans/CPU and other traps on my switches though Nagios XI. I have uploaded the current MIB file into the Admin page and processed the file and it shows the 170 Associated Traps.

I went to the configure wizard for SNMP Walks and populated the same SNMPv3 account settings that get me the bandwidth and port up/down status notifications, selected the MIB file that I uploaded and processed but it fails with a long series of errors. Top few are below

MIB search path: $HOME/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (ENTITY-MIB): At line 14039 in /usr/share/snmp/mibs/30.7.2.1-patch1-33_MIB.txt
Did not find 'entPhysicalIndex' in module #-1 (/usr/share/snmp/mibs/30.7.2.1-patch1-33_MIB.txt)
Cannot find module (POWER-ETHERNET-MIB): At line 16593 in /usr/share/snmp/mibs/30.7.2.1-patch1-33_MIB.txt
Did not find 'pethMainPseGroupIndex' in module #-1 (/usr/share/snmp/mibs/30.7.2.1-patch1-33_MIB.txt)
Did not find 'pethPsePortGroupIndex' in module #-1 (/usr/share/snmp/mibs/30.7.2.1-patch1-33_MIB.txt)
Did not find 'pethPsePortIndex' in module #-1 (/usr/share/snmp/mibs/30.7.2.1-patch1-33_MIB.txt)
Cannot find module (ENTITY-MIB): At line 17046 in /usr/share/snmp/mibs/30.7.2.1-patch1-33_MIB.txt
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Monitoring Extreme Swithceswith MIB's

Post by gsmith »

Hi,

Could you please send me a coy of the 30.7.2.1-patch1-33_MIB.txt file?

Thank you
Tx243
Posts: 36
Joined: Wed Oct 16, 2013 11:33 am

Re: Monitoring Extreme Swithceswith MIB's

Post by Tx243 »

Sent via PM
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Monitoring Extreme Swithceswith MIB's

Post by gsmith »

Got it, thanks.

Will let you know what I find out.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Monitoring Extreme Swithceswith MIB's

Post by gsmith »

Hi,

I went through the 30.7.2.1-patch1-33_MIB.txt file and grabbed the import statements related to those 3 errors:

Code: Select all

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE
        FROM SNMPv2-SMI
    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
        FROM SNMPv2-CONF
    entPhysicalIndex
        FROM ENTITY-MIB
    entPhySensorScale, entPhySensorPrecision, entPhySensorValue,
    EntitySensorValue, entPhySensorOperStatus, entPhySensorUnitsDisplay
        FROM ENTITY-SENSOR-MIB
    EnabledStatus
        FROM P-BRIDGE-MIB
    etsysModules
        FROM ENTERASYS-MIB-NAMES;

Code: Select all

EXTREME-POE-MIB DEFINITIONS ::= BEGIN
	IMPORTS 
        MODULE-IDENTITY 	FROM SNMPv2-SMI
	OBJECT-TYPE 		FROM SNMPv2-SMI
	NOTIFICATION-TYPE	FROM SNMPv2-SMI

Code: Select all

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE
        FROM SNMPv2-SMI
    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
        FROM SNMPv2-CONF
    entPhysicalIndex
        FROM ENTITY-MIB
    entPhySensorScale, entPhySensorPrecision, entPhySensorValue,
    EntitySensorValue, entPhySensorOperStatus, entPhySensorUnitsDisplay
        FROM ENTITY-SENSOR-MIB
    EnabledStatus
        FROM P-BRIDGE-MIB
    etsysModules
        FROM ENTERASYS-MIB-NAMES;

So all that boils down to:

ENTERASYS-MIB-NAMES
ENTITY-MIB
ENTITY-SENSOR-MIB
EXTREME-BASE-MIB
P-BRIDGE-MIB
POWER-ETHERNET-MIB
SNMPv2-CONF
SNMPv2-SMI
SNMPv2-TC

Make sure you have those MIB files loaded as well. Some are "industry standard" while some may vendor-specific.

Where to search for MIBS:
https://bestmonitoringtools.com/snmp-mi ... ny-vendor/
http://www.circitor.fr/Mibs/Mibs.php
http://www.oidview.com/mibs/detail.html

Let me know how things work out.

Thanks
Tx243
Posts: 36
Joined: Wed Oct 16, 2013 11:33 am

Re: Monitoring Extreme Swithceswith MIB's

Post by Tx243 »

OK, I was able to find all the MIB's but even though it let me upload the MIB's provided by Extreme now I am getting an error that the upload failed: the snmp trap interface is an enterprise-only feature.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Monitoring Extreme Swithceswith MIB's

Post by gsmith »

Hi

Please follow the three steps on the graphic:
Image15.jpg
Please let me know how things go.

Thanks
You do not have the required permissions to view the files attached to this post.
Tx243
Posts: 36
Joined: Wed Oct 16, 2013 11:33 am

Re: Monitoring Extreme Swithceswith MIB's

Post by Tx243 »

OK we have progress, they are all imported, I have gone to SNMP Walk wizard and entered the security settings, selected the MIB provided by Extreme and the OID I am looking to monitor as a test and on the next screen it fails

No results were returned from a scan of the device.

This could be due to one of the following reasons:

No results were found based on the settings provided
Could not connect to the host (172.16.255.10) or the port (161) is unaccessible or blocked by a firewall
The snmp scan timed out (timeout currently set to 15 seconds)
The scan returned results, but did not return any results of the following filtered MIBs you selected (shown below)
30.7.2.1-patch1-33_MIB


However if I view the raw output of the scan it shows the 6 expected results with the correct integer of a fan module in place and operating

EXTREME-BASE-MIB::extremeSystem.1.9.1.2.101 = INTEGER: 1
EXTREME-BASE-MIB::extremeSystem.1.9.1.2.102 = INTEGER: 1
EXTREME-BASE-MIB::extremeSystem.1.9.1.2.103 = INTEGER: 1
EXTREME-BASE-MIB::extremeSystem.1.9.1.2.104 = INTEGER: 1
EXTREME-BASE-MIB::extremeSystem.1.9.1.2.105 = INTEGER: 1
EXTREME-BASE-MIB::extremeSystem.1.9.1.2.106 = INTEGER: 1

I tried the same thing with OID's for power supply, temperature and others and they are returning accurate results but the wizard is still failing on adding.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Monitoring Extreme Swithceswith MIB's

Post by gsmith »

Hi

Please run the SNMP Walk wizard again with these settings:
Image22.jpg
If the items you are looking for show up add them by selecting the checkbox and adding threshold
values.

Let me know how it goes please.

Thanks
You do not have the required permissions to view the files attached to this post.
Tx243
Posts: 36
Joined: Wed Oct 16, 2013 11:33 am

Re: Monitoring Extreme Swithceswith MIB's

Post by Tx243 »

I changed the values for timeout and items with the same results, it gives the error that no results were found but when you view the raw output it shows the expected results from the OID of two power supplies with the integer response of 2

EXTREME-BASE-MIB::extremeSystem.1.27.1.2.1 = INTEGER: 2
EXTREME-BASE-MIB::extremeSystem.1.27.1.2.2 = INTEGER: 2
Locked