You've already forked nginx_exporter
mirror of
https://github.com/nginxinc/nginx-prometheus-exporter.git
synced 2025-07-30 10:03:04 +03:00
Update NGINX Prometheus Exporter with systemd-activated socket (#800)
Signed-off-by: huangsijun17 <huangsijun17@hotmail.com>
This commit is contained in:
@ -37,9 +37,10 @@ full list of supported formats, run `man systemd.socket`.
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1. Copy `nginx_exporter.service` and `nginx_exporter.socket` to `/etc/systemd/system/`
|
1. Copy `nginx_exporter.service` and `nginx_exporter.socket` to `/etc/systemd/system/`
|
||||||
2. Run `systemctl daemon-reload`
|
2. Add a user named `nginx_exporter`
|
||||||
3. Run `systemctl start nginx_exporter`
|
3. Run `systemctl daemon-reload`
|
||||||
4. Run `systemctl status nginx_exporter` to check the status of the service
|
4. Run `systemctl start nginx_exporter`
|
||||||
|
5. Run `systemctl status nginx_exporter` to check the status of the service
|
||||||
|
|
||||||
## Verification
|
## Verification
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user