Page 4 of 4
Re: Email Delivery Wizard - SMTP Uknown
Posted: Fri Jun 07, 2019 3:11 pm
by scottwilkerson
Did you try adding the --ssl flag?
Re: Email Delivery Wizard - SMTP Uknown
Posted: Fri Jun 07, 2019 3:15 pm
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.
Re: Email Delivery Wizard - SMTP Uknown
Posted: Fri Jun 07, 2019 3:24 pm
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
Re: Email Delivery Wizard - SMTP Uknown
Posted: Fri Jun 07, 2019 3:29 pm
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}
Re: Email Delivery Wizard - SMTP Uknown
Posted: Fri Jun 07, 2019 4:02 pm
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
Re: Email Delivery Wizard - SMTP Uknown
Posted: Fri Jun 07, 2019 5:22 pm
by rferebee
Still getting this:
IMAP RECEIVE CRITICAL - Could not connect to exchange.state port 993: exceeded timeout 60 seconds
Re: Email Delivery Wizard - SMTP Uknown
Posted: Mon Jun 10, 2019 7:17 am
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
Re: Email Delivery Wizard - SMTP Uknown
Posted: Fri Jul 05, 2019 11:17 am
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"
Re: Email Delivery Wizard - SMTP Uknown
Posted: Mon Jul 08, 2019 7:51 am
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