Update README.md
This commit is contained in:
1 parent
430325ae51
commit
080184f89d
1 file changed
+6
@@ -96,6 +96,12 @@ You can download the pre-compiled binaries from the
|
||||
## LAST UPDATE
|
||||
Added a new metric called "service_openvpn" which is quite simple : if the openvpn service is up/active, equals 1. If not, equals 0.
|
||||
Added a script that restart automatically if he sees a change on the openvpn service with the help of "systemctl is-active --quiet" that returns an exit code if it's active.
|
||||
It should look like this on your http://localip:9176/metrics page :
|
||||
```
|
||||
# HELP service_openvpn Indicates whether the OpenVPN service is up (1) or down (0).
|
||||
# TYPE service_openvpn gauge
|
||||
service_openvpn 1
|
||||
```
|
||||
|
||||
## Exemple on how to use it :
|
||||
|
||||
|
||||
Reference in new issue
Block a user