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
It seems that the plugin "centreon_eclipse_mosquitto_mqtt.pl" does not work correctly when evaluating
--format-custom regular expressions when --mode=string-value
If
--format-custom='."state":"([^"]+)".'
The string is ignored
Actual result
OK: value: {"state":"online"}
Expected result
OK: value: online
I solved it in the code by declaring it as a string
`
$options{options}->add_options(arguments => {
..
'format-custom:s' => { name => 'format_custom'},
..