<commit_before>[global]
# Variable de prod
enable = false                               ; Activer ou non le poller (true|false)
simulate = false                            ; Ecrire dans un fichier plutôt que dans redis
simulate_file = /tmp/numeter.simulate         ; utilisé seulement si simulate = true

# Configuration du poller
poller_time = 60                            ; Le poller se lance au minimum toutes les 60 sec
poller_time_file = /tmp/numeter-poller_last         ; Fichier ou sera stocké le last poller time
log_level_stdr = warning                   ; Level des logs STDR (debug|info|warning|error|critical)
log_level = warning                            ; Level des logs FILE (debug|info|warning|error|critical)
log_path = /var/log/numeter/numeter-poller.log                   ; Emplacement du fichier de log
plugins_refresh_time = 300                  ; Temps mini entre 2 refresh des infos dans redis (nom plugin, labels, ...) 300 sec

# Liste des modules activés  
modules = myMuninModule                     ; De la forme module1|module2...

# Configuration redis
redis_data_expire_time = 120                ; Temps d'expiration des data dans redis 120 min
redis_host     = 127.0.0.1                  ; DB redis HOST
redis_port     = 5959                       ; DB redis PORT
#redis_password = password                   ; DB redis PASSWORD
redis_db = 0                                ; DB redis NUMBER

# Module munin
[myMuninModule]
plugins_enable = ^.*$                       ; Regex des plugin à fetcher
#plugins_enable = ^(if_.*|df|cpu)$
munin_host = 127.0.0.1                      ; Host Munin
munin_port = 4949                           ; Port Munin


# Host Information
[MyInfo]
#name = @NAME@                             ; Nom du host dans l'interface web default hostname
description = description                 ; Informations complémentaires
#host_id = <HOST_ID>                             ; Must be uniq ID exemple : $(date +%s)-$(echo $(date +%s)-$(hostname) | md5sum | cut -d" " -f1)
host_id = @HOST_ID@<commit_msg>translate numeter poller config file<commit_after>[global]

# Production variables
enable = false                             ; enable the poller (true|false)
simulate = false                           ; write in a file instead of Redis
simulate_file = /tmp/numeter.simulate      ; file used if simlate = true

# Poller configuration
poller_time = 60                           ; poller launch frequency. Default: 60s
poller_time_file = /tmp/numeter-poller_last         ; file used to store last poller time
log_level_stdr = warning                   ; STDR logging level (debug|info|warning|error|critical)
log_level = warning                        ; FILE logging level (debug|info|warning|error|critical)
log_path = /var/log/numeter/numeter-poller.log                   ; path to the log file
plugins_refresh_time = 300                 ; min time between 2 refresh in Redis (plugin name, labels, ...) Default: 300s

# Enabled modules list  
modules = myMuninModule                     ; list with this format :  module1|module2...

# Redis configuration
redis_data_expire_time = 120                ; Expire time for datas in Redis. Default: 120m
redis_host     = 127.0.0.1                  ; DB redis HOST
redis_port     = 5959                       ; DB redis PORT
#redis_password = password                  ; DB redis PASSWORD
redis_db = 0                                ; DB redis NUMBER

# Munin module
[myMuninModule]
plugins_enable = ^.*$                       ; Regexp matching plugins to fetch
#plugins_enable = ^(if_.*|df|cpu)$
munin_host = 127.0.0.1                      ; Munin Host
munin_port = 4949                           ; Munin Port


# Host Information
[MyInfo]
#name = @NAME@                              ; Hostname appearing in web interface. Default: hostname
description = description                   ; Additional informations
#host_id = <HOST_ID>                        ; Must be a unique ID. Example: $(date +%s)-$(echo $(date +%s)-$(hostname) | md5sum | cut -d" " -f1)
host_id = @HOST_ID@
{'fraction_non_alphanumeric': 0.0768664047151277, 'fraction_numerical': 0.0206286836935167, 'mean_word_length': 1.8186851211072665, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1328194', 'n_tokens_mistral': 1211, 'n_tokens_neox': 1114, 'n_words': 360}