You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version of the plugin: centreon_eclipse_mosquitto_mqtt.pl Global Version: 20240613 (1af93b2)
Information about the monitored resource: mosquitto version 2.0.18
Command line: provided above
Expected result
I Think the expected result would be ´´´Critical: value: false``` and the check must be critical state
Actual result
I always recieve OK: value: false and the check always show the OK status
Additional info
I try with diferent regex as:
false
(false)
^false$
^(?!true$).*
Also, with the last RegExp, I have tested with an online validator and the result is correct. Match when the value is different from "true" so when you get "false" it should detect it as CRITICAL.
However, I always get the same result: OK: value: false
The text was updated successfully, but these errors were encountered:
Quick description
It seems that the plugin "centreon_eclipse_mosquitto_mqtt.pl" does not work correctly when evaluating critical/warning regular expressions.
Bug report
I have a MQTT broker configured and a topic with state that can be true or false
I am running the script with these options:
I always get the same result
OK: value: false
How to reproduce
Expected result
I Think the expected result would be ´´´Critical: value: false``` and the check must be critical state
Actual result
I always recieve
OK: value: false
and the check always show the OK statusAdditional info
I try with diferent regex as:
Also, with the last RegExp, I have tested with an online validator and the result is correct. Match when the value is different from "true" so when you get "false" it should detect it as CRITICAL.
However, I always get the same result:
OK: value: false
The text was updated successfully, but these errors were encountered: