I'm trying to make a trigger that will alert if the status of net.tcp.service[https] isn't 200 OK. No matter what I try it doesn't seem to work though. So then I thought maybe net.tcp.service[https] simply returns a 1 or 0 and I could alert on that, but that didn't work either.
How can I have the trigger check for 200 OK in the value of net.tcp.service[https] and alert if it's not there? I would also like to alert if it gets "connection refused".
Thanks!
How can I have the trigger check for 200 OK in the value of net.tcp.service[https] and alert if it's not there? I would also like to alert if it gets "connection refused".
Thanks!
Comment