So I have a Gunicorn service on my Ubuntu server.
First I added proc gunicorn
to this file: /etc/snmp/snmpd.conf
.
But I'm not sure how to get the right values.
I've seen this question (How to monitor services with SNMP?) and tried this command snmpwalk -v 2c -c public localhost 1.3.6.1.2.1.25.4.2.1.2
but I got this message:
HOST-RESOURCES-MIB::hrSWRunName = No more variables left in this MIB View (It is past the end of the MIB tree)
So I guess the OID is wrong or I have other configurations.
How can I get the status of my services with snmp?