Email Delivery Wizard - SMTP Uknown

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email Delivery Wizard - SMTP Uknown

Post by scottwilkerson »

Did you try adding the --ssl flag?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: Email Delivery Wizard - SMTP Uknown

Post by rferebee »

When I add --ssl

I get this:

IMAP RECEIVE CRITICAL - Could not connect to exchange.state port 993: 1 NO LOGIN failed. at /usr/local/nagios/libexec/check_imap_receive line 128.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email Delivery Wizard - SMTP Uknown

Post by scottwilkerson »

rferebee wrote:When I add --ssl

I get this:

IMAP RECEIVE CRITICAL - Could not connect to exchange.state port 993: 1 NO LOGIN failed. at /usr/local/nagios/libexec/check_imap_receive line 128.
That actually encouraging, it is giving you a reason
you might need to quote your username

Code: Select all

/usr/local/nagios/libexec/check_imap_receive -H exchange.state -p 993 -U '[email protected]' -P 'XXXXXXXXXX' --nodelete -s SUBJECT -s 'Nagios XI Test.'  --verbose
or if the server uses short usernames instead of full email

Code: Select all

/usr/local/nagios/libexec/check_imap_receive -H exchange.state -p 993 -U 'NagiosSMTPReceiveTest' -P 'XXXXXXXXXX' --nodelete -s SUBJECT -s 'Nagios XI Test.'  --verbose
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: Email Delivery Wizard - SMTP Uknown

Post by rferebee »

Ok, something a little different after adding the quotes you suggested:

EMAIL DELIVERY CRITICAL - plugin 2 failed: IMAP RECEIVE CRITICAL - Could not connect to exchange.state port 143: Error sending '1 LOGIN {27}
domain\NagiosSMTPReceiveTest {15}
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email Delivery Wizard - SMTP Uknown

Post by scottwilkerson »

Why did you switch back to port 143?

Lets add the --ssl back in there

Code: Select all

/usr/local/nagios/libexec/check_imap_receive -H exchange.state -p 993 -U '[email protected]' -P 'XXXXXXXXXX' --nodelete -s SUBJECT -s 'Nagios XI Test.'  --verbose --ssl
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: Email Delivery Wizard - SMTP Uknown

Post by rferebee »

Still getting this:

IMAP RECEIVE CRITICAL - Could not connect to exchange.state port 993: exceeded timeout 60 seconds
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email Delivery Wizard - SMTP Uknown

Post by scottwilkerson »

At this point I would have to recommend looking at the logs on the exchange.state server to see what you are getting there
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: Email Delivery Wizard - SMTP Uknown

Post by rferebee »

This thread can be locked I figured out the issue. I needed to include the --ssl in the quotations of the second command.

Like this:

--plugin "/usr/local/nagios/libexec/check_imap_receive -H exchange.state -U '[email protected]' -P 'XXXXXXXXXX' --nodelete -s SUBJECT -s 'Nagios XI Test.' --ssl"
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email Delivery Wizard - SMTP Uknown

Post by scottwilkerson »

rferebee wrote:This thread can be locked I figured out the issue. I needed to include the --ssl in the quotations of the second command.

Like this:

--plugin "/usr/local/nagios/libexec/check_imap_receive -H exchange.state -U '[email protected]' -P 'XXXXXXXXXX' --nodelete -s SUBJECT -s 'Nagios XI Test.' --ssl"
Great!

Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked