Supervisor daemon and apps monitoring through Zabbix.
Template "Template App Supervisor" finds all supervisor apps, creates new items and triggers.
perl, sudo, zabbix-agent, zabbix-sender.
libswitch-perl library.
- copy supervisor_check.pl to /etc/zabbix/
- copy zabbix_agentd.d/supervisor.conf to /etc/zabbix/zabbix_agentd.d/
- copy sudoers.d/zabbix (or its content) to /etc/sudoers.d/
- chown root:root /etc/sudoers.d/zabbix ; chmod 440 /etc/sudoers.d/zabbix
- chmod 755 /etc/zabbix/supervisor_check.pl
- edit supervisor_check.pl and set yours $ZabbixServer and $HostName for zabbix_sender.
- restart zabbix-agent daemon.
- import "zbx_templates/Template App Supervisor check.xml" into your templates.
- apply template "Template App Supervisor" host.
- copy cron.d/zabbix_supervisor_check to /etc/cron.d/ and reload crond.