Email Delivery Wizard - SMTP Uknown
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Email Delivery Wizard - SMTP Uknown
Did you try adding the --ssl flag?
Re: Email Delivery Wizard - SMTP Uknown
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.
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
That actually encouraging, it is giving you a reasonrferebee 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.
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.' --verboseCode: 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.' --verboseRe: Email Delivery Wizard - SMTP Uknown
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}
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
Why did you switch back to port 143?
Lets add the --ssl back in there
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 --sslRe: Email Delivery Wizard - SMTP Uknown
Still getting this:
IMAP RECEIVE CRITICAL - Could not connect to exchange.state port 993: exceeded timeout 60 seconds
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
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
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"
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
Great!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"
Locking