Skip to main content
Question

Cisco - Environment Check

  • 17 June 2024
  • 0 replies
  • 41 views

Hello there! I´d like to check the environment of a router with this command:

 /usr/lib/centreon/plugins//centreon_cisco_standard_snmp.pl --plugin=network::cisco::standard::snmp::plugin --mode=environment --hostname=***** --snmp-version='2c' --snmp-community='*********' --component='.*'   --warning-count-fan='' --critical-count-fan='' --warning-count-module='' --critical-count-module='' --warning-count-physical='' --critical-count-physical='' --warning-count-psu='' --critical-count-psu='' --warning-count-sensor='' --critical-count-sensor='' --warning-count-temperature='50' --critical-count-temperature='60' --warning-count-voltage='' --critical-count-voltage='' --verbose --filter-perfdata='^(sensor\.(celsius_|rpm_)|temp_)'

What I would expect is that the check throws a warning higher than 50 degrees and an error above 60. But I get this warning:

WARNING: Sensor 'Switch 1 - C9200L-24P-4G - Temp Inlet Sensor 0/1010' is 31 C | 'temp_Switch 1 - Inlet Temp Sensor, GREEN '=31C;;~:56;; 'temp_Switch 1 - Outlet Temp Sensor, GREEN '=37C;;~:125;; 'temp_Switch 1 - HotSpot Temp Sensor, GREEN '=46C;;~:125;; 'sensor.celsius_Switch 1 - C9200L-24P-4G - Temp Outlet Sensor 1'=37C;;-9:124;; 'sensor.celsius_Switch 1 - C9200L-24P-4G - Temp Hotspot Sensor 2'=46C;;-9:124;; 'sensor.celsius_GigabitEthernet1/1/3 Module Temperature Sensor'=0C;;;; 'sensor.celsius_GigabitEthernet1/1/4 Module Temperature Sensor'=0C;;;; 'sensor.celsius_Switch 1 - C9200L-24P-4G - Temp Inlet Sensor 0'=31C;32:45;-9:55;;

Can someone explain that?

 

0 replies

Be the first to reply!

Reply