Changes of Revision 9
[-] | Changed | nrpe.spec |
1
2 %else 3 %systemd_post nrpe.service 4 %endif 5 +touch %{_sysconfdir}/nagios/%{myname}_local.cfg 6 if [ -d /etc/sudoers.d ] ; then 7 cat > /etc/sudoers.d/50_nagios << EOF 8 nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/,/usr/lib64/nagios/plugins/ 9 |
||
[+] | Changed | nrpe-default-config.patch ^ |
@@ -1,5 +1,5 @@ --- sample-config/nrpe.cfg.in.orig 2019-10-15 10:41:44.460555712 +0200 -+++ sample-config/nrpe.cfg.in 2019-10-15 10:44:05.712556957 +0200 ++++ sample-config/nrpe.cfg.in 2019-10-15 12:53:23.362712336 +0200 @@ -169,7 +169,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! @@ -18,6 +18,19 @@ # SSL CIPHER LIST # This lists which ciphers can be used. For backward compatibility, this +@@ -307,10 +307,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,05 -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 450 -c 500 + + + # The following examples allow user-supplied arguments and can @@ -372,5 +372,6 @@ #include_dir=<someotherdirectory> |