lausser / check_nwc_health

nwc = network component. This plugin checks lots of aspects of routers, switches, wlan controllers, firewalls,.....
http://labs.consol.de/nagios/check_nwc_health
GNU General Public License v2.0
147 stars 87 forks source link

hardware-health and chassis-hardware-health differ on Cisco 2960 #255

Closed Napsty closed 3 years ago

Napsty commented 3 years ago

We got a defect hardware alert from check_nwc_health but the network administrator told me that inside IOS no problems can be found:

switch#sho env all
FAN is OK
SYSTEM TEMPERATURE is OK
System Temperature Value: 36 Degree Celsius
System Temperature State: GREEN
Yellow Threshold : 58 Degree Celsius
Red Threshold : 68 Degree Celsius

I double-checked with the plugin and compared hardware-health and chassis-hardware-health and interestingly only hardware-health reports a faulty fan:

$ ./check_nwc_health --hostname=switch --statefilesdir=/tmp --protocol=2c --community=public --mode=hardware-health         
CRITICAL - fan 1007 (Switch#1, Fan#1) is critical, temperature 1008 SW#1, Sensor#1, GREEN  is 36 (of 68 max = normal) | 'temp_1008'=36;68;;;

Yet chassis-hardware-health reports all good (including fan):

$ ./check_nwc_health --hostname=switch --statefilesdir=/tmp --protocol=2c --community=public --mode=chassis-hardware-health 
OK - power supply 1 status is ok, chassis is ok, found 1 modules with 52 ports

Debug output for hardware-health:

$ ./check_nwc_health --hostname=switch --statefilesdir=/tmp --protocol=2c --community=public --mode=hardware-health -vvvvvvvvvvv
Mon Sep 14 08:55:08 2020: AUTOLOAD Classes::Device::check_messages

Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:55:08 2020: cache: 1.3.6.1.2.1.1.3.0
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:55:08 2020: GET: MIB-2-MIB::sysUpTime (1.3.6.1.2.1.1.3) : 43878547
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::SNMPFRAMEWORKMIB
Mon Sep 14 08:55:08 2020: cache: 1.3.6.1.6.3.10.2.1.3.0
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::SNMPFRAMEWORKMIB
Mon Sep 14 08:55:08 2020: GET: SNMP-FRAMEWORK-MIB::snmpEngineTime (1.3.6.1.6.3.10.2.1.3.0) : 438716
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::HOSTRESOURCESMIB
Mon Sep 14 08:55:08 2020: cache: 1.3.6.1.2.1.25.1.1
Mon Sep 14 08:55:08 2020: GET: HOST-RESOURCES-MIB::hrSystemUptime (1.3.6.1.2.1.25.1.1) : <undef>
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::HOSTRESOURCESMIB
Mon Sep 14 08:55:08 2020: cache: 1.3.6.1.2.1.25.1.1.0
Mon Sep 14 08:55:08 2020: GET: HOST-RESOURCES-MIB::hrSystemUptime (1.3.6.1.2.1.25.1.1) : <undef>
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:55:08 2020: cache: 1.3.6.1.2.1.1.1.0
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:55:08 2020: GET: MIB-2-MIB::sysDescr (1.3.6.1.2.1.1.1) : Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.0(2)EX5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Fri 21-Feb-14 05:54 by prod_rel_team
Mon Sep 14 08:55:08 2020: snmpEngineTime says: up since: Wed Sep  9 07:03:12 2020 / 5d 1h 51m 56s
Mon Sep 14 08:55:08 2020: sysUptime says:      up since: Wed Sep  9 07:02:02 2020 / 5d 1h 53m 5s
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:55:08 2020: cache: 1.3.6.1.2.1.1.2.0
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:55:08 2020: GET: MIB-2-MIB::sysObjectID (1.3.6.1.2.1.1.2) : 1.3.6.1.4.1.9.1.1208
Mon Sep 14 08:55:08 2020: uptime: 438716
Mon Sep 14 08:55:08 2020: up since: Wed Sep  9 07:03:12 2020
Mon Sep 14 08:55:08 2020: whoami: Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.0(2)EX5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Fri 21-Feb-14 05:54 by prod_rel_team
Mon Sep 14 08:55:08 2020: AUTOLOAD Classes::Device::check_messages

Mon Sep 14 08:55:08 2020: I am a Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.0(2)EX5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Fri 21-Feb-14 05:54 by prod_rel_team

Mon Sep 14 08:55:08 2020: using Classes::Cisco
Mon Sep 14 08:55:08 2020: AUTOLOAD Classes::Cisco::check_messages

Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::AIRESPACESWITCHINGMIB
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:55:08 2020: cache: 1.3.6.1.2.1.1.2.0
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:55:08 2020: GET: MIB-2-MIB::sysObjectID (1.3.6.1.2.1.1.2) : 1.3.6.1.4.1.9.1.1208
Mon Sep 14 08:55:08 2020: using Classes::Cisco::IOS
Mon Sep 14 08:55:08 2020: AUTOLOAD Classes::Cisco::IOS::analyze_and_check_environmental_subsystem

Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: cache: 1.3.6.1.4.1.9.9.13.1.1.0
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: GET: CISCO-ENVMON-MIB::ciscoEnvMonPresent (1.3.6.1.4.1.9.9.13.1.1.0) : c37xx
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: get_snmp_table_objects CISCO-ENVMON-MIB ciscoEnvMonFanStatusTable
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: cache: 1.3.6.1.4.1.9.9.13.1.4
Mon Sep 14 08:55:08 2020: get_table $VAR1 = {
  '-baseoid' => '1.3.6.1.4.1.9.9.13.1.4',
  '-maxrepetitions' => 20
};

Mon Sep 14 08:55:08 2020: get_table returned 2 oids in 0s
Mon Sep 14 08:55:08 2020: get_matching_oids $VAR1 = {
  '-columns' => [
    '1.3.6.1.4.1.9.9.13.1.4'
  ]
};

Mon Sep 14 08:55:08 2020: get_matching_oids returns 2 from 9 oids
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: get_snmp_table_objects default returns 1 entries
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: get_snmp_table_objects CISCO-ENVMON-MIB ciscoEnvMonTemperatureStatusTable
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: cache: 1.3.6.1.4.1.9.9.13.1.3
Mon Sep 14 08:55:08 2020: get_table $VAR1 = {
  '-maxrepetitions' => 20,
  '-baseoid' => '1.3.6.1.4.1.9.9.13.1.3'
};

Mon Sep 14 08:55:08 2020: get_table returned 5 oids in 0s
Mon Sep 14 08:55:08 2020: get_matching_oids $VAR1 = {
  '-columns' => [
    '1.3.6.1.4.1.9.9.13.1.3'
  ]
};

Mon Sep 14 08:55:08 2020: get_matching_oids returns 5 from 14 oids
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: get_snmp_table_objects default returns 1 entries
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: get_snmp_table_objects CISCO-ENVMON-MIB ciscoEnvMonSupplyStatusTable
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: cache: 1.3.6.1.4.1.9.9.13.1.5
Mon Sep 14 08:55:08 2020: get_table $VAR1 = {
  '-baseoid' => '1.3.6.1.4.1.9.9.13.1.5',
  '-maxrepetitions' => 20
};

Mon Sep 14 08:55:08 2020: get_table returned 3 oids in 0s
Mon Sep 14 08:55:08 2020: get_matching_oids $VAR1 = {
  '-columns' => [
    '1.3.6.1.4.1.9.9.13.1.5'
  ]
};

Mon Sep 14 08:55:08 2020: get_matching_oids returns 3 from 17 oids
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: get_snmp_table_objects default returns 1 entries
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: get_snmp_table_objects CISCO-ENVMON-MIB ciscoEnvMonVoltageStatusTable
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: cache: 1.3.6.1.4.1.9.9.13.1.2
Mon Sep 14 08:55:08 2020: get_table $VAR1 = {
  '-maxrepetitions' => 20,
  '-baseoid' => '1.3.6.1.4.1.9.9.13.1.2'
};

Mon Sep 14 08:55:08 2020: get_table error: The requested table is empty or does not exist
Mon Sep 14 08:55:08 2020: get_table error: try fallback
Mon Sep 14 08:55:08 2020: get_table $VAR1 = {
  '-maxrepetitions' => 20,
  '-baseoid' => '1.3.6.1.4.1.9.9.13.1.2'
};

Mon Sep 14 08:55:08 2020: get_table returned 0 oids in 0s
Mon Sep 14 08:55:08 2020: get_table error: The requested table is empty or does not exist
Mon Sep 14 08:55:08 2020: get_table error: try getnext fallback
Mon Sep 14 08:55:08 2020: get_table $VAR1 = {
  '-maxrepetitions' => 1,
  '-baseoid' => '1.3.6.1.4.1.9.9.13.1.2'
};

Mon Sep 14 08:55:08 2020: get_table returned 0 oids in 0s
Mon Sep 14 08:55:08 2020: get_table error: no more fallbacks. Try --protocol 1
Mon Sep 14 08:55:08 2020: get_table returned 0 oids in 0s
Mon Sep 14 08:55:08 2020: get_matching_oids $VAR1 = {
  '-columns' => [
    '1.3.6.1.4.1.9.9.13.1.2'
  ]
};

Mon Sep 14 08:55:08 2020: get_matching_oids returns 0 from 17 oids
Mon Sep 14 08:55:08 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENVMONMIB
Mon Sep 14 08:55:08 2020: get_snmp_table_objects default returns 0 entries
Mon Sep 14 08:55:08 2020: $self->{components}->{environmental_subsystem} = Classes::Cisco::IOS::Component::EnvironmentalSubsystem->new()
Mon Sep 14 08:55:08 2020: AUTOLOAD Classes::Cisco::IOS::check_environmental_subsystem

Mon Sep 14 08:55:08 2020: AUTOLOAD Classes::Cisco::CISCOENVMONMIB::Component::TemperatureSubsystem::Temperature::add_perfdata

Mon Sep 14 08:55:08 2020: AUTOLOAD Classes::Cisco::IOS::Component::EnvironmentalSubsystem::check_messages

[FANSUBSYSTEM]
info: checking fans
[FAN_1007]
ciscoEnvMonFanState: critical
ciscoEnvMonFanStatusDescr: Switch#1, Fan#1
ciscoEnvMonFanStatusIndex: 1007
info: fan 1007 (Switch#1, Fan#1) is critical

[TEMPERATURESUBSYSTEM]
info: checking temperatures
[TEMPERATURE_1008]
ciscoEnvMonTemperatureLastShutdown: 0
ciscoEnvMonTemperatureState: normal
ciscoEnvMonTemperatureStatusDescr: SW#1, Sensor#1, GREEN 
ciscoEnvMonTemperatureStatusIndex: 1008
ciscoEnvMonTemperatureStatusValue: 35
ciscoEnvMonTemperatureThreshold: 68
info: temperature 1008 SW#1, Sensor#1, GREEN  is 35 (of 68 max = normal)

[POWERSUPPLYSUBSYSTEM]
info: checking supplies
[POWERSUPPLY_1006]
ciscoEnvMonSupplySource: ac
ciscoEnvMonSupplyState: normal
ciscoEnvMonSupplyStatusDescr: Sw1, PS1 Normal, RPS NotExist
ciscoEnvMonSupplyStatusIndex: 1006
info: powersupply 1006 (Sw1, PS1 Normal, RPS NotExist) is normal

[VOLTAGESUBSYSTEM]
info: checking voltages

Mon Sep 14 08:55:08 2020: AUTOLOAD Classes::Cisco::IOS::check_messages

Mon Sep 14 08:55:08 2020: AUTOLOAD Classes::Cisco::IOS::check_messages

Mon Sep 14 08:55:08 2020: AUTOLOAD Classes::Cisco::IOS::nagios_exit

CRITICAL - fan 1007 (Switch#1, Fan#1) is critical, temperature 1008 SW#1, Sensor#1, GREEN  is 35 (of 68 max = normal)
checking fans
fan 1007 (Switch#1, Fan#1) is critical
checking temperatures
temperature 1008 SW#1, Sensor#1, GREEN  is 35 (of 68 max = normal)
checking supplies
powersupply 1006 (Sw1, PS1 Normal, RPS NotExist) is normal
checking voltages | 'temp_1008'=35;68;;;

Debug output for chassis-hardware-health:

$ ./check_nwc_health --hostname=switch --statefilesdir=/tmp --protocol=2c --community=public --mode=chassis-hardware-health -vvvvvvvvvvv
Mon Sep 14 08:56:30 2020: AUTOLOAD Classes::Device::check_messages

Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.2.1.1.3.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:56:30 2020: GET: MIB-2-MIB::sysUpTime (1.3.6.1.2.1.1.3) : 43886734
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::SNMPFRAMEWORKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.6.3.10.2.1.3.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::SNMPFRAMEWORKMIB
Mon Sep 14 08:56:30 2020: GET: SNMP-FRAMEWORK-MIB::snmpEngineTime (1.3.6.1.6.3.10.2.1.3.0) : 438798
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::HOSTRESOURCESMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.2.1.25.1.1
Mon Sep 14 08:56:30 2020: GET: HOST-RESOURCES-MIB::hrSystemUptime (1.3.6.1.2.1.25.1.1) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::HOSTRESOURCESMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.2.1.25.1.1.0
Mon Sep 14 08:56:30 2020: GET: HOST-RESOURCES-MIB::hrSystemUptime (1.3.6.1.2.1.25.1.1) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.2.1.1.1.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:56:30 2020: GET: MIB-2-MIB::sysDescr (1.3.6.1.2.1.1.1) : Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.0(2)EX5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Fri 21-Feb-14 05:54 by prod_rel_team
Mon Sep 14 08:56:30 2020: snmpEngineTime says: up since: Wed Sep  9 07:03:12 2020 / 5d 1h 53m 18s
Mon Sep 14 08:56:30 2020: sysUptime says:      up since: Wed Sep  9 07:02:02 2020 / 5d 1h 54m 27s
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.2.1.1.2.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:56:30 2020: GET: MIB-2-MIB::sysObjectID (1.3.6.1.2.1.1.2) : 1.3.6.1.4.1.9.1.1208
Mon Sep 14 08:56:30 2020: uptime: 438798
Mon Sep 14 08:56:30 2020: up since: Wed Sep  9 07:03:12 2020
Mon Sep 14 08:56:30 2020: whoami: Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.0(2)EX5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Fri 21-Feb-14 05:54 by prod_rel_team
Mon Sep 14 08:56:30 2020: AUTOLOAD Classes::Device::check_messages

Mon Sep 14 08:56:30 2020: I am a Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.0(2)EX5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Fri 21-Feb-14 05:54 by prod_rel_team

Mon Sep 14 08:56:30 2020: using Classes::Cisco
Mon Sep 14 08:56:30 2020: AUTOLOAD Classes::Cisco::check_messages

Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::AIRESPACESWITCHINGMIB
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.2.1.1.2.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:56:30 2020: GET: MIB-2-MIB::sysObjectID (1.3.6.1.2.1.1.2) : 1.3.6.1.4.1.9.1.1208
Mon Sep 14 08:56:30 2020: using Classes::Cisco::IOS
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.2.1.1.2.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:56:30 2020: GET: MIB-2-MIB::sysObjectID (1.3.6.1.2.1.1.2) : 1.3.6.1.4.1.9.1.1208
Mon Sep 14 08:56:30 2020: implements CISCO-STACK-MIB (found traces)
Mon Sep 14 08:56:30 2020: AUTOLOAD Classes::Cisco::IOS::analyze_and_check_environmental_subsystem

Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.1.67
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::sysStatus (1.3.6.1.4.1.9.5.1.1.67) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.1.67.0
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::sysStatus (1.3.6.1.4.1.9.5.1.1.67) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.1
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisSysType (1.3.6.1.4.1.9.5.1.2.1) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.1.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisSysType (1.3.6.1.4.1.9.5.1.2.1) : other
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.3
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs1Type (1.3.6.1.4.1.9.5.1.2.3) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.3.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs1Type (1.3.6.1.4.1.9.5.1.2.3) : other
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.4
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs1Status (1.3.6.1.4.1.9.5.1.2.4) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.4.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs1Status (1.3.6.1.4.1.9.5.1.2.4) : ok
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.5
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs1TestResult (1.3.6.1.4.1.9.5.1.2.5) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.5.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs1TestResult (1.3.6.1.4.1.9.5.1.2.5) : 0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.6
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs2Type (1.3.6.1.4.1.9.5.1.2.6) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.6.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs2Type (1.3.6.1.4.1.9.5.1.2.6) : externalPS
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.7
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs2Status (1.3.6.1.4.1.9.5.1.2.7) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.7.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs2Status (1.3.6.1.4.1.9.5.1.2.7) : other
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.8
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs2TestResult (1.3.6.1.4.1.9.5.1.2.8) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.8.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs2TestResult (1.3.6.1.4.1.9.5.1.2.8) : 0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.20
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs3Type (1.3.6.1.4.1.9.5.1.2.20) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.20.0
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs3Type (1.3.6.1.4.1.9.5.1.2.20) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.21
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs3Status (1.3.6.1.4.1.9.5.1.2.21) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.21.0
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs3Status (1.3.6.1.4.1.9.5.1.2.21) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.22
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs3TestResult (1.3.6.1.4.1.9.5.1.2.22) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.22.0
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisPs3TestResult (1.3.6.1.4.1.9.5.1.2.22) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.9
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisFanStatus (1.3.6.1.4.1.9.5.1.2.9) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.9.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisFanStatus (1.3.6.1.4.1.9.5.1.2.9) : ok
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.10
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisFanTestResult (1.3.6.1.4.1.9.5.1.2.10) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.10.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisFanTestResult (1.3.6.1.4.1.9.5.1.2.10) : 0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.11
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisMinorAlarm (1.3.6.1.4.1.9.5.1.2.11) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.11.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisMinorAlarm (1.3.6.1.4.1.9.5.1.2.11) : off
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.12
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisMajorAlarm (1.3.6.1.4.1.9.5.1.2.12) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.12.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisMajorAlarm (1.3.6.1.4.1.9.5.1.2.12) : off
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.13
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisTempAlarm (1.3.6.1.4.1.9.5.1.2.13) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.13.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisTempAlarm (1.3.6.1.4.1.9.5.1.2.13) : off
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.16
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisModel (1.3.6.1.4.1.9.5.1.2.16) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.16.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisModel (1.3.6.1.4.1.9.5.1.2.16) : WS-C2960X-48LPD-L
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.19
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisSerialNumberString (1.3.6.1.4.1.9.5.1.2.19) : <undef>
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.19.0
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: GET: CISCO-STACK-MIB::chassisSerialNumberString (1.3.6.1.4.1.9.5.1.2.19) : FCW1825A2N5
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: get_snmp_table_objects CISCO-STACK-MIB chassisComponentTable
Mon Sep 14 08:56:30 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:30 2020: cache: 1.3.6.1.4.1.9.5.1.2.18
Mon Sep 14 08:56:30 2020: get_table $VAR1 = {
  '-maxrepetitions' => 10,
  '-baseoid' => '1.3.6.1.4.1.9.5.1.2.18'
};

Mon Sep 14 08:56:31 2020: get_table error: The requested table is empty or does not exist
Mon Sep 14 08:56:31 2020: get_table error: try fallback
Mon Sep 14 08:56:31 2020: get_table $VAR1 = {
  '-maxrepetitions' => 10,
  '-baseoid' => '1.3.6.1.4.1.9.5.1.2.18'
};

Mon Sep 14 08:56:31 2020: get_table returned 0 oids in 1s
Mon Sep 14 08:56:31 2020: get_table error: The requested table is empty or does not exist
Mon Sep 14 08:56:31 2020: get_table error: try getnext fallback
Mon Sep 14 08:56:31 2020: get_table $VAR1 = {
  '-maxrepetitions' => 1,
  '-baseoid' => '1.3.6.1.4.1.9.5.1.2.18'
};

Mon Sep 14 08:56:31 2020: get_table returned 0 oids in 1s
Mon Sep 14 08:56:31 2020: get_table error: no more fallbacks. Try --protocol 1
Mon Sep 14 08:56:31 2020: get_table returned 0 oids in 1s
Mon Sep 14 08:56:31 2020: get_matching_oids $VAR1 = {
  '-columns' => [
    '1.3.6.1.4.1.9.5.1.2.18'
  ]
};

Mon Sep 14 08:56:31 2020: get_matching_oids returns 0 from 28 oids
Mon Sep 14 08:56:31 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:31 2020: get_snmp_table_objects default returns 0 entries
Mon Sep 14 08:56:31 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:31 2020: get_snmp_table_objects CISCO-STACK-MIB moduleTable
Mon Sep 14 08:56:31 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:31 2020: cache: 1.3.6.1.4.1.9.5.1.3.1
Mon Sep 14 08:56:31 2020: get_table $VAR1 = {
  '-baseoid' => '1.3.6.1.4.1.9.5.1.3.1',
  '-maxrepetitions' => 10
};

Mon Sep 14 08:56:31 2020: get_table returned 18 oids in 0s
Mon Sep 14 08:56:31 2020: get_matching_oids $VAR1 = {
  '-columns' => [
    '1.3.6.1.4.1.9.5.1.3.1'
  ]
};

Mon Sep 14 08:56:31 2020: get_matching_oids returns 18 from 46 oids
Mon Sep 14 08:56:31 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKMIB
Mon Sep 14 08:56:31 2020: get_snmp_table_objects default returns 1 entries
Mon Sep 14 08:56:31 2020: $self->{components}->{environmental_subsystem} = Classes::Cisco::CISCOSTACKMIB::Component::StackSubsystem->new()
Mon Sep 14 08:56:31 2020: AUTOLOAD Classes::Cisco::IOS::check_environmental_subsystem

Mon Sep 14 08:56:31 2020: load $VAR1 = {
  'timestamp' => 1600066439,
  'numPorts' => 52,
  'lookback_history' => {
    'moduleSerialList' => {
      '1600066066' => [
        'FCW1825A2N5'
      ],
      '1600066439' => [
        'FCW1825A2N5'
      ],
      '1600066081' => [
        'FCW1825A2N5'
      ]
    },
    'numPorts' => {
      '1600066439' => 52,
      '1600066066' => 52,
      '1600066081' => 52
    },
    'numModules' => {
      '1600066081' => 1,
      '1600066439' => 1,
      '1600066066' => 1
    }
  },
  'numModules' => 1,
  'localtime' => 'Mon Sep 14 08:53:59 2020',
  'moduleSerialList' => [
    'FCW1825A2N5'
  ]
};
 from /tmp/switch_device::hardware::chassis::health_fcw1825a2n510d060a539a2aeef579f196b52a9fb6e
Mon Sep 14 08:56:31 2020: oldest value of moduleSerialList within lookback is size 1 (age 525)
Mon Sep 14 08:56:31 2020: oldest value of numModules within lookback is 1 (age 525)
Mon Sep 14 08:56:31 2020: delta_numModules 0.000000
Mon Sep 14 08:56:31 2020: oldest value of numPorts within lookback is 52 (age 525)
Mon Sep 14 08:56:31 2020: delta_numPorts 0.000000
Mon Sep 14 08:56:31 2020: saved $VAR1 = {
  'moduleSerialList' => [
    'FCW1825A2N5'
  ],
  'lookback_history' => {
    'moduleSerialList' => {
      '1600066081' => [
        'FCW1825A2N5'
      ],
      '1600066591' => [
        'FCW1825A2N5'
      ],
      '1600066439' => [
        'FCW1825A2N5'
      ],
      '1600066066' => [
        'FCW1825A2N5'
      ]
    },
    'numPorts' => {
      '1600066081' => 52,
      '1600066591' => 52,
      '1600066066' => 52,
      '1600066439' => 52
    },
    'numModules' => {
      '1600066081' => 1,
      '1600066066' => 1,
      '1600066439' => 1,
      '1600066591' => 1
    }
  },
  'numModules' => 1,
  'numPorts' => 52,
  'timestamp' => 1600066591,
  'localtime' => 'Mon Sep 14 08:56:31 2020'
};
 to /tmp/switch_device::hardware::chassis::health_fcw1825a2n510d060a539a2aeef579f196b52a9fb6e
Mon Sep 14 08:56:31 2020: AUTOLOAD Classes::Cisco::CISCOSTACKMIB::Component::StackSubsystem::check_messages

[STACKSUBSYSTEM]
chassisFanStatus: ok
chassisFanTestResult: 0
chassisMajorAlarm: off
chassisMinorAlarm: off
chassisModel: WS-C2960X-48LPD-L
chassisPs1Status: ok
chassisPs1TestResult: 0
chassisPs1Type: other
chassisPs2Status: other
chassisPs2TestResult: 0
chassisPs2Type: externalPS
chassisSerialNumberString: FCW1825A2N5
chassisSysType: other
chassisTempAlarm: off
delta_numModules: 0
delta_numPorts: 0
delta_timestamp: 525
numModules: 1
numModules_per_sec: 0
numPorts: 52
numPorts_per_sec: 0
info: found 1 modules with 52 ports
[MODULE_1]
moduleAction: other
moduleFwVersion: 15.0(2)EX5
moduleHwVersion: A0
moduleIPAddress: 0.0.0.0
moduleIPAddressVlan: 0
moduleIndex: 1
moduleModel: WS-C2960X-48LPD-L
moduleName: 
moduleNumPorts: 52
modulePortStatus: 0201010102010101010101010101010101010101010101010101010102010201010101010101010101020202010101020202020101
moduleSerialNumberString: FCW1825A2N5
moduleStandbyStatus: other
moduleStatus: ok
moduleSubType: empty
moduleSubType2: empty
moduleSwVersion: 15.0(2)EX5
moduleTestResult: 0
moduleType: other
info: module 1 (serial FCW1825A2N5) is ok

Mon Sep 14 08:56:31 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOSTACKWISEMIB
Mon Sep 14 08:56:31 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:56:31 2020: cache: 1.3.6.1.2.1.1.2.0
Mon Sep 14 08:56:31 2020: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB
Mon Sep 14 08:56:31 2020: GET: MIB-2-MIB::sysObjectID (1.3.6.1.2.1.1.2) : 1.3.6.1.4.1.9.1.1208
Mon Sep 14 08:56:31 2020: implements CISCO-STACKWISE-MIB (found traces)
Mon Sep 14 08:56:31 2020: AUTOLOAD Classes::Cisco::IOS::check_messages

Mon Sep 14 08:56:31 2020: AUTOLOAD Classes::Cisco::IOS::check_messages

Mon Sep 14 08:56:31 2020: AUTOLOAD Classes::Cisco::IOS::nagios_exit

OK - power supply 1 status is ok, chassis is ok, found 1 modules with 52 ports
module 1 (serial FCW1825A2N5) is ok
chassis fan status is ok
chassis minor alarm is off
chassis major alarm is off
chassis temperature alarm is off
power supply 1 status is ok
found 1 modules with 52 ports

Or doesn't chassis-hardware-health detect the fan failure because CISCO-STACK-MIB OIDs return undef?

Not sure yet who to trust: The plugin or IOS?

Napsty commented 3 years ago

FYI, cannot rule out an IOS bug (maybe https://quickview.cloudapps.cisco.com/quickview/bug/CSCui33479 ?) yet. SNMP status for "Fan#1" clearly shows status 3.

Napsty commented 3 years ago

Currently assuming the mentioned IOS bug. SNMP clearly shows a critical value (3) on the FAN table:

$ snmpwalk -v 2c -c public switch 1.3.6.1.4.1.9.9.13.1.4 
iso.3.6.1.4.1.9.9.13.1.4.1.2.1007 = STRING: "Switch#1, Fan#1"
iso.3.6.1.4.1.9.9.13.1.4.1.3.1007 = INTEGER: 3

Network admin doesn't want to update IOS, so this can't be tested with a newer IOS software unfortunately. But as it looks this isn't a bug in the plugin, I am closing this issue.