<commit_before>[snmpy_global]
include_dir: /etc/snmpy.d
pid_path: /tmp/snmpy.pid
log_path: /tmp/snmpy.log
lib_path: /tmp

[disk_utilization]
index: 1
module: disk_utilization

[apache_requests]
index: 2
module: log_processor
logfile: /var/log/apache2/access_log
label.1: HTTP GET
regex.1: "GET [^\s]+ [^\s]+"
label.2: HTTP POST
regex.2: "POST [^\s]+ [^\s]+"
label.3: HTTP PUT
regex.3: "PUT [^\s]+ [^\s]+"
label.4: HTTP OPTIONS
regex.4: "OPTIONS [^\s]+ [^\s]+"
label.5: HTTP HEAD
regex.5: "HEAD [^\s]+ [^\s]+"

[varnish_status]
index: 3
module: log_processor
logfile: /var/log/varnish/varnishncsa.log
label.1: HTTP 1XX
regex.1: "[^\s]+ [^\s]+ [^\s]+" 1\d\d
label.2: HTTP 2XX
regex.2: "[^\s]+ [^\s]+ [^\s]+" 2\d\d
label.3: HTTP 3XX
regex.3: "[^\s]+ [^\s]+ [^\s]+" 3\d\d
label.4: HTTP 4XX
regex.4: "[^\s]+ [^\s]+ [^\s]+" 4\d\d
label.5: HTTP 5XX
regex.5: "[^\s]+ [^\s]+ [^\s]+" 5\d\d

[user_counts]
index: 4
module: periodic_cmd
script: 300
command: wc -l /etc/passwd /etc/group
type.1: integer
label.1: users
regex.1: (\d+) /etc/passwd
type.2: integer
label.2: groups
regex.2: (\d+) /etc/group<commit_msg>Clean up example snmpy.cfg.<commit_after>[snmpy_global]
include_dir: /etc/snmpy.d
pid_path: /tmp/snmpy.pid
log_path: /tmp/snmpy.log
lib_path: /tmp
{'fraction_non_alphanumeric': 0.23477564102564102, 'fraction_numerical': 0.035256410256410256, 'mean_word_length': 4.05668016194332, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2694005', 'n_tokens_mistral': 603, 'n_tokens_neox': 575, 'n_words': 140}