summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-09-28 15:18:06 +0200
committermh <mh@immerda.ch>2013-09-28 15:18:49 +0200
commitf596ec1fb06acb70f0b385fc418217556bc35dc2 (patch)
tree0650bd02d6beeaeb284ae2bd7207d5bf77abe25a
parentbfa099d32fd1155f9fe9d7bde2e927ea31ea3e2b (diff)
check new and legacy ports of managesieve
-rw-r--r--manifests/command/imap_pop3.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/command/imap_pop3.pp b/manifests/command/imap_pop3.pp
index 3735136..f3637a7 100644
--- a/manifests/command/imap_pop3.pp
+++ b/manifests/command/imap_pop3.pp
@@ -1,5 +1,6 @@
+# manage mail checks
class nagios::command::imap_pop3 {
- case $operatingsystem {
+ case $::operatingsystem {
debian,ubuntu: { } # Debian/Ubuntu already define those checks
default: {
nagios_command {
@@ -17,6 +18,8 @@ class nagios::command::imap_pop3 {
'check_pop3_ssl':
command_line => '$USER1$/check_pop -H $ARG1$ -p $ARG2$ -S';
'check_managesieve':
+ command_line => '$USER1$/check_tcp -H $ARG1$ -p 4190';
+ 'check_managesieve_legacy':
command_line => '$USER1$/check_tcp -H $ARG1$ -p 2000';
}
}