Service monitor by SNMP (OID)

Kernels, Network, and Services configuration
Post Reply
Posts: 1
Joined: 2020-10-13 08:59

Service monitor by SNMP (OID)

#1 Post by Geoffroy66001 »

I would like to monitor a debian 10 process by snmp how to configure it and have the created IOD for it.
Exemple : monitor unifi.

XXXX@linux01:~# cat /etc/os-release
PRETTY_NAME=« Debian GNU/Linux 10 (buster) »
NAME=« Debian GNU/Linux »
VERSION=« 10 (buster) »

what do you want to monitore? : The status of the UNIFI process, we applied the same logic as mongoDB (which works for it).

In /etc/snmp/snmpd.conf adding a line explain in #Process Monitoring# the process which will be automatically supervised by the agent.
proc unifi 10 1

This line indicates that there must be at least 1 process named unifi and no more than 10. If this is the case, an SNMP trap will be sent automatically to our previously configured receiver. the return will be KO if the service works it will be OK

thank you for your help

Post Reply