<commit_before>check process gerrit
    matching "gerrit"
    start program "/usr/bin/systemctl start gerrit"
    stop program "/usr/bin/systemctl stop gerrit"
    if failed host 127.0.0.1 port 8000 protocol http request "/r/" with timeout 60 seconds for 5 cycles then alert
    if failed host <%= @ipaddress %> port 29418 protocol ssh with timeout 60 seconds for 5 cycles then alert
<commit_msg>Prevent monit to restart automatically gerrit<commit_after>check process gerrit
    matching "gerrit"
    if failed host 127.0.0.1 port 8000 protocol http request "/r/" with timeout 60 seconds for 5 cycles then alert
    if failed host <%= @ipaddress %> port 29418 protocol ssh with timeout 60 seconds for 5 cycles then alert

{'fraction_non_alphanumeric': 0.06371191135734072, 'fraction_numerical': 0.05817174515235457, 'mean_word_length': 3.82, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1548285', 'n_tokens_mistral': 234, 'n_tokens_neox': 184, 'n_words': 97}