zabbix actions

https://www.zabbix.com/documentation/4.0/manual/config/notifications/action/operation/remote_command
https://www.zabbix.com/forum/zabbix-help/49552-zabbix-server-problem-need-to-be-automate
https://www.zabbix.com/forum/zabbix-help/46989-zabbix-remote-commands-not-working

- add action in zabbix server - Configuration -> Actions
- edit visudo (or nano /etc/sudoers) add: zabbix ALL=NOPASSWD: ALL
- edit /etc/zabbix/zabbix-agent.conf, add: EnableRemoteCommands=1
- restart zabbix agent: service zabbix-agent restart

Test:
- stop service (httpd)
- wait some time
- check if service is back
- if not check in zabbix server Reports -> Action log