I already have this working , creating a "execute on server" notification type when a host is down.
The command is:
Code: Select all
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
Regards.
Leandro.