diff --git a/nagios/manifests/init.pp b/nagios/manifests/init.pp index e6689bb..bab0403 100644 --- a/nagios/manifests/init.pp +++ b/nagios/manifests/init.pp @@ -425,3 +425,16 @@ class nagios::target::https { } } + + +class nagios::target::smtp { + + include nagios::target + + @@nagios::service { "${fqdn}_smtp": + host => $fqdn, + command => "check_smtp", + description => "SMTP", + } + +}