Hi!

Currently we do not store the messages which triggered an alert, but only 
put them into the email/alert callbacks when those are sent.

Would it be better for you if you implemented a Nagios alarm callback 
instead of polling the API?

Best,
Kay

On Tuesday, November 18, 2014 9:37:55 AM UTC+1, Oğuzhan Coşkun wrote:
>
> Let me elaborate. I'm working on a Nagios plugin for Graylog alerts, as
> suggested by Lennart here:
>
> https://groups.google.com/forum/#!topic/graylog2/V9y9OTpZ5Gg
>
> Currently, our Nagios plugin can poll the REST API and generate an
> alert when a Graylog stream generates an alert. However, when Graylog
> generates the alert (via e-mail), it sends the full error log to the
> e-mail recipients. I cannot get the full error log from the REST API.
> What I can get are: The stream id, stream name and the condition of
> the generated error (why the error was generated).
>
> What I want to do is to get the full log, so the Nagios alert is
> informative enough.
>
> How can I do that?
>

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to