Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
monitoring
>
cs-nrpe
> nrpe-4.1.0_config.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nrpe-4.1.0_config.patch of Package cs-nrpe
--- sample-config/nrpe.cfg.in.orig 2022-10-06 16:25:17.983094693 +0200 +++ sample-config/nrpe.cfg.in 2022-10-07 08:27:43.951987603 +0200 @@ -158,7 +158,7 @@ # without asking for a password. If you do this, make sure you don't give # random users write access to that directory or its contents! -# command_prefix=/usr/bin/sudo +command_prefix=/usr/bin/sudo # MAX COMMANDS @@ -298,10 +298,10 @@ # This is by far the most secure method of using NRPE command[check_users]=@pluginsdir@/check_users -w 5 -c 10 -command[check_load]=@pluginsdir@/check_load -r -w .15,.10,.05 -c .30,.25,.20 +command[check_load]=@pluginsdir@/check_load -r -w 15,10,5 -c 30,25,20 command[check_hda1]=@pluginsdir@/check_disk -w 20% -c 10% -p /dev/hda1 command[check_zombie_procs]=@pluginsdir@/check_procs -w 5 -c 10 -s Z -command[check_total_procs]=@pluginsdir@/check_procs -w 150 -c 200 +command[check_total_procs]=@pluginsdir@/check_procs -w 250 -c 300 # The following examples allow user-supplied arguments and can @@ -352,7 +352,7 @@ # This directive allows you to include definitions from an external config file. #include=<somefile.cfg> - +include=@sysconfdir@/nrpe_local.cfg # INCLUDE CONFIG DIRECTORY @@ -361,6 +361,7 @@ #include_dir=<somedirectory> #include_dir=<someotherdirectory> +include_dir=@sysconfdir@/nrpe.d # KEEP ENVIRONMENT VARIABLES # This directive allows you to retain specific variables from the environment