projects
/
mirror
/
dsa-nagios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4c6e20f
)
klecker doesn't do http anymore, the services have been moved to new-klecker
author
Aurelien Jarno
<aurelien@aurel32.net>
Tue, 24 Sep 2019 10:31:57 +0000
(12:31 +0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Tue, 24 Sep 2019 10:31:57 +0000
(12:31 +0200)
config/nagios-master.cfg
patch
|
blob
|
history
diff --git
a/config/nagios-master.cfg
b/config/nagios-master.cfg
index
3f89435
..
0c10ad9
100644
(file)
--- a/
config/nagios-master.cfg
+++ b/
config/nagios-master.cfg
@@
-1110,7
+1110,7
@@
servers:
klecker:
address: 130.89.148.10
parents: gw-utwente
klecker:
address: 130.89.148.10
parents: gw-utwente
- hostgroups: computers, service,
apache2-hosts, apache-https,
rsyncd-hosts, dl380, stretch, incomingmailrelayed2025, hassrvfs, physical_x86_intel
+ hostgroups: computers, service, rsyncd-hosts, dl380, stretch, incomingmailrelayed2025, hassrvfs, physical_x86_intel
klecker-ftp:
address: 130.89.148.12
parents: new-klecker
klecker-ftp:
address: 130.89.148.12
parents: new-klecker
@@
-2379,11
+2379,11
@@
services:
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -a /usr/sbin/apache2"
hostgroups: apache2-hosts
depends: process - apache2 - master
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -a /usr/sbin/apache2"
hostgroups: apache2-hosts
depends: process - apache2 - master
- excludehosts: klecker
+ excludehosts:
new-
klecker
-
name: process - apache2 - worker
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:80 -c 1:150 -u www-data -a /usr/sbin/apache2"
-
name: process - apache2 - worker
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:80 -c 1:150 -u www-data -a /usr/sbin/apache2"
- hosts: klecker
+ hosts:
new-
klecker
depends: process - apache2 - master
-
name: unwanted process - apache2
depends: process - apache2 - master
-
name: unwanted process - apache2
@@
-2395,7
+2395,7
@@
services:
name: network service - http
check: check_http
hostgroups: apache2-hosts
name: network service - http
check: check_http
hostgroups: apache2-hosts
- excludehosts:
klecker,
casulana
+ excludehosts: casulana
depends: process - apache2 - master
-
name: network service - http
depends: process - apache2 - master
-
name: network service - http