openbsd-ports/net/nagios/nrpe/patches/patch-sample-config_nrpe_cfg_in
sthen 6f9e401d54 Update to NRPE 4.0.2, based on a diff from trondd
This has slightly less ancient TLS support (allowing us to get rid of
use of openssl to build) but is not compatible with older versions.

The warning remains; if you are still using this it is recommended that
you don't:

WARNING: NRPE is deprecated upstream and no longer receives bug fixes or
new features. For some of the checks on remote servers that you might
otherwise make using NRPE, you may like to consider "manubolon-snmp" and
an SNMP daemon instead.
2021-11-28 12:05:28 +00:00

19 lines
792 B
Plaintext

$OpenBSD: patch-sample-config_nrpe_cfg_in,v 1.3 2021/11/28 12:05:28 sthen Exp $
- provide a standard check_disk that checks all volumes, apart from hda1
not existing, it's stupid to check individual FS when they're split up
as usual with OpenBSD.
Index: sample-config/nrpe.cfg.in
--- sample-config/nrpe.cfg.in.orig
+++ sample-config/nrpe.cfg.in
@@ -299,7 +299,7 @@ disable_syslog=0
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_hda1]=@pluginsdir@/check_disk -w 20% -c 10% -p /dev/hda1
+command[check_disk]=@pluginsdir@/check_disk -w 20% -c 10%
command[check_zombie_procs]=@pluginsdir@/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=@pluginsdir@/check_procs -w 150 -c 200