Jump to content

Monitoring/check dhclient

From Wikitech
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This Icinga alert says it found a running DHCP client (dhclient) process.

We don't want any running DHCP clients. You can read here about the reason to add this check.

It uses the command NRPE command /usr/lib/nagios/plugins/check_procs -w 0:0 -c 0:0 -C dhclient' on the affected host which you can run yourself.

So it expects exactly 0 processes called "dhclient" and any other number will create a CRIT.

You can manually check with "ps aux | grep dhclient" to look for the culprit. Kill the process.