Nagios Core Administration Cookbook - Second Edition by Tom Ryder

Nagios Core Administration Cookbook - Second Edition by Tom Ryder

Author:Tom Ryder
Language: eng
Format: mobi
Publisher: Packt Publishing
Published: 2016-02-28T22:00:00+00:00


The last solution is the most likely to be secure, so we'll examine an example here. We'll run the plugin check_procs as root, to get a process count. In most cases, you wouldn't need root privileges to get a complete count of all processes, but it might be needed on a system with a very locked-down grsecurity patch installed, as an example.

Getting ready

You should have a target host configured for checking in a Nagios Core 4.0 or later monitoring server. The target host should be running the nrpe daemon and listening on all interfaces. You can verify that nrpe is running with pgrep(1) or ps(1):

# pgrep nrpe 29964 # ps -e | grep [n]rpe nagios 29964 1 0 21:55 ? 00:00:01 nrpe



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.