X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=commands.cfg;h=da828ea53670e6efb8703cbbd8ed57344dada19f;hb=527f50696c772d5252da0f5939032a8fac8cce50;hp=4ff6c62bc2e7039b921e348ce6fdb9407c758eab;hpb=ea740bab79474df298d175826754e99f191761dc;p=packages%2Fnagios-nrpe.git diff --git a/commands.cfg b/commands.cfg index 4ff6c62..da828ea 100644 --- a/commands.cfg +++ b/commands.cfg @@ -20,11 +20,11 @@ # The following examples use hardcoded command arguments... -#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 +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 # The following examples allow user-supplied arguments and can @@ -33,7 +33,7 @@ # 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]=/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$ +#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$