Hi all!!!
I have a question...i need to launch a script "test.sh" with the agent of zabbix in a linux machine
Example: test.sh ---> /sbin/poweroff
(chmod +x done)
in the /etc/zabbix/zabbix_agentd.conf i have the "EnableRemoteCommands=1"
The Visudo is edited for the zabbix (i put the line "zabbix ALL=NOPASSWD: ALL")
But how i can write on the zabbix server "when i see this trigger on, start this script?" and how can i test it?
In photo as i have modified the "action" on the zabbix-server
Thanks all
I have a question...i need to launch a script "test.sh" with the agent of zabbix in a linux machine

Example: test.sh ---> /sbin/poweroff
(chmod +x done)
in the /etc/zabbix/zabbix_agentd.conf i have the "EnableRemoteCommands=1"
The Visudo is edited for the zabbix (i put the line "zabbix ALL=NOPASSWD: ALL")
But how i can write on the zabbix server "when i see this trigger on, start this script?" and how can i test it?
In photo as i have modified the "action" on the zabbix-server
Thanks all
Comment