Changeset 1156 for branches/fc11-dev


Ignore:
Timestamp:
Jun 3, 2009, 11:25:09 AM (12 years ago)
Author:
mitchb
Message:
Update for current version of nrpe.cfg
Mostly reformatting, but significantly, use the package's created
'nrpe' user instead of the nonexistent 'nagios' user
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fc11-dev/server/fedora/config/etc/nagios/nrpe.cfg

    r982 r1156  
    33# Written by: Ethan Galstad (nagios@nagios.org)
    44#
    5 # Last Modified: 02-23-2006
     5# Last Modified: 11-23-2007
    66#
    77# NOTES:
     
    1212
    1313
     14# LOG FACILITY
     15# The syslog facility that should be used for logging purposes.
     16
     17log_facility=daemon
     18
     19
     20
    1421# PID FILE
    1522# The name of the file in which the NRPE daemon should write it's process ID
     
    3542# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
    3643
    37 #server_address=192.168.1.1
     44#server_address=127.0.0.1
    3845
    3946
     
    4552# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
    4653
    47 nrpe_user=nagios
     54nrpe_user=nrpe
    4855
    4956
     
    5562# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
    5663
    57 nrpe_group=nagios
     64nrpe_group=nrpe
    5865
    5966
     
    125132
    126133command_timeout=60
     134
     135
     136
     137# CONNECTION TIMEOUT
     138# This specifies the maximum number of seconds that the NRPE daemon will
     139# wait for a connection to be established before exiting. This is sometimes
     140# seen where a network problem stops the SSL being established even though
     141# all network sessions are connected. This causes the nrpe daemons to
     142# accumulate, eating system resources. Do not set this too low.
     143
     144connection_timeout=300
    127145
    128146
     
    176194# examples only!
    177195
     196
    178197# The following examples use hardcoded command arguments...
    179198
    180199#command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10
    181200#command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
    182 #command[check_disk1]=/usr/lib64/nagios/plugins/check_disk -w 20 -c 10 -p /dev/hda1
    183 #command[check_disk2]=/usr/lib64/nagios/plugins/check_disk -w 20 -c 10 -p /dev/hdb1
     201#command[check_hda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1
    184202#command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z
    185203#command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200
     204
    186205
    187206# The following examples allow user-supplied arguments and can
    188207# only be used if the NRPE daemon was compiled with support for
    189208# command arguments *AND* the dont_blame_nrpe directive in this
    190 # config file is set to '1'...
     209# config file is set to '1'.  This poses a potential security risk, so
     210# make sure you read the SECURITY file before doing this.
    191211
    192212command[check_users]=/usr/lib64/nagios/plugins/check_users -w $ARG1$ -c $ARG2$
Note: See TracChangeset for help on using the changeset viewer.