Hello,
I'm trying to monitor ssh from a remote server and get with last() every change, but I want just now if the ssh is not reachable. When ssh is accessible I get an 1 and when it goes down I get an 0 (-1).
I tried some triggers, one of them:
{_Test:net.tcp.service[ssh,_Test,22].change(1)}=0
simple Item
net.tcp.service[ssh,_Test,22]
_Test is a template
I want an alert when the status changes from 1 to 0 and only then.
I'm trying to monitor ssh from a remote server and get with last() every change, but I want just now if the ssh is not reachable. When ssh is accessible I get an 1 and when it goes down I get an 0 (-1).
I tried some triggers, one of them:
{_Test:net.tcp.service[ssh,_Test,22].change(1)}=0
simple Item
net.tcp.service[ssh,_Test,22]
_Test is a template
I want an alert when the status changes from 1 to 0 and only then.