https://github.com/commercetools/monit_exporter
Monit exporter for Prometheus
https://github.com/commercetools/monit_exporter
audit-cloud
Last synced: about 1 year ago
JSON representation
Monit exporter for Prometheus
- Host: GitHub
- URL: https://github.com/commercetools/monit_exporter
- Owner: commercetools
- License: mit
- Created: 2017-09-12T14:08:00.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-12-11T16:48:57.000Z (over 5 years ago)
- Last Synced: 2025-04-20T15:17:58.898Z (about 1 year ago)
- Topics: audit-cloud
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 30
- Watchers: 34
- Forks: 21
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Monit Exporter for Prometheus
Simple server that periodically scrapes monit status and exports checks information via HTTP for Prometheus.
Build it:
```bash
go build
```
Run it:
```bash
./monit_exporter
```
## Configuration
The application will look for configuration in "config.toml" file located in the same directory. Use -conf flag to override config file name and location.
Configuration parameters:
Parameter | Description | Default
--- | --- | ---
`listen_address` | address and port to bind | localhost:9388
`metrics_path` | relative path to expose metrics | /metrics
`ignore_ssl` | whether of not to ignore ssl errors | false
`monit_scrape_uri` | uri to get monit status | http://localhost:2812/_status?format=xml&level=full
`monit_user` | user for monit basic auth, if needed | none
`monit_password` | password for monit status, if needed | none