summaryrefslogtreecommitdiff
path: root/manifests/command/imap_pop3.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2015-10-31 10:26:05 +0100
committermh <mh@immerda.ch>2015-10-31 10:26:05 +0100
commitc3ca4ac25d7cdfd5826149445f2946d64d968f97 (patch)
tree94f4375d9f1cb33e870ab77ab21b243ee364dbe6 /manifests/command/imap_pop3.pp
parent2c4f69e1ea1656edf7c7d39fa90d200f901404df (diff)
also add pop3 login checks
Diffstat (limited to 'manifests/command/imap_pop3.pp')
-rw-r--r--manifests/command/imap_pop3.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/command/imap_pop3.pp b/manifests/command/imap_pop3.pp
index 632b304..42e4092 100644
--- a/manifests/command/imap_pop3.pp
+++ b/manifests/command/imap_pop3.pp
@@ -1,6 +1,6 @@
# manage mail checks
class nagios::command::imap_pop3 {
- require ::nagios::plugins::imap_login
+ require ::nagios::plugins::mail_login
case $::operatingsystem {
'Debian','Ubuntu': { } # Debian/Ubuntu already define those checks
default: {
@@ -24,5 +24,7 @@ class nagios::command::imap_pop3 {
command_line => '$USER1$/check_tcp -H $ARG1$ -p 2000';
'check_imap_login':
command_line => '$USER1$/check_imap_login -s -H $ARG1$ -u $ARG2$ -p $ARG3$ -w $ARG4$ -c $ARG5$';
+ 'check_pop3_login':
+ command_line => '$USER1$/check_pop3_login -s -H $ARG1$ -u $ARG2$ -p $ARG3$ -w $ARG4$ -c $ARG5$';
}
}