Service monitor by SNMP (OID)

Kernels & Hardware, configuring network, installing services

Service monitor by SNMP (OID)

Postby Geoffroy66001 » 2020-10-13 09:08

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_ID=« 10 »
VERSION=« 10 (buster) »
VERSION_CODENAME=buster
ID=debian

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
Geoffroy66001
 
Posts: 1
Joined: 2020-10-13 08:59

Return to System configuration

Who is online

Users browsing this forum: No registered users and 18 guests

fashionable