From e84393e7860520d47b3b1b08d01b710c6181385a Mon Sep 17 00:00:00 2001 From: Kameron Kenny - pi501 Date: Fri, 27 Dec 2024 14:02:52 -0500 Subject: [PATCH] remove generic docker config for nrpe --- nrpe/etc/nagios/nrpe.d/docker.cfg | 40 ------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 nrpe/etc/nagios/nrpe.d/docker.cfg diff --git a/nrpe/etc/nagios/nrpe.d/docker.cfg b/nrpe/etc/nagios/nrpe.d/docker.cfg deleted file mode 100644 index c2b2b36..0000000 --- a/nrpe/etc/nagios/nrpe.d/docker.cfg +++ /dev/null @@ -1,40 +0,0 @@ -# COMMAND DEFINITIONS -# -# Command definitions that this daemon will run. Definitions -# are in the following format: -# -# command[]= -# -# When the daemon receives a request to return the results of -# it will execute the command specified by the argument. - -# Below are some examples using static arguments: -# -# command[check_hda1]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1 -# command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 -# command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w 150 -c 200 -# command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 -# command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z - -# If you enable command argument processing (dont_blame_nrpe, above) you may -# include variables in the command definition that will be substituted for the -# values given by the client. Variables have the format $varname$, and are -# compatible with NRPE or Nagios arguments of the form $ARGn$. -# -# Here are some examples using argument passing, with NRPE-compatible names: -# -# command[check_disk]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ -# command[check_load]=/usr/lib/nagios/plugins/check_load -w $ARG1$ -c $ARG2$ -# command[check_procs]=/usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ -# command[check_users]=/usr/lib/nagios/plugins/check_users -w $ARG1$ -c $ARG2$ -# -# And here are the same examples using arbitrary variable names: -# -# command[check_disk]=/usr/lib/nagios/plugins/check_disk -w $warn$ -c $crit$ -p $path$ -# command[check_load]=/usr/lib/nagios/plugins/check_load -w $warn$ -c $crit$ -# command[check_procs]=/usr/lib/nagios/plugins/check_procs -w $warn$ -c $crit$ -s $state$ -# command[check_users]=/usr/lib/nagios/plugins/check_users -w $warn$ -c $crit$ - -command[check_docker_container_status]=/usr/lib/nagios/plugins/check_docker --status running --containers $ARG1$ -command[check_docker_container_cpu]=/usr/lib/nagios/plugins/check_docker --cpu $ARG2$:$ARG3$ --containers $ARG1$ -command[check_docker_container_memory]=/usr/lib/nagios/plugins/check_docker --memory $ARG2$:$ARG3$:% --containers $ARG1$