[PATCH] Adding simple nrpe check

Seth Vidal skvidal at fedoraproject.org
Mon Mar 29 20:59:11 UTC 2010



On Mon, 29 Mar 2010, Mike McGrath wrote:

> This simple check will allow us to see if nrpe is functioning
> ---
> configs/system/nrpe.cfg |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/configs/system/nrpe.cfg b/configs/system/nrpe.cfg
> index a9828c5..37dd38e 100644
> --- a/configs/system/nrpe.cfg
> +++ b/configs/system/nrpe.cfg
> @@ -189,6 +189,7 @@ connection_timeout=300
>
> # The following examples use hardcoded command arguments...
>
> +command[check_nrpe]=/bin/date
> command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10
> command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
> command[check_raid]=/usr/lib/nagios/plugins/check_raid.py

+1
-sv



More information about the infrastructure mailing list