User Tools

Site Tools


nagios:nrpe.cfg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
nagios:nrpe.cfg [2015/06/24 12:31] jzaehrinnagios:nrpe.cfg [2015/07/14 08:08] jzaehrin
Line 1: Line 1:
 +/etc/nagios/nrpe.cfg
 <code> <code>
 ############################################################################# #############################################################################
Line 126: Line 127:
 # Values: 0=debugging off, 1=debugging on # Values: 0=debugging off, 1=debugging on
  
-debug=1+debug=0
  
  
Line 174: Line 175:
  
 #include_dir=<somedirectory> #include_dir=<somedirectory>
-#include_dir=<someotherdirectory> 
  
  
Line 198: Line 198:
  
  
-The following examples use hardcoded command arguments...+local configuration: 
 +# if you'd prefer, you can instead place directives here 
 +include=/etc/nagios/nrpe_local.cfg
  
 +
 +# you can place your config snipplets into nrpe.d/
 +# only snipplets ending in .cfg will get included
 +include_dir=/etc/nagios/nrpe.d/
 +</code>
 +
 +/etc/nagios/nrpe.d/commands.cfg
 +<code>
 command[check_users]=/usr/lib/nagios/plugins/check_users -w 0 -c 0 command[check_users]=/usr/lib/nagios/plugins/check_users -w 0 -c 0
 command[check_load]=/usr/lib/nagios/plugins/check_load -w 60,40,20 -c 80,60,40 command[check_load]=/usr/lib/nagios/plugins/check_load -w 60,40,20 -c 80,60,40
Line 206: Line 216:
 command[check_watchdog]=/usr/lib/nagios/plugins/check_procs -C watchdog -c 1min: command[check_watchdog]=/usr/lib/nagios/plugins/check_procs -C watchdog -c 1min:
 command[check_acdsn]=/usr/lib/nagios/plugins/check_procs -C acdsn -c 1min: command[check_acdsn]=/usr/lib/nagios/plugins/check_procs -C acdsn -c 1min:
-command[check_time]=/usr/lib/nagios/plugins/check_ntp_time -H ntp.metas.ch +command[check_time]=/usr/lib/nagios/plugins/check_ntp_time -H 0.debian.pool.ntp.org
-command[check_nix_firmware]=//bin/bash /home/acdsn/git/acdsn-scripts/nix_firmware.sh $ARG1$+
  
-command[eh_time_full]=/home/acdsn/git/acdsn-scripts/set_time.sh -b >/dev/null 2>&1+command[eh_time_full]=sudo /home/acdsn/git/acdsn-scripts/set_time.sh
 command[eh_time_part]=/bin/bash /home/acdsn/git/acdsn-scripts/broadcast_time.sh -a $ARG1$ command[eh_time_part]=/bin/bash /home/acdsn/git/acdsn-scripts/broadcast_time.sh -a $ARG1$
- 
-# local configuration: 
-# if you'd prefer, you can instead place directives here 
-include=/etc/nagios/nrpe_local.cfg 
- 
- 
-# you can place your config snipplets into nrpe.d/ 
-# only snipplets ending in .cfg will get included 
-include_dir=/etc/nagios/nrpe.d/ 
 </code> </code>
nagios/nrpe.cfg.txt · Last modified: 2015/07/14 08:28 by jzaehrin