/zabbix-supervisor

A zabbix template kit to monitor supervisord

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

zabbix-supervisor

A zabbix template kit to monitor supervisord

inspired from https://github.com/gsskk/zabbix-supervisor

prerequisite

permissions

grant permissions to zabbix user to execute supervisorctl command

rather than editing sudoers and providing sudo rights, create a dedicated unix group

groupadd supervisor
usermod -a -G supervisor zabbix

change ownership of the socket file in s/etc/supervisor/supervisord.conf

[unix_http_server]
file=/var/run//supervisor.sock   ; (the path to the socket file)
chmod=0770
chown=root:supervisor