Hi Oğuzhan,
we are also working on a Nagios plugin here:
https://github.com/Graylog2/check-graylog2-stream
Currently the Graylog2 API does not  provide the backlog of messages for an
alert. Maybe we extend the api result in the future.

Cheers,
Marius

On 18 November 2014 09:37, Oğuzhan Coşkun <[email protected]> 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.
>



-- 
Developer

Tel.: +49 (0)40 609 452 077
Fax.: +49 (0)40 609 452 078

TORCH GmbH
Steckelhörn 11
20457 Hamburg
Germany

https://www.torch.sh/

Commercial Reg. (Registergericht): Amtsgericht Hamburg, HRB 125175
Geschäftsführer: Lennart Koopmann (CEO)

-- 
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