Hi everyone!
I have an item that returns simple text message after execution of some script.
I created a trigger for that function:
{qwerty:check_qwerty.sh.regexp(Text that says everything is fine)}=0
.sh script generate false alarms sometimes, so firstly I want to modify the trigger to make a real notification after several checks. This might look like this:
{qwerty:check_qwerty.sh.regexp(Text that says everything is fine).last(#3)}=0
But this doesn't work. I'll be very grateful for any ideas on how to make this work.
I have an item that returns simple text message after execution of some script.
I created a trigger for that function:
{qwerty:check_qwerty.sh.regexp(Text that says everything is fine)}=0
.sh script generate false alarms sometimes, so firstly I want to modify the trigger to make a real notification after several checks. This might look like this:
{qwerty:check_qwerty.sh.regexp(Text that says everything is fine).last(#3)}=0
But this doesn't work. I'll be very grateful for any ideas on how to make this work.
Comment