monit_exporter

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2017 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Monit Exporter for Prometheus

Simple server that periodically scrapes monit status and exports checks information via HTTP for Prometheus.

Build it:

go build

Run it:

./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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址