Hey, I am trying to get a script to execute when the agentd process stops running. The weird thing is that I have the remote command, and the action, and the trigger all set up, but the script executes when I start up zabbix, not when zabbix stops. It is doing just the opposite of what I want it to do. What I want to do is that whenever the agentd process stops, this script will kick off, thus re-starting zabbix. The trigger that I am using is {zabbixhost
roc.num[zabbix_server].last(0)}<1. I've tried different triggers, but no matter which one I use, the scriipt kicks off when the agentd starts. I've even tried with no trigger and the same thing happens. I can't find any examples on how to set this up. All I am trying to do is start zabbix via a script when the agentd process stops. Does anyone feel my pain of what I am trying to accomplish? All help is appreciated.
roc.num[zabbix_server].last(0)}<1. I've tried different triggers, but no matter which one I use, the scriipt kicks off when the agentd starts. I've even tried with no trigger and the same thing happens. I can't find any examples on how to set this up. All I am trying to do is start zabbix via a script when the agentd process stops. Does anyone feel my pain of what I am trying to accomplish? All help is appreciated.
Comment