Ad Widget

Collapse

How to attach output to Zabbix alerts?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zzBernie
    Junior Member
    • Apr 2015
    • 14

    #1

    How to attach output to Zabbix alerts?

    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
Working...