Dell iDRAC MIBS for Nagios SNMP Traps
Posted: Thu Apr 12, 2018 10:41 am
Hi everyone,
Has anyone successfully uploaded the latest Dell iDRAC MIB to their Nagios server and integrated it successfully? I attempted to use the check_idrac plugin found at (https://exchange.nagios.org/directory/P ... AC/details) but ran into some erratic output on servers with newer iDRAC firmware. That issue led me to attempt to use SNMP traps for Dell since I had successfully accomplished the task previously for APC Uninterruptible Power Supplies. I uploaded the attached iDRAC file from the NagiosXI web page. My problem is that although Nagios received the traps successfully in the /var/log/snmptt/smnptt.log it does not change the trap status for the iDRAC. The check sits at pending despite simulating a loss of a power supply unit for a server.
Thu Apr 12 11:07:18 2018 .1.3.6.1.4.1.674.10892.5.3.2.1.0.2185 CRITICAL "Status Events" sls19-ilo - System: Power Supply Failur03, Device Display Name: Power Supply 2, Message: The power input for power supply 2 is lost.,Device Status: 5, Device FQDD: PStt,System Service Tag: 7XJSFZ1, System Name: ,Chassis Service Tag: 7XJSFZ1, Chassis Name: Main System Chassis,RAC FQDN: phlxen0
Thu Apr 12 11:16:04 2018 .1.3.6.1.4.1.674.10892.5.3.2.1.0.2185 CRITICAL "Status Events" sls19-ilo - System: Power Supply Failur03, Device Display Name: Power Supply 2, Message: The power input for power supply 2 is lost.,Device Status: 5, Device FQDD: PStt,System Service Tag: 7XJSFZ1, System Name: ,Chassis Service Tag: 7XJSFZ1, Chassis Name: Main System Chassis,RAC FQDN: phlxen0
Thu Apr 12 11:17:27 2018 .1.3.6.1.4.1.674.10892.5.3.2.1.0.2187 INFORMATIONAL "Status Events" sls19-ilo - System: Power Supply NSU0019, Device Display Name: Power Supply 2, Message: The input power for power supply 2 has been restored.,Device Status: 3, D.joint-iso-ccitt,System Service Tag: 7XJSFZ1, System Name: ,Chassis Service Tag: 7XJSFZ1, Chassis Name: Main System Chassis,RAC
If I grep the contents of APC under /etc/snmp/snmptt.conf I get a substatial amount of output such as:
FORMAT APC CODE: PowerChute has detected that a newer version is available.: PowerChute has detected that a newer version is available.
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "APC CODE: PowerChute has detected that a newer version is available.: PowerChute has detected that a newer version is available."
FORMAT APC UPS: On temporary bypass: The UPS is on temporary bypass.
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "APC UPS: On temporary bypass: The UPS is on temporary bypass."
If I grep for Dell I only see the following line.
MIB: IDRAC-MIB-SMIv2 (file:/usr/share/snmp/mibs/DELL-iDRAC.mib) converted on Wed Apr 11 23:24:36 2018 using snmpttconvertmib v1.3
Has anyone successfully uploaded the latest Dell iDRAC MIB to their Nagios server and integrated it successfully? I attempted to use the check_idrac plugin found at (https://exchange.nagios.org/directory/P ... AC/details) but ran into some erratic output on servers with newer iDRAC firmware. That issue led me to attempt to use SNMP traps for Dell since I had successfully accomplished the task previously for APC Uninterruptible Power Supplies. I uploaded the attached iDRAC file from the NagiosXI web page. My problem is that although Nagios received the traps successfully in the /var/log/snmptt/smnptt.log it does not change the trap status for the iDRAC. The check sits at pending despite simulating a loss of a power supply unit for a server.
Thu Apr 12 11:07:18 2018 .1.3.6.1.4.1.674.10892.5.3.2.1.0.2185 CRITICAL "Status Events" sls19-ilo - System: Power Supply Failur03, Device Display Name: Power Supply 2, Message: The power input for power supply 2 is lost.,Device Status: 5, Device FQDD: PStt,System Service Tag: 7XJSFZ1, System Name: ,Chassis Service Tag: 7XJSFZ1, Chassis Name: Main System Chassis,RAC FQDN: phlxen0
Thu Apr 12 11:16:04 2018 .1.3.6.1.4.1.674.10892.5.3.2.1.0.2185 CRITICAL "Status Events" sls19-ilo - System: Power Supply Failur03, Device Display Name: Power Supply 2, Message: The power input for power supply 2 is lost.,Device Status: 5, Device FQDD: PStt,System Service Tag: 7XJSFZ1, System Name: ,Chassis Service Tag: 7XJSFZ1, Chassis Name: Main System Chassis,RAC FQDN: phlxen0
Thu Apr 12 11:17:27 2018 .1.3.6.1.4.1.674.10892.5.3.2.1.0.2187 INFORMATIONAL "Status Events" sls19-ilo - System: Power Supply NSU0019, Device Display Name: Power Supply 2, Message: The input power for power supply 2 has been restored.,Device Status: 3, D.joint-iso-ccitt,System Service Tag: 7XJSFZ1, System Name: ,Chassis Service Tag: 7XJSFZ1, Chassis Name: Main System Chassis,RAC
If I grep the contents of APC under /etc/snmp/snmptt.conf I get a substatial amount of output such as:
FORMAT APC CODE: PowerChute has detected that a newer version is available.: PowerChute has detected that a newer version is available.
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "APC CODE: PowerChute has detected that a newer version is available.: PowerChute has detected that a newer version is available."
FORMAT APC UPS: On temporary bypass: The UPS is on temporary bypass.
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "APC UPS: On temporary bypass: The UPS is on temporary bypass."
If I grep for Dell I only see the following line.
MIB: IDRAC-MIB-SMIv2 (file:/usr/share/snmp/mibs/DELL-iDRAC.mib) converted on Wed Apr 11 23:24:36 2018 using snmpttconvertmib v1.3