Answer the question
In order to leave comments, you need to log in
How to run custom script in zabbix 5.2?
There is a zabbix and a router from which zabbix takes metrics via snmp. You need to make a notification about the unavailability of a certain host through the script:
#!/bin/bash
curl --insecure -X POST --data-urlencode 'payload={"channel":"#officeit_alert","username":"Test"," attachments": [{"text": ":bangbang: \n\nTest"}]}' XXXXXXXXXX
How is this possible? The trigger exists and works, but I don’t understand where to insert the script.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question