centreon / centreon-plugins

Collection of standard plugins to discover and gather cloud-to-edge metrics and status across your whole IT infrastructure.
https://www.centreon.com
Apache License 2.0
310 stars 274 forks source link

[network::cisco::standard::snmp::plugin] --mode=environment: interfaces from a module are shown as PSU #3865

Closed joschi99 closed 2 years ago

joschi99 commented 2 years ago

On a catalyst 4xxx with Linecard modules WS-X4648-RJ45V+E every interface will be shown as PSU on environment mode in additional to the correct PSU. And any interface with port status down will be threated as a problem while status is offEnvOther:

centreon_plugins.pl --hostname=x.x.x.x --snmp-community='public' --snmp-version=2c --plugin=network::cisco::standard::snmp::plugin --mode=environment --component='' --filter='' --threshold-overload='' --warning='' --critical='' --filter='' --snmp-timeout=1 --verbose
WARNING: Power supply 'Power Supply ( AC 4200W )/13' status is offEnvPower - Power supply 'Gigabit Ethernet Port/2001' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2002' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2003' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2004' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2005' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2006' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2007' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2008' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2009' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2010' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2011' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2012' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2013' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2016' status is offEnvOther - Power supply 'Gigabit Ethernet Port/2013' status is offEnvOther
Environment type: cat4000
Checking fans
fan 'Chassis Fan Tray 1' status is normal [instance: 1].
fan 'Power Supply 1 Fan' status is normal [instance: 2].
fan 'Power Supply 2 Fan' status is normal [instance: 3].
fan 'FanTray' status is up [instance: 10]
Checking power supplies
power supply 'Power Supply 1' status is normal [instance: 1] [source: ac]
power supply 'Power Supply 2' status is normal [instance: 2] [source: ac]
Power supply 'Power Supply ( AC 4200W )' status is offEnvPower [instance: 13]
Power supply 'Power Supply ( AC 4200W )' status is on [instance: 16]
Power supply 'Supervisor 6L-E 10GE (X2), 1000BaseX (SFP)with 2 10GE X2 ports' status is on [instance: 1000]
Power supply '10/100/1000BaseT (RJ45)+V E Series with 48 10/100/1000 baseT Premium PoE ports (Cisco/IEE' status is on [instance: 2000]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2001]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2002]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2003]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2004]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2005]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2006]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2007]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2008]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2009]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2010]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2011]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2012]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2013]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2014]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2015]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2016]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2017]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2018]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2019]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2020]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2021]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2022]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2023]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2024]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2025]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2026]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2027]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2028]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2029]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2030]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2031]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2032]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2033]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2034]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2035]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2036]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2037]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2038]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2039]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2040]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2041]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2042]
Power supply 'Gigabit Ethernet Port' status is on [instance: 2043]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2044]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2045]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2046]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2047]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 2048]
Power supply '10/100/1000BaseT (RJ45)+V E Series with 48 10/100/1000 baseT Premium PoE ports (Cisco/IEE' status is on [instance: 3000]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3001]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3002]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3003]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3004]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3005]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3006]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3007]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3008]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3009]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3010]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3011]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3012]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3013]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3014]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3015]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3016]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3017]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3018]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3019]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3020]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3021]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3022]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3023]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3024]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3025]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3026]
Power supply 'Gigabit Ethernet Port' status is on [instance: 3027]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3028]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3029]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3030]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3031]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3032]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3033]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3034]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3035]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3036]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3037]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3038]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3039]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3040]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3041]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3042]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3043]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3044]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3045]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3046]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3047]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 3048]
Power supply '10/100/1000BaseT (RJ45)+V E Series with 48 10/100/1000 baseT Premium PoE ports (Cisco/IEE' status is on [instance: 4000]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4001]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4002]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4003]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4004]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4005]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4006]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4007]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4008]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4009]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4010]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4011]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4012]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4013]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4014]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4015]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4016]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4017]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4018]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4019]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4020]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4021]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4022]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4023]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4024]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4025]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4026]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4027]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4028]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4029]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4030]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4031]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4032]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4033]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4034]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4035]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4036]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4037]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4038]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4039]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4040]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4041]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4042]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4043]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4044]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4045]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4046]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4047]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 4048]
Power supply '10/100/1000BaseT (RJ45)+V E Series with 48 10/100/1000 baseT Premium PoE ports (Cisco/IEE' status is on [instance: 5000]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5001]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5002]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5003]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5004]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5005]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5006]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5007]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5008]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5009]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5010]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5011]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5012]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5013]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5014]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5015]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5016]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5017]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5018]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5019]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5020]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5021]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5022]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5023]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5024]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5025]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5026]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5027]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5028]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5029]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5030]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5031]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5032]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5033]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5034]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5035]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5036]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5037]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5038]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5039]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5040]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5041]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5042]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5043]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5044]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5045]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5046]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5047]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 5048]
Power supply '10/100/1000BaseT (RJ45)+V E Series with 48 10/100/1000 baseT Premium PoE ports (Cisco/IEE' status is on [instance: 6000]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6001]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6002]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6003]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6004]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6005]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6006]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6007]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6008]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6009]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6010]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6011]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6012]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6013]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6014]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6015]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6016]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6017]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6018]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6019]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6020]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6021]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6022]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6023]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6024]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6025]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6026]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6027]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6028]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6029]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6030]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6031]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6032]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6033]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6034]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6035]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6036]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6037]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6038]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6039]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6040]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6041]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6042]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6043]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6044]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6045]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6046]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6047]
Power supply 'Gigabit Ethernet Port' status is offEnvOther [instance: 6048]
Checking temperatures
temperature 'air inlet' status is normal [instance: 1] [value: 24 C]
temperature 'air outlet' status is normal [instance: 2] [value: 36 C]
temperature 'air inlet' status is normal [instance: 11] [value: 21 C]
temperature 'air outlet' status is normal [instance: 12] [value: 31 C]
temperature 'air inlet' status is normal [instance: 21] [value: 22 C]
temperature 'air outlet' status is normal [instance: 22] [value: 31 C]
temperature 'air inlet' status is normal [instance: 31] [value: 22 C]
temperature 'air outlet' status is normal [instance: 32] [value: 30 C]
temperature 'air inlet' status is normal [instance: 41] [value: 23 C]
temperature 'air outlet' status is normal [instance: 42] [value: 29 C]
temperature 'air inlet' status is normal [instance: 51] [value: 22 C]
temperature 'air outlet' status is normal [instance: 52] [value: 29 C]
Checking voltages
Checking modules
module 'Supervisor 6L-E 10GE (X2), 1000BaseX (SFP)with 2 10GE X2 ports' status is ok [instance: 1000]
module '10/100/1000BaseT (RJ45)+V E Series with 48 10/100/1000 baseT Premium PoE ports (Cisco/IEE' status is ok [instance: 2000]
module '10/100/1000BaseT (RJ45)+V E Series with 48 10/100/1000 baseT Premium PoE ports (Cisco/IEE' status is ok [instance: 3000]
module '10/100/1000BaseT (RJ45)+V E Series with 48 10/100/1000 baseT Premium PoE ports (Cisco/IEE' status is ok [instance: 4000]
module '10/100/1000BaseT (RJ45)+V E Series with 48 10/100/1000 baseT Premium PoE ports (Cisco/IEE' status is ok [instance: 5000]
module '10/100/1000BaseT (RJ45)+V E Series with 48 10/100/1000 baseT Premium PoE ports (Cisco/IEE' status is ok [instance: 6000]
Checking physicals
Checking sensors
sensor 'Power Supply Fan Sensor' status is 'ok' [instance: 14] [value: 1 truthvalue]
sensor 'Power Supply Fan Sensor' status is 'ok' [instance: 17] [value: 1 truthvalue]

Using option --threshold-overload='psu,OK,offEnvOther' solved this problem in this case, but the problem is that this are not PSU and probably there is some issue on the environment mode.

garnier-quentin commented 2 years ago

I don't understand the problem with option: --threshold-overload='psu,OK,offEnvOther' ?

joschi99 commented 2 years ago

The problem is that we have to exclude this problem using option --threshold-overload. But the main problem is that the plugin shows the interfaces as PSU and this is not correct. And if a interface is not in status UP, we have the problem with status offEnvOther. Using the option --threshold-overload to avoid this problem has the risk that maybe a real PSU in the status offEnvOther should not recognized correctly.

garnier-quentin commented 2 years ago

Could you provide a snmpwalk of the following branches:

.1.3.6.1.4.1.9.9.117.1.1.2
.1.3.6.1.4.1.9.9.13.1.5.1

I don't know if i can do the diff between power supplies type.

joschi99 commented 2 years ago
snmpwalk -On -v2c -cpublic x.x.x.x .1.3.6.1.4.1.9.9.13.1.5.1
.1.3.6.1.4.1.9.9.13.1.5.1.2.1 = STRING: "Power Supply 1"
.1.3.6.1.4.1.9.9.13.1.5.1.2.2 = STRING: "Power Supply 2"
.1.3.6.1.4.1.9.9.13.1.5.1.3.1 = INTEGER: 1
.1.3.6.1.4.1.9.9.13.1.5.1.3.2 = INTEGER: 1
.1.3.6.1.4.1.9.9.13.1.5.1.4.1 = INTEGER: 2
.1.3.6.1.4.1.9.9.13.1.5.1.4.2 = INTEGER: 2

the other snmpwalk you can find here: .1.3.6.1.4.1.9.9.117.1.1.2.txt

garnier-quentin commented 2 years ago

Maybe i should add an option: --add-fru-psu option ? Because i don't have a solution to avoid that error.

joschi99 commented 2 years ago

could be a idee. So with this option we can decide to use .1.3.6.1.4.1.9.9.117.1.1.2 OID's?

garnier-quentin commented 2 years ago

Yes. By default, we don't check fru psu.

joschi99 commented 2 years ago

Sounds good