From 94916ef5d1c881d8a98df001b7bb5e12b6323a97 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Mon, 20 Dec 2021 01:38:47 +0100 Subject: [PATCH] Improved sample conf resources. --- resources/conf/sample-probe-http.conf | 24 +++++++++++++++++++ resources/conf/sample-probe-minetest.conf | 23 ++++++++++++++++++ ...atoolinfos-sample.conf => sample-web.conf} | 4 ++-- resources/conf/statoolinfos-sample-probe.conf | 10 -------- 4 files changed, 49 insertions(+), 12 deletions(-) create mode 100644 resources/conf/sample-probe-http.conf create mode 100644 resources/conf/sample-probe-minetest.conf rename resources/conf/{statoolinfos-sample.conf => sample-web.conf} (83%) delete mode 100644 resources/conf/statoolinfos-sample-probe.conf diff --git a/resources/conf/sample-probe-http.conf b/resources/conf/sample-probe-http.conf new file mode 100644 index 0000000..a0056c5 --- /dev/null +++ b/resources/conf/sample-probe-http.conf @@ -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: (?[a-zA-F0-9\\\\:\\\\.]+) - (?[^\\[]+) \\[(?