remove generic docker config for nrpe
This commit is contained in:
parent
f590db8bce
commit
e84393e786
|
@ -1,40 +0,0 @@
|
|||
# COMMAND DEFINITIONS
|
||||
#
|
||||
# Command definitions that this daemon will run. Definitions
|
||||
# are in the following format:
|
||||
#
|
||||
# command[<command_name>]=<command_line>
|
||||
#
|
||||
# When the daemon receives a request to return the results of <command_name>
|
||||
# it will execute the command specified by the <command_line> 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$
|
Loading…
Reference in New Issue