Improved sample conf resources.

This commit is contained in:
Christian P. MOMON 2021-12-20 01:38:47 +01:00
parent 8b87eed546
commit 94916ef5d1
4 changed files with 49 additions and 12 deletions

View file

@ -0,0 +1,24 @@
#
# Sample StatoolInfos config file to probe http.
#
# Warning: move this file outside the Git directory.
# List of the targets to probe.
conf.probe.types=HttpAccessLog, HttpErrorLog
# Access log file to probe. Wildcards available.
# Example: /tmp/*foo*.log??
conf.probe.httpaccesslog.file=/var/log/apache2/qrcode.libre-service.eu/qrcode.libre-service.eu-access.log*
# Optional. Custom access http log pattern in Java regex mode (https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html).
# Default value COMBINED: (?<remoteAddress>[a-zA-F0-9\\\\:\\\\.]+) - (?<remoteUser>[^\\[]+) \\[(?<time>[^\\]]+)\\] \"(?<request>[^\"]*)\" (?<status>\\d+) (?<bodyBytesSent>\\d+) \"(?<referer>[^\"]*)\" \"(?<userAgent>[^\"]*)\".*$");
conf.probe.httpaccesslog.pattern=
# Error log file to probe. Wildcards available.
# Example: /tmp/*foo*.log??
conf.probe.httperrorlog.file=/var/log/apache2/qrcode.libre-service.eu/qrcode.libre-service.eu-error.log*
# Target file to write computed metrics. If file exists then it is renamed with '.bak'.
conf.probe.target=/srv/statoolinfos/well-known/statoolinfos/qrcode.libre-service.eu.metrics

View file

@ -0,0 +1,23 @@
#
# Sample StatoolInfos probe config file.
#
# Warning: move this file outside the git directory.
# List of the targets to probe.
conf.probe.types=Minetest
# Minetest log files to probe. Wildcards available.
conf.probe.minetest.logs=/var/log/minetest/minetest.log*
# Players database parameters.
conf.probe.minetest.players.db.host=
conf.probe.minetest.players.db.port=
conf.probe.minetest.players.db.name=
conf.probe.minetest.players.db.user=
conf.probe.minetest.players.db.password=
#
conf.probe.minetest.datafilepath=
# Target file to write computed metrics. If file exists then it is renamed with '.bak'.
conf.probe.target=/home/cpm/Projets/StatoolInfos/EnvTest/minetest/test.metrics

View file

@ -1,10 +1,10 @@
#
# Sample StatoolInfos config file.
#
# Note: move this file outside the git directory.
# Warning: move this file outside the Git directory.
conf.class=federation
conf.protocol=StatoolInfos-0.3.0
conf.protocol=StatoolInfos-0.4.0
conf.crawl.input=https://www.libre-service.eu/.well-known/statoolinfos/libre-service.eu.properties
conf.crawl.cache=/srv/statoolinfos/cache/

View file

@ -1,10 +0,0 @@
#
# Sample StatoolInfos probe config file.
#
# Note: move this file outside the git directory.
conf.probe.types=HttpAccessLog, HttpErrorLog
conf.probe.httpaccesslog.file=/var/log/apache2/qrcode.libre-service.eu/qrcode.libre-service.eu-access.log*
conf.probe.httperrorlog.file=/var/log/apache2/qrcode.libre-service.eu/qrcode.libre-service.eu-error.log*
conf.probe.target=/srv/statoolinfos/well-known/statoolinfos/qrcode.libre-service.eu.metrics