Page 1 of 1

E-mail as Input

Posted: Wed Dec 09, 2015 5:54 am
by comfone
Hi all
We have many "services/tasks" sending e-mail as notification.
How could I feed them into NLS?
Did someone try that already?
Thank you in advance for your feedback.

Re: E-mail as Input

Posted: Wed Dec 09, 2015 12:21 pm
by jolson
There is an input designed for exactly this purpose. You can read about this input at the following location:
https://www.elastic.co/guide/en/logstas ... -imap.html

Note that your mail system must support IMAP for the above plugin to work properly. You can define a new input on the 'Administration -> Global Configuration' page of Nagios Log Server.

Required options:

Code: Select all

imap {
    host => ...
    password => ...
    user => ...
}
After defining the new input, run an 'Apply Configuration' - this input will periodically check on that mailbox and import any new information.

Thanks!

Re: E-mail as Input

Posted: Thu Dec 10, 2015 3:10 am
by comfone
Thank you for your feedback.