nagios: Added support for checking SSL enabled IMAP service.
This commit is contained in:
parent
4e078fedd0
commit
19df011191
1 changed files with 12 additions and 0 deletions
|
@ -70,6 +70,18 @@ class nagios::target::https inherits nagios::target {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Configure imaps service target.
|
||||||
|
#
|
||||||
|
class nagios::target::imaps inherits nagios::target {
|
||||||
|
|
||||||
|
@@nagios::service { "${::homename}_imaps":
|
||||||
|
command => "check_imap!--ssl -p 993",
|
||||||
|
description => "IMAPS",
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# Configure smtp service target.
|
# Configure smtp service target.
|
||||||
#
|
#
|
||||||
class nagios::target::smtp inherits nagios::target {
|
class nagios::target::smtp inherits nagios::target {
|
||||||
|
|
Loading…
Add table
Reference in a new issue