Supervisord
It shows you the totals per status and also the uptime per process. That way you can add alerts for instance when there are process in state FATAL.
SNMP Extend
-
Copy the python script to the desired host.
wget https://github.com/librenms/librenms-agent/raw/master/snmp/supervisord.py -O /etc/snmp/supervisord.pyThis command uses the default unix socket path. For a different path, change the
unix_socket_pathvariable in the script. -
Make the script executable.
chmod +x /etc/snmp/supervisord.py -
Edit your
snmpd.conffile, usually/etc/snmp/snmpd.conf, and add:extend supervisord /etc/snmp/supervisord.py -
Restart snmpd on your host.
systemctl restart snmpd