<commit_before>### SSH

define service {
        use                             generic-service
        service_description             SSH - pageable
        hostgroup_name                  pageable_servers
        check_command                   check_ssh
        contact_groups                  page_admins
}

define service {
        use                             generic-service
        service_description             SSH
        hostgroup_name                  not_pageable_servers
        check_command                   check_ssh
        contact_groups                  admins
}

define service {
        use                             generic-service
        service_description             SSH for flaky machines
        hostgroup_name                  flaky_servers
        check_command                   check_ssh
        normal_check_interval           2
        retry_check_interval            2
        max_check_attempts              5
        contact_groups                  admins
}


### Disk usage

define service {
        use                             generic-service
        service_description             Disk usage - pageable
        hostgroup_name                  pageable_servers
        check_command                   check_remote_disk!20%!10%
        contact_groups                  page_admins
}

define service {
        use                             generic-service
        service_description             Disk usage
        hostgroup_name                  not_pageable_servers
        check_command                   check_remote_disk!20%!10%
        contact_groups                  admins
}

define service {
        use                             generic-service
        service_description             Disk usage for flaky machines
        hostgroup_name                  flaky_servers
        check_command                   check_remote_disk!20%!10%
        normal_check_interval           2
        retry_check_interval            2
        max_check_attempts              5
        contact_groups                  admins
}


### Swap

define service {
        use                             generic-service
        service_description             swap
        hostgroup_name                  all
        check_command                   check_remote_swap!22!80%!50%
        contact_groups                  admins
}


### Load

define service {
        use                             generic-service
        service_description             Load
        hostgroup_name                  pageable_servers
        check_command                   check_remote_load!22!14.0,12.0,10.0!18.0,16.0,14.0
        contact_groups                  admins
}

define service {
        use                             generic-service
        service_description             Load
        hostgroup_name                  not_pageable_servers
        check_command                   check_remote_load!22!7.0,6.0,5.0!10.0,8.0,6.0
        contact_groups                  admins
}

define service {
        use                             generic-service
        service_description             Load for flaky machines
        hostgroup_name                  flaky_servers<commit_msg>nagios: Adjust load alerting by hostgroup.<commit_after>### SSH

define service {
        use                             generic-service
        service_description             SSH - pageable
        hostgroup_name                  pageable_servers
        check_command                   check_ssh
        contact_groups                  page_admins
}

define service {
        use                             generic-service
        service_description             SSH
        hostgroup_name                  not_pageable_servers
        check_command                   check_ssh
        contact_groups                  admins
}

define service {
        use                             generic-service
        service_description             SSH for flaky machines
        hostgroup_name                  flaky_servers
        check_command                   check_ssh
        normal_check_interval           2
        retry_check_interval            2
        max_check_attempts              5
        contact_groups                  admins
}


### Disk usage

define service {
        use                             generic-service
        service_description             Disk usage - pageable
        hostgroup_name                  pageable_servers
        check_command                   check_remote_disk!20%!10%
        contact_groups                  page_admins
}

define service {
        use                             generic-service
        service_description             Disk usage
        hostgroup_name                  not_pageable_servers
        check_command                   check_remote_disk!20%!10%
        contact_groups                  admins
}

define service {
        use                             generic-service
        service_description             Disk usage for flaky machines
        hostgroup_name                  flaky_servers
        check_command                   check_remote_disk!20%!10%
        normal_check_interval           2
        retry_check_interval            2
        max_check_attempts              5
        contact_groups                  admins
}


### Swap

define service {
        use                             generic-service
        service_description             swap
        hostgroup_name                  all
        check_command                   check_remote_swap!22!80%!50%
        contact_groups                  admins
}


### Load

define service {
        use                             generic-service
        service_description             Load
        hostgroup_name                  fullstack, redis, staging_frontends, smokescreen
        check_command                   check_remote_load!22!7.0,6.0,5.0!10.0,8.0,6.0
        contact_groups                  admins
}

define service {
        use                             generic-service
        service_description             Load
        hostgroup_name                  postgresql
        check_command                   check_remote_load!22!9.0,8.0,7.0!11.0,10.0,9.0
        contact_groups                  admins
}

define service {
        use                             generic-service
        service_description             Load
        hostgroup_name                  prod_frontends
        check_command                   check_remote_load!22!15.0,14.0,12.0!18.0,16.0,14.0
        contact_groups                  admins
}

define service {
        use                             generic-service
        service_description             Load
        hostgroup_name                  flaky_servers
{'fraction_non_alphanumeric': 0.029394387001477104, 'fraction_numerical': 0.01979320531757755, 'mean_word_length': 1.0193856248135997, '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': 21, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3428730', 'n_tokens_mistral': 1586, 'n_tokens_neox': 1475, 'n_words': 312}