From 4d9688f2de4cddd6a69e45b9b4bc82aeb3f6d2d2 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sat, 16 Jan 2010 14:12:22 +0000 Subject: Rewrite cron check to not allow nrpe to report on any process for security reasons. --- nagios-nrpe-commands.cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'nagios-nrpe-commands.cfg') diff --git a/nagios-nrpe-commands.cfg b/nagios-nrpe-commands.cfg index 6a03cc9..1924b3a 100644 --- a/nagios-nrpe-commands.cfg +++ b/nagios-nrpe-commands.cfg @@ -6,5 +6,6 @@ command[check_disk]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $A command[check_nfs]=/usr/lib/nagios/plugins/check_rpc -H localhost -C nfs -c2,3 command[check_ntp]=/usr/lib/nagios/plugins/check_ntp -H localhost command[check_procs]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ +command[check_procs_cron]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -C cron command[check_procs_zombie]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s Z command[check_swap]=/usr/lib/nagios/plugins/check_swap -w $ARG1 -c $ARG2$ -- cgit v1.2.3