Back to listing

Nagios Check for monitoring a Stream status from Nagios

Other Solutions

Nagios Plugin to check Graylog2 stream statistics and alarm status

lahavsavir
free!

Published

04 Sep 15:17

Last Push

15 Aug 11:28

Marketplace Rating

Discussion

4 Comments

Your Rating

Please sign in to rate this add-on.

Comments

jproutycct about 1 year ago

I have tried to get this work with Graylog 2.4.6
When I run the command I get
json read error: line 1 column 1: '[' or '{' expected near '

gerwim over 2 years ago

This can be done by: curl -u USERNAME:PASSWORD -H 'Accept: application/json' -X POST 'http://GRAYLOG_SERVER:12900/users/USERNAME/tokens/TOKENNAME?pretty=true'

See also: http://docs.graylog.org/en/2.1/pages/configuration/rest_api.html

nkinkel over 3 years ago

I've got the same question...

Techo12 over 3 years ago

This may be a tupid question - but how to I find the api_key ?

Please sign in to comment.

Back to listing