<commit_before># Define a host for the local machine
## services
define service{
        use                             local-service
        hostgroup_name                  freebsd-base
        service_description             PING
        check_command                   check_ping!500.0,20%!1000.0,60%
}


# Define a service to check the disk space of the root partition
# on the local machine.  Warning if < 20% free, critical if
# < 10% free space on partition.
define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base
        service_description             / Partition
        check_command                   check_nrpe!check_root
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base
        service_description             /usr Partition
        check_command                   check_nrpe!check_usr
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base
        service_description             /var Partition
        check_command                   check_nrpe!check_var
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base
        service_description             vulnerable packages
        check_command                   check_nrpe!check_portaudit
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base
        service_description             FreeBSD security updates
        check_command                   check_nrpe!check_freebsd_update
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base
        service_description             zpool status
        check_command                   check_nrpe!check_zpool
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base
        service_description             chef-client
        check_command                   check_nrpe!check_chef
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base, !VirtualServers
        service_description             disk smartmon health
        check_command                   check_nrpe!check_smartmon
        }


define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  backup
        service_description             backup snapshot age
        check_command                   check_nrpe!check_snapshots
        }

# Define a service to check the number of currently logged in
# users on the local machine.  Warning if > 20 users, critical
# if > 50 users.
define service{<commit_msg>add some basic nagios checks to the jail role as well<commit_after># Define a host for the local machine
## services
define service{
        use                             local-service
        hostgroup_name                  freebsd-base
        service_description             PING
        check_command                   check_ping!500.0,20%!1000.0,60%
}


# Define a service to check the disk space of the root partition
# on the local machine.  Warning if < 20% free, critical if
# < 10% free space on partition.
define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base
        service_description             / Partition
        check_command                   check_nrpe!check_root
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base
        service_description             /usr Partition
        check_command                   check_nrpe!check_usr
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base
        service_description             /var Partition
        check_command                   check_nrpe!check_var
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base, jail
        service_description             vulnerable packages
        check_command                   check_nrpe!check_portaudit
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base
        service_description             FreeBSD security updates
        check_command                   check_nrpe!check_freebsd_update
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base
        service_description             zpool status
        check_command                   check_nrpe!check_zpool
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base, jail
        service_description             chef-client
        check_command                   check_nrpe!check_chef
        }

define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  freebsd-base, !VirtualServers
        service_description             disk smartmon health
        check_command                   check_nrpe!check_smartmon
        }


define service{
        use                             local-service         ; Name of service template to use
        hostgroup_name                  backup
        service_description             backup snapshot age
        check_command                   check_nrpe!check_snapshots
        }

# Define a service to check the number of currently logged in
# users on the local machine.  Warning if > 20 users, critical
# if > 50 users.
define service{
{'fraction_non_alphanumeric': 0.028937947494033413, 'fraction_numerical': 0.0062649164677804296, 'mean_word_length': 1.2048668201249588, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2397181', 'n_tokens_mistral': 1502, 'n_tokens_neox': 1408, 'n_words': 465}