hello
the regexp doesnt find the Power sensor i want check:
/usr/lib/centreon/plugins/centreon_cisco_standard_snmp.pl --plugin=network::cisco::standard::snmp::plugin --mode=environment --hostname=10.1.2.37 --snmp-version='2c' --snmp-community='-------' --component='sensor' --critical='sensors,.*Receive Power Sensor.*,-50:10'
CRITICAL: Sensor 'TenGigabitEthernet1/0/2 Receive Power Sensor/1073' is -40 dBm | 'sensor.celsius_TenGigabitEthernet1/0/1 Module Temperature Sensor'=35.7C;0.1:69.9;-4.9:74.9;; 'sensor.dBm_TenGigabitEthernet1/0/2 Transmit Power Sensor'=-3dBm;-5.9:-1.1;-7.9:-0.1;; 'sensor.dBm_TenGigabitEthernet1/0/2 Receive Power Sensor'=-40dBm;-14:-1.1;-15.3:-0.1;; 'count_sensor'=10;;;;
with the threshold i set plugin should be in status OK not Critical
which is the right regexp syntax ?