Hi guys, im trying to trigger a custom telegram notification from comand line.
I already have this working , creating a “execute on server” notification type when a host is down.
The command is:
tool fetch url="https://api.telegram.org/{mitoken}/sendMessage\?chat_id=-{number}&text=[Time],Device: [Device.FirstAddress]|[Device.Name]|[Service.ProblemDescription]|[Service.Status]" keep-result=no
Now I want to trigger similar command when bgp session is down, is it possible ? Any idea ?
Regards.
Leandro.