Using Zabbix 2.2, I've defined an "Action" which is a remote command, which executes on the Zabbix agent. This runs a script on the agent, which when an alert is triggered, runs this script:
/usr/bin/sudo /var/lib/zabbix/scripts/hoststate.sh
What I would like to do is when an alert is triggered, have the output from the hoststate.sh script attached to the alert email.
Is something like that possible?
-Thanks
/usr/bin/sudo /var/lib/zabbix/scripts/hoststate.sh
What I would like to do is when an alert is triggered, have the output from the hoststate.sh script attached to the alert email.
Is something like that possible?
-Thanks