mirror of
https://github.com/eosswedenorg/haproxy-exporter-systemd
synced 2026-06-20 09:56:51 +02:00
Adding readme
This commit is contained in:
parent
bd93622015
commit
24f0a56ac8
1 changed files with 33 additions and 0 deletions
33
README.md
Normal file
33
README.md
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
|
||||||
|
# HAProxy Exporter systemd
|
||||||
|
|
||||||
|
This project contains a simple bash script that installs [prometheus/haproxy_exporter
|
||||||
|
](https://github.com/prometheus/haproxy_exporter/) and also a basic systemd service file.
|
||||||
|
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
Just do `./install.sh` and everything should be installed.
|
||||||
|
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
Configuration for the exporter can be found at `/etc/prometheus/haproxy_exporter.conf`.
|
||||||
|
it is highly recommended to look at this file and configure the exporter before starting the
|
||||||
|
service.
|
||||||
|
|
||||||
|
|
||||||
|
## Starting the service
|
||||||
|
|
||||||
|
Start the service by issuing the standard systemd command:
|
||||||
|
```
|
||||||
|
$ sudo systemctl start haproxy_exporter
|
||||||
|
```
|
||||||
|
|
||||||
|
And to make it start at boot:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ sudo systemctl enable haproxy_exporter
|
||||||
|
```
|
||||||
|
|
||||||
|
run `man systemd` for more information.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue