Using monit with Outlook 365 SMTP servers

2014-05-14 Thread Mehul Ved
I am trying to setup notifications from monit using Outlook 365 SMTP servers. 
They use TLS v1.1. The relevant lines in monitrc are as follows:

set mailserver smtp.office365.com port 587
  username mehul@nexsales.com password abcdef
  using tlsv11

but in the logs, it gives following error:

[GMT May 14 08:30:40] error: Sendmail: Authentication failed -- no 
supported authentication methods found


This configuration works with my email client. Am I missing out on something? 
Is this the correct way to setup TLS v1.1, I couldn't find documentation to 
setup TLS v1.1 for notifications.


The version of monit I'm using is

$ monit -V

This is Monit version 5.8?

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Re: Using monit with Outlook 365 SMTP servers

2014-05-14 Thread Martin Pala
The problem is in the new TLS version ... there is bug in the mail delivery 
implementation which doesn't start TLS if the new TLSv1.1 or TLSv1.2 version is 
used. The problem is fixed in the development version - you can get it here:
https://bitbucket.org/tildeslash/monit/get/master.tar.gz

To compile:

sh bootstrap
./configure
make


The original TLSv1.0 works both in Monit and on Office365 side = as a 
workaround you can use tlsv1 option instead of tlsv11:

set mailserver smtp.office365.com port 587
  username mehul@nexsales.com password abcdef
  using tlsv1


Regards,
Martin


On 14 May 2014, at 11:00, Mehul Ved mehul@nexsales.com wrote:

 I am trying to setup notifications from monit using Outlook 365 SMTP servers. 
 They use TLS v1.1. The relevant lines in monitrc are as follows:
 
 set mailserver smtp.office365.com port 587
   username mehul@nexsales.com password abcdef
   using tlsv11
 
 but in the logs, it gives following error:
 
 [GMT May 14 08:30:40] error: Sendmail: Authentication failed -- no 
 supported authentication methods found
 
 This configuration works with my email client. Am I missing out on something? 
 Is this the correct way to setup TLS v1.1, I couldn't find documentation to 
 setup TLS v1.1 for notifications.
 
 The version of monit I'm using is
 $ monit -V
 This is Monit version 5.8​
 
 --
 To unsubscribe:
 https://lists.nongnu.org/mailman/listinfo/monit-general


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

RE: Using monit with Outlook 365 SMTP servers

2014-05-14 Thread Mehul Ved
From: monit-general-bounces+mehul.ved=nexsales@nongnu.org 
monit-general-bounces+mehul.ved=nexsales@nongnu.org on behalf of Martin 
Pala mart...@tildeslash.com

 The original TLSv1.0 works both in Monit and on Office365 side = as a 
 workaround you can use 
 tlsv1 option instead of tlsv11:

 set mailserver smtp.office365.com port 587
   username mehul@nexsales.com password abcdef
   using tlsv1

Hi Martin,
  Thank you. This indeed works.
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


Re: Per application stats in mmonit?

2014-05-14 Thread Francisco Reyes

On 05/12/2014 10:02 AM, Martin Pala wrote:

the Analytics page shows various application charts (such as process cpu usage, 
process memory usage, response time),


I had not added the applications to monit itself. Once I did, they showed.

I think it may not hurt to mention this in the manual.

I was looking in the mmonit manual for application monitoring or 
process monitoring.. .and I think a few others..


In particular I think it is good to add to documentation because some 
users may not think to add an application to monit if they won't be 
managing start/stops/restarts... and then the user won't readily see 
that one had to add the app to monit to get stats.


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


Network / interface statistics in mmonit

2014-05-14 Thread ad...@extremeshok.com
Hi

Is there a way to add network / interface stats to mmonit. It seems like one 
could do some simple accounting with a call to ifconfig.


Thanks
Adrian
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


Re: Network / interface statistics in mmonit

2014-05-14 Thread Martin Pala
Hi Adrian,

the implementation of network interfaces monitoring is in progress.

Regards,
Martin


On 14 May 2014, at 20:09, ad...@extremeshok.com wrote:

 Hi
 
 Is there a way to add network / interface stats to mmonit. It seems like one 
 could do some simple accounting with a call to ifconfig.
 
 
 Thanks
 Adrian
 --
 To unsubscribe:
 https://lists.nongnu.org/mailman/listinfo/monit-general


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general