-
Notifications
You must be signed in to change notification settings - Fork 233
Acknowledge an event using the script
Ilya Ableev edited this page Mar 17, 2019
·
1 revision
I always say that the script should be safe for a non-experienced user.
It should not harm in any way, especially if it is running inside some serious infrastructure.
But you can create an action with a quick URL to acknowledge an event.
Action example:
{{{TRIGGER.SEVERITY}}}{TRIGGER.NAME} on {HOSTNAME}
Last value: {ITEM.LASTVALUE1} ({TIME})
Started: {EVENT.TIME} {EVENT.DATE}
You can [acknowledge](http://192.168.56.102/zabbix/zabbix.php?action=acknowledge.edit&backurl=zabbix.php%3Faction%3Dproblem.view%26page%3D1%26uncheck%3D1&eventids%5B0%5D={EVENT.ID}) this event
zbxtg;markdown
zbxtg;graphs
zbxtg;graphs_period=10800
zbxtg;itemid:{ITEM.ID1}
zbxtg;title:{HOST.HOST} - {TRIGGER.NAME}
How it looks like:
Pros:
- You can quickly acknowledge
- It is safe, you should be logged in
- A bot cannot hurt your monitoring system
Cons:
- You should be logged in, but it is safe
- You need to open a browser