Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samn/mongo-long-running-query-check
A riemann-sumd monitor for long running MongoDB queries
https://github.com/samn/mongo-long-running-query-check
Last synced: about 21 hours ago
JSON representation
A riemann-sumd monitor for long running MongoDB queries
- Host: GitHub
- URL: https://github.com/samn/mongo-long-running-query-check
- Owner: samn
- Created: 2014-03-10T15:44:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-03-10T21:44:02.000Z (over 10 years ago)
- Last Synced: 2024-04-14T23:39:31.129Z (7 months ago)
- Language: Python
- Size: 137 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## mongo-long-running-query-check
A monitor for long running MongoDB queries
meant to be used with [Riemann](https://github.com/aphyr/riemann)
and [riemann-sumd](https://github.com/bmhatfield/riemann-sumd).### Usage
Usage: mongo-long-running-query-check.py [options]
Options:
-h, --help show this help message and exit
--host=HOST The host of the database to monitor.
(default=localhost)
--max-query-duration-seconds=MAX_QUERY_DURATION_SECONDS
Queries that have been running for at least this many
seconds will be reported (default = 120)
--username=USERNAME The username used to authenticate with mongo
--password=PASSWORD The password used to authenticate with mongo### riemann-sumd config
service: 'mongo-long-running-query-check'
arg: 'mongo-long-running-query-check.py'
ttl: 350
tags: ['notify', 'mongo-queries']
type: 'json'