<commit_before>## Module:      glpidb
## Loaded by:   Broker
# Export data to the GLPI database from a Shinken broker.
define module {
    module_name     glpidb
    module_type     glpidb
    host            localhost   ; GLPI database server name or IP
    database        glpidb      ; Database name
    user            shinken     ; Database user
    password        <PASSWORD>
    
    # Update Shinken state table : hostname/service
    update_shinken_state         1
    # Update services events table : log of all events
    update_services_events       1
    # Update hosts state table
    update_hosts                 1
    # Update services state table
    update_services              1
    # Update acknowledges table
    update_acknowledges          1
    # Update availability table
    update_availability          1
}<commit_msg>Update configuration file<commit_after>## Module:      glpidb
## Loaded by:   Broker
# Export data to the GLPI database from a Shinken broker.
define module {
    module_name     glpidb
    module_type     glpidb
    host            localhost   ; GLPI database server name or IP
    port            3306
    database        glpidb      ; Database name
    user            shinken     ; Database user
    password        <PASSWORD>
    
    # Update Shinken state table : hostname/service
    update_shinken_state         1
    # Update services events table : log of all events
    update_services_events       1
    # Update hosts state table
    update_hosts                 1
    # Update services state table
    update_services              1
    # Update acknowledges table
    update_acknowledges          0
    # Update availability table
    update_availability          0

    # Every commit_period seconds, up to commit_volume events are inserted into the Glpi DB ...
    commit_period   10
    commit_volume   100

    # Every db_test_period seconds, the database connection is tested if connection has been lost ...
    db_test_period  30
}
{'fraction_non_alphanumeric': 0.032016008004002, 'fraction_numerical': 0.01150575287643822, 'mean_word_length': 1.9455081001472754, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2844991', 'n_tokens_mistral': 523, 'n_tokens_neox': 497, 'n_words': 194}