Log Files

check_graylog_sidecars

Description:

This plugin will use the graylog api (/api/sidecars/all) to check the status and activity of the graylog sidecars.

Current Version

1.0.0

Last Release Date

2021-08-03

Compatible With

  • Nagios 4.x

License

MIT


Project Notes
This plugin will use the graylog api (/api/sidecars/all) to check the status and activity of the graylog sidecars. You can choose to give a warning when there are: - inactive sidecars using the --inactive flag. - sidecars with a non 0 status using the --status flag. If you don't provide any of these option, the plugin will always report OK. When commumication with the API is not possible, the plugin will report UNKNOWN. Usage usage: check_graylog_sidecars.py [-h] [-v] [-u USER] [-p PASSWORD] [-a API] [-i] [-s] Process some integers. optional arguments: -h, --help show this help message and exit -v, --verbose -u USER, --user USER graylog username (default: admin) -p PASSWORD, --password PASSWORD graylog password (default: ) -a API, --api API ://:/ (default: http://127.0.0.1:9000/api) -i, --inactive Warn when a sidecar is inactive (default: False) -s, --status Warn when a sidecar has a non 0 status (default: False) Example Using a api token: check_graylog_sidecars.py -u 123user_token123 -p token -a https://graylog.my.domain/api -s -i Using a login: check_graylog_sidecars.py -u monitoring_user -p super_secret -a http://127.0.0.1:9000/api -i
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
3,427