From 07aba8c0256ab8e2dbb44888a590f53aacd5d761 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 7 Sep 2016 16:42:45 +0300 Subject: [PATCH 1/1] fix plugins path, and do not enable them by default (as before) --- commands.cfg | 18 +++++++++--------- nagios-nrpe.spec | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/commands.cfg b/commands.cfg index da828ea..4ff6c62 100644 --- a/commands.cfg +++ b/commands.cfg @@ -20,11 +20,11 @@ # The following examples use hardcoded command arguments... -command[check_users]=@pluginsdir@/check_users -w 5 -c 10 -command[check_load]=@pluginsdir@/check_load -w 15,10,5 -c 30,25,20 -command[check_hda1]=@pluginsdir@/check_disk -w 20% -c 10% -p /dev/hda1 -command[check_zombie_procs]=@pluginsdir@/check_procs -w 5 -c 10 -s Z -command[check_total_procs]=@pluginsdir@/check_procs -w 150 -c 200 +#command[check_users]=/usr/lib/nagios/check_users -w 5 -c 10 +#command[check_load]=/usr/lib/nagios/check_load -w 15,10,5 -c 30,25,20 +#command[check_hda1]=/usr/lib/nagios/check_disk -w 20% -c 10% -p /dev/hda1 +#command[check_zombie_procs]=/usr/lib/nagios/check_procs -w 5 -c 10 -s Z +#command[check_total_procs]=/usr/lib/nagios/check_procs -w 150 -c 200 # The following examples allow user-supplied arguments and can @@ -33,7 +33,7 @@ command[check_total_procs]=@pluginsdir@/check_procs -w 150 -c 200 # config file is set to '1'. This poses a potential security risk, so # make sure you read the SECURITY file before doing this. -#command[check_users]=@pluginsdir@/check_users -w $ARG1$ -c $ARG2$ -#command[check_load]=@pluginsdir@/check_load -w $ARG1$ -c $ARG2$ -#command[check_disk]=@pluginsdir@/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ -#command[check_procs]=@pluginsdir@/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ +#command[check_users]=/usr/lib/nagios/check_users -w $ARG1$ -c $ARG2$ +#command[check_load]=/usr/lib/nagios/check_load -w $ARG1$ -c $ARG2$ +#command[check_disk]=/usr/lib/nagios/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ +#command[check_procs]=/usr/lib/nagios/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ diff --git a/nagios-nrpe.spec b/nagios-nrpe.spec index 6da90d6..745262f 100644 --- a/nagios-nrpe.spec +++ b/nagios-nrpe.spec @@ -2,7 +2,7 @@ Summary: Nagios remote plugin execution service/plugin Summary(pl.UTF-8): Demon i wtyczka zdalnego wywoływania wtyczek Nagios Name: nagios-nrpe Version: 3.0 -Release: 1 +Release: 2 License: GPL v2 Group: Networking Source0: http://downloads.sourceforge.net/nagios/nrpe-%{version}.tar.gz -- 2.44.0