cvtienhoven / graylog-plugin-aggregates

Aggregates plugin for Graylog
https://marketplace.graylog.org
GNU General Public License v3.0
53 stars 12 forks source link

Using REST API for monitoring #22

Closed andbus closed 7 years ago

andbus commented 7 years ago

How can I get information on triggered rules history? I want to monitor it through REST API, to provide information to Zabbix Server. I can monitor common Graylog alerts using https://:9000/api/streams//alerts?since=0&limit=1, for example.

Graylog: 2.3.0-7 Plugin: 2.0.0

andbus commented 7 years ago

It's somehow working for newer plugin version (SNAPSHOT-2.0.1). Example presented in the first post still gives empty result. But alarms are showing on Graylog's alerts page and I can retrive them from REST API using for instance: https://myhost:9000/api/streams/alerts?since=0&limit=300&pretty=true.

Great job!

Graylog: 2.3.1 Plugin: SNAPSHOT-2.0.1