Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

/etc/nrpe.cfg

From COCNM
Revision as of 02:19, 19 September 2013 by Bob (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Notes

  • Note: Set command[check_disc*] as required by the host

Porchlian

log_facility=daemon
pid_file=/var/run/nrpe.pid
server_port=5666
server_address=192.168.26.1
nrpe_user=nagios
nrpe_group=nagios
allowed_hosts=192.168.26.10
dont_blame_nrpe=0
allow_bash_command_substitution=0
debug=0
command_timeout=60
connection_timeout=300
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 5,4,3 -c 10,7.5,5
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200
command[check_swap]=/usr/local/nagios/libexec/check_swap -w 90 -c 50
command[check_mem_usage]=/usr/local/nagios/libexec/check_mem_usage -w 85 -c 95
command[check_disc1]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda2

Shedlian

log_facility=daemon
pid_file=/var/run/nrpe.pid
server_port=5666
server_address=192.168.26.11
nrpe_user=nagios
nrpe_group=nagios
allowed_hosts=192.168.26.10
dont_blame_nrpe=0
allow_bash_command_substitution=0
debug=0
command_timeout=60
connection_timeout=300
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 5,4,3 -c 10,7.5,5
command[check_disc1]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda2
command[check_disc2]=/usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /dev/sda3
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200
command[check_swap]=/usr/local/nagios/libexec/check_swap -w 90 -c 50
command[check_mem_usage]=/usr/local/nagios/libexec/check_mem_usage -w 85 -c 95