Hi,
I would like to know if there is a bug in the plugin, or I am doing something wrong.
I have a Cisco 9300 series switch and I monitor environment from there.
Currently it is showing:
WARNING: Sensor 'Switch 1 - C9300-48P - Temp Inlet Sensor 0/1012' is 31 C
Environment type: other Checking fans fan 'Switch 1 - FAN - T1 1, Normal' status is normal instance: 1017]. fan 'Switch 1 - FAN - T1 2, Normal' status is normal instance: 1018]. fan 'Switch 1 - FAN - T1 3, Normal' status is normal instance: 1019]. fan 'Switch 1 - C9300-48P - FAN 1' status is up instance: 1017] fan 'Switch 1 - C9300-48P - FAN 2' status is up instance: 1018] fan 'Switch 1 - C9300-48P - FAN 3' status is up instance: 1019] Checking power supplies power supply 'Switch 1 - Power Supply A, Normal' status is normal instance: 1015] source: ac] power supply 'Switch 1 - Power Supply B, NotExist' status is not present instance: 1016] source: unknown] Checking temperatures temperature 'Switch 1 - Inlet Temp Sensor, GREEN ' status is normal instance: 1012] value: 31 C] temperature 'Switch 1 - Outlet Temp Sensor, GREEN ' status is normal instance: 1013] value: 36 C] temperature 'Switch 1 - HotSpot Temp Sensor, GREEN ' status is normal instance: 1014] value: 50 C] Checking voltages Checking modules module 'C9300-48P' status is ok instance: 1000] Checking physicals Checking sensors sensor 'Switch 1 - C9300-48P - Temp Inlet Sensor 0' status is 'ok' instance: 1012] value: 31 celsius] sensor 'Switch 1 - C9300-48P - Temp Outlet Sensor 1' status is 'ok' instance: 1013] value: 36 celsius] sensor 'Switch 1 - C9300-48P - Temp Hotspot Sensor 2' status is 'ok' instance: 1014] value: 50 celsius] sensor 'TenGigabitEthernet1/1/1 Module Temperature Sensor' status is 'ok' instance: 1129] value: 32.7 celsius] sensor 'TenGigabitEthernet1/1/1 Supply Voltage Sensor' status is 'ok' instance: 1130] value: 3.3 voltsDC] sensor 'TenGigabitEthernet1/1/1 Bias Current Sensor' status is 'ok' instance: 1131] value: 0.0252 amperes] sensor 'TenGigabitEthernet1/1/1 Transmit Power Sensor' status is 'ok' instance: 1132] value: -2.9 dBm] sensor 'TenGigabitEthernet1/1/1 Receive Power Sensor' status is 'ok' instance: 1133] value: -5.7 dBm] My command is: /usr/lib/nagios/plugins/centreon_plugins.pl --plugin network::cisco::standard::snmp::plugin --mode=environment --hostname=1.2.3.4 --snmp-version=2c --snmp-community=xxx --verbose --critical='sensor,1012,56' --warning='sensor,1012,46' --snmp-retries=3 Why is it still showing as warning? Should the warning and critical part syntax be something different than the above one? |