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) »
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
Kernels, Network, and Services configuration
1 post • Page 1 of 1