> -----Ursprüngliche Nachricht-----
> Von: icinga-users [mailto:[email protected]] Im Auftrag
> von Michael Friedrich
> Gesendet: Donnerstag, 26. November 2015 12:25
> An: [email protected]
> Betreff: Re: [icinga-users] Beginners question smtpauth check
>
>
> > On 26 Nov 2015, at 11:48, Andreas Grabner <andreas.grabner@fenz-
> software.at> wrote:
> >
> > Hi,
> >
> > i used nagios around 10 years ago. Now I start with incinga and have some
> questions. The most concrete is:
> >
> > I want to check a SMTP Server with TLS and authentication. The setup on a
> debian jessie looks like this:
> >
> > object Host "any.host.at" {
> > import "generic-host"
> > address = "any.host.at"
> > // address6 = "::1"
> > vars.os = "Windows"
> > vars.smtp_authtype = "LOGIN"
> > vars.smtp_authuser = "user1"
> > vars.smtp_authpass = "xxxxxxxxxxxxxx"
> > vars.smtp_starttls = true
> > vars.smtp_mail_from = "[email protected]"
> > /* Define notification mail attributes for notification apply rules in
> `notifications.conf`. */
> > vars.notification["mail"] = {
> > /* The UserGroup `icingaadmins` is defined in `users.conf`. */
> > groups = [ "icingaadmins" ]
> > }
> > }
> >
> > Icinga2 reports: SMTP CRITICAL - no authuser specified, 0.143 sec.
> > response time
>
> And your service object configuration looks like?
>
This:
apply Service "smtp" {
import "generic-service"
check_command = "smtp"
assign where host.name == " any.host.at"
}
vars.smtp_authtype = "LOGIN"
is used, without it the service is OK
Thanks
Andreas
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users