dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction : etc/network/interfaces.m4
[lhc/ateliers.git]
/
local
/
check-mk-agent-configure
diff --git
a/local/check-mk-agent-configure
b/local/check-mk-agent-configure
index
bfc3a79
..
f7638b3
100755
(executable)
--- a/
local/check-mk-agent-configure
+++ b/
local/check-mk-agent-configure
@@
-6,17
+6,16
@@
tool=$(readlink -e "${0%/*}/..")
sudo install -m 664 -o root -g root /dev/stdin /etc/xinetd.d/check_mk <<-EOF
service check_mk
{
sudo install -m 664 -o root -g root /dev/stdin /etc/xinetd.d/check_mk <<-EOF
service check_mk
{
- disable = yes
- server = /usr/bin/check_mk_agent
- log_on_success =
- only_from = 127.0.0.1 91.216.110.7 91.224.149.11
+ type = UNLISTED
port = 6556
port = 6556
- protocol = tcp
- server = /usr/bin/check_mk_agent
socket_type = stream
socket_type = stream
- type = UNLISTED
- user = root
+ protocol = tcp
wait = no
wait = no
+ user = root
+ server = /usr/bin/check_mk_agent
+ only_from = 127.0.0.1 91.216.110.7 91.224.149.11
+ #log_on_success =
+ disable = yes
}
EOF
}
EOF
@@
-31,5
+30,7
@@
sudo install -m 600 -o check_mk_agent -g check_mk_agent /dev/stdin /var/lib/chec
sudo install -m 640 -o root -g root /dev/stdin /etc/check_mk/mrpe.cfg <<-EOF
check_gre_apt /usr/lib/nagios/plugins/check_apt -t 20
sudo install -m 640 -o root -g root /dev/stdin /etc/check_mk/mrpe.cfg <<-EOF
check_gre_apt /usr/lib/nagios/plugins/check_apt -t 20
- check_gre_apt /usr/lib/nagios/plugins/check_swap -w 90% -c 25%
+ check_gre_swap /usr/lib/nagios/plugins/check_swap -w 90% -c 25%
+ check_gre_disk /usr/lib/nagios/plugins/check_disk -w 20% -c 10%
+ check_gre_load /usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
EOF
EOF