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 (parent:
66d2b9d
)
different checks for postfix master, qmgr, pickup on stretch
author
Peter Palfrader
<peter@palfrader.org>
Sat, 2 Sep 2017 15:52:14 +0000
(17:52 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 2 Sep 2017 15:52:14 +0000
(17:52 +0200)
config/nagios-master.cfg
patch
|
blob
|
history
diff --git
a/config/nagios-master.cfg
b/config/nagios-master.cfg
index
5057e25
..
7f43325
100644
(file)
--- a/
config/nagios-master.cfg
+++ b/
config/nagios-master.cfg
@@
-2360,16
+2360,39
@@
services:
name: process - postfix - master
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
hostgroups: postfix-hosts
name: process - postfix - master
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
hostgroups: postfix-hosts
+ excludehosts: stretch
+ -
+ name: process - postfix - master
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'"
+ hostgroups: postfix-hosts
+ excludehosts: jessie
+
-
name: process - postfix - qmgr
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
hostgroups: postfix-hosts
depends: process - postfix - master
-
name: process - postfix - qmgr
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'"
hostgroups: postfix-hosts
depends: process - postfix - master
+ excludehosts: stretch
+ -
+ name: process - postfix - qmgr
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t unix -u'"
+ hostgroups: postfix-hosts
+ depends: process - postfix - master
+ excludehosts: jessie
+
-
name: process - postfix - pickup
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
hostgroups: postfix-hosts
depends: process - postfix - master
-
name: process - postfix - pickup
nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'"
hostgroups: postfix-hosts
depends: process - postfix - master
+ excludehosts: stretch
+ -
+ name: process - postfix - pickup
+ nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t unix -u -c'"
+ hostgroups: postfix-hosts
+ depends: process - postfix - master
+ excludehosts: jessie
+
-
name: process - postfix - anvil
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"
-
name: process - postfix - anvil
nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 0: -u postfix -C anvil -a 'anvil -l -t unix -u'"