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.py
Notice that this will use the default unix socket path. Modify the
unix_socket_path
variable in the script if your path differs from the default. -
Make the script executable
chmod +x /etc/snmp/supervisord.py
-
Edit your snmpd.conf file (usually /etc/snmp/snmpd.conf) and add:
extend supervisord /etc/snmp/supervisord.py
-
Restart snmpd on your host
systemctl restart snmpd