While Zabbix supports a decent range of notification mechanisms, there always comes a time when you need something very specific and the default methods just don't cut it. For such situations, Zabbix supports custom scripts to be used as media.
Let's try to set one up:
- Open Administration | Media types and click on Create media type. Enter the following values:
-
- Name: Test script
- Type: Script
- Script name: testscript
- Script parameters: Click on the Add control and enter {ALERT.MESSAGE} in the new field: