Skip to main content

Hi everybody,
I’m trying hard to make a threshold working in my service template without any success…


Everything is ok from CLI:

/centreon_aws_cloudwatchlogs_api.pl --plugin=cloud::aws::cloudwatchlogs::plugin --mode=get-logs --custommode='awscli' l…….]  --critical-status='%{message} =~ /error/i' 

But from gui, the Threshold is not valid :

CRITICALSTATUS = %{message\} =~ /error/i

I tried to put \\ before every special character (\\%\\{message\\} \\=\\~ \\/error\\/i), but the problem persists… 

Does anyone has an idea ?

Thank you for your help.

Kind regards,

Alexandre

Be the first to reply!

Reply