Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37768996
en ru br
Репозитории ALT
S:3.2.1-alt7
5.1: 2.12-alt3
4.1: 2.12-alt1.M41.1
4.0: 2.6-alt1
3.0: 2.0-alt1.1
www.altlinux.org/Changes

Группа :: Мониторинг
Пакет: nagios-nrpe

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: nrpe-2.5.2-alt-config.patch
Скачать


diff -ruN nrpe-2.5.2.orig/sample-config/nrpe.cfg.in nrpe-2.5.2/sample-config/nrpe.cfg.in
--- nrpe-2.5.2.orig/sample-config/nrpe.cfg.in	2006-02-24 08:48:26 +1000
+++ nrpe-2.5.2/sample-config/nrpe.cfg.in	2006-07-01 21:55:11 +1100
@@ -177,12 +177,12 @@
 
 # The following examples use hardcoded command arguments...
 
-command[check_users]=@libexecdir@/check_users -w 5 -c 10
-command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20
-command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1
-command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1
-command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z
-command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 
+#command[check_users]=@libexecdir@/check_users -w 5 -c 10
+#command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20
+#command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1
+#command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1
+#command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z
+#command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 
 
 # The following examples allow user-supplied arguments and can
 # only be used if the NRPE daemon was compiled with support for 
diff -ruN nrpe-2.5.2.orig/sample-config/nrpe.xinetd.in nrpe-2.5.2/sample-config/nrpe.xinetd.in
--- nrpe-2.5.2.orig/sample-config/nrpe.xinetd.in	2006-04-18 07:59:13 +1100
+++ nrpe-2.5.2/sample-config/nrpe.xinetd.in	2006-07-01 21:57:12 +1100
@@ -1,15 +1,16 @@
-# default: on
+# default: off
 # description: NRPE (Nagios Remote Plugin Executor)
 service nrpe
 {
-       	flags           = REUSE
-        socket_type     = stream        
-       	wait            = no
-        user            = @nrpe_user@
-	group		= @nrpe_grp@
-       	server          = @bindir@/nrpe
-        server_args     = -c @sysconfdir@/nrpe.cfg --inetd
-       	log_on_failure  += USERID
-        disable         = no
-	only_from       = 127.0.0.1
+	disable			= yes
+	flags			= REUSE
+	type			= UNLISTED
+	port			= @nrpe_port@
+	socket_type		= stream
+	wait			= no
+	user			= @nrpe_user@
+	group			= @nrpe_grp@
+	server			= @sbindir@/nrpe
+	server_args		= -c @sysconfdir@/nagios/nrpe.cfg --inetd
+	only_from		= 127.0.0.1
 }
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin