Mise à jour de 'README.md'
This commit is contained in:
parent
d7fad84d11
commit
96c31990d0
1 changed files with 8 additions and 5 deletions
13
README.md
13
README.md
|
@ -138,6 +138,7 @@ Configuration template:
|
|||
conf.probe.types=Etherpad
|
||||
conf.probe.httpaccesslog.file=/var/log/apache2/foo.bar.org-access.log*
|
||||
conf.probe.httpaccesslog.pattern=
|
||||
conf.probe.httpaccesslog.filepath=
|
||||
# This parameter requires real ip proxy setting and log output setting.
|
||||
conf.probe.etherpad.logs=/var/log/etherpad/output.log
|
||||
# Database URL. Example of the most frequent cases:
|
||||
|
@ -168,6 +169,7 @@ Configuration template:
|
|||
conf.probe.types=Gitea
|
||||
conf.probe.httpaccesslog.file=/var/log/apache2/foo.bar.org-access.log*
|
||||
conf.probe.httpaccesslog.pattern=
|
||||
conf.probe.httpaccesslog.filepath=
|
||||
conf.probe.gitea.data=/opt/gitea/data
|
||||
conf.probe.gitea.api.url=https://forge.libre-service.eu/
|
||||
conf.probe.gitea.token=b6598c616b1cd350b834258205da4e5e8b951005
|
||||
|
@ -199,6 +201,7 @@ Configuration template:
|
|||
conf.probe.types=LibreQR
|
||||
conf.probe.httpaccesslog.file=/var/log/apache2/foo.bar.org-access.log*
|
||||
conf.probe.httpaccesslog.pattern=
|
||||
conf.probe.httpaccesslog.filepath=
|
||||
conf.probe.libreqr.datafiles=/var/www/foo.bar.org/temp/
|
||||
conf.probe.target=/srv/statoolinfos/well-known/statoolinfos/foo.bar.org-metrics.properties
|
||||
```
|
||||
|
@ -241,6 +244,7 @@ Configuration template:
|
|||
conf.probe.types=Nextcloud
|
||||
conf.probe.httpaccesslog.file=/var/log/apache2/foo.bar.org-access.log*
|
||||
conf.probe.httpaccesslog.pattern=
|
||||
conf.probe.httpaccesslog.filepath=
|
||||
conf.probe.target=/srv/statoolinfos/well-known/statoolinfos/foo.bar.org-metrics.properties
|
||||
```
|
||||
|
||||
|
@ -254,6 +258,7 @@ Configuration template:
|
|||
conf.probe.types=PrivateBin
|
||||
conf.probe.httpaccesslog.file=/var/log/apache2/foo.bar.org-access.log*
|
||||
conf.probe.httpaccesslog.pattern=
|
||||
conf.probe.httpaccesslog.filepath=
|
||||
conf.probe.privatebin.data=/var/www/paste.libre-service.eu/data/
|
||||
conf.probe.target=/srv/statoolinfos/well-known/statoolinfos/foo.bar.org-metrics.properties
|
||||
```
|
||||
|
@ -269,13 +274,11 @@ conf.probe.httperrorlog.file=/var/log/apache2/foo.bar.org-error.log*
|
|||
conf.probe.target=/srv/statoolinfos/well-known/statoolinfos/foo.bar.org-metrics.properties
|
||||
|
||||
# Custom access log pattern with Java regex.
|
||||
# Default: ^(?<remoteAddress>[a-zA-F0-9\:\.]+) - (?<remoteUser>[^\[]+) \[(?<time>[^\]]+)\] "(?<request>.*)" (?<status>\d+) (?<bodyBytesSent>\d+) "(?<referer>.*)" "(?<userAgent>[^"]*)".*$
|
||||
# Default: ^(?<remoteAddress>[a-fA-F0-9\:\.]+) - (?<remoteUser>[^\[]+) \[(?<time>[^\]]+)\] "(?<request>.*)" (?<status>\d+) (?<bodyBytesSent>\d+) "(?<referer>.*)" "(?<userAgent>[^"]*)".*$
|
||||
conf.probe.httpaccesslog.pattern=
|
||||
|
||||
# Filter request with Java regex.
|
||||
# In access log file, request starts with method (GET, PUT, HEAD…).
|
||||
# Default:
|
||||
request=^\S+ /.*well-known.*$
|
||||
# Filter request with Java regex (without the initial '^' and without the final '$').
|
||||
# Example: filterpath=/.*well-known.*
|
||||
```
|
||||
|
||||
Warning: to have month metric values, you have to set **retention log to 7 weeks or 50 days** in Nginx or Apache logrotate configuration.
|
||||
|
|
Loading…
Reference in a new issue