Zabbix Server Auto Remediation with Rundeck by proxy

Make a proxy on Zabbix Server

Zabbix Server > Administration > Proxies

Add hosts on Zabbix Server to monitoring (set monitoring by zabbix remote site proxy)

Make a script on Zabbix Server (run Rundeck Job by curl and API Token starting by zabbix proxy)

Make a action on Zabbix Server

Enable remote command and Timeout on Windows Zabbix Agent and restart it

C:\Program Files\Zabbix Agent 2\zabbix_agent2.conf

AllowKey=system.run[*]
Timeout=30

Generate alert by PS

Check Actions by Zabbix

Check email notification by Zabbix Server

Check if job is started on Rundeck Server

Check status job by PS

Check if job is done

Check notificazion by Zabbix Server

Links

Rundeck on Rhel 7

https://docs.rundeck.com/docs/learning/howto/install-centos.html

Zabbix on Ubuntu 22.04

https://www.zabbix.com/download?zabbix=6.4&os_distribution=ubuntu&os_version=22.04&components=server_frontend_agent&db=mysql&ws=apache

Posted in AutomationTags: