Use zabbix to monitor all processes controlled by supervisor.
Test with zabbix 3.0 on CentOS 7.
-
Copy files to zabbix-agents as follows:
cp zabbix_agentd.d/supervisor_agentd.conf /etc/zabbix/zabbix_agentd.d/supervisor_agentd.conf cp scripts/zbx_discovery_supervisor.sh /etc/zabbix/scripts/zbx_discovery_supervisor.sh cp sudoers.d/zabbix /etc/sudoers.d/zabbix chown zabbix.zabbix /etc/zabbix/zabbix_agentd.d/supervisor_agentd.conf chown zabbix.zabbix /etc/zabbix/scripts/zbx_discovery_supervisor.sh chown root.root /etc/sudoers.d/zabbix chmod 440 /etc/sudoers.d/zabbix
-
Import templates/Template-Supervisor-autodiscovery.xml to zabbix web.
-
Restart zabbix-agents.