<commit_before>define host {
  use         generic-host
  host_name   ops-01
  alias       ops-01
  address     127.0.0.1
}

# Check the disk space of the root partition. Warning if < 20% free, critical
# if < 10% free.
define service {
  use                   generic-service
  host_name             ops-01
  service_description   Disk Space
  check_command         check_all_disks!20%!10%
}

# Check the number of currently logged-in users. Warning if > 20 users,
# critical if > 50 users.
define service {
  use                   generic-service
  host_name             localhost
  service_description   Current Users
  check_command         check_users!20!50
}

# Check the number of currently running processes. Warning if > 250 processes,
# critical if > 400 processes.
define service {
  use                   generic-service
  host_name             localhost
  service_description   Total Processes
  check_command         check_procs!250!400
}


# Check CPU load
define service {
  use                   generic-service
  host_name             localhost
  service_description   Current Load
  check_command         check_load!5.0!4.0!3.0!10.0!6.0!4.0
}
<commit_msg>Refer to hosts by name<commit_after>define host {
  use         generic-host
  host_name   ops-01
  alias       ops-01
  address     127.0.0.1
}

# Check the disk space of the root partition. Warning if < 20% free, critical
# if < 10% free.
define service {
  use                   generic-service
  host_name             ops-01
  service_description   Disk Space
  check_command         check_all_disks!20%!10%
}

# Check the number of currently logged-in users. Warning if > 20 users,
# critical if > 50 users.
define service {
  use                   generic-service
  host_name             ops-01
  service_description   Current Users
  check_command         check_users!20!50
}

# Check the number of currently running processes. Warning if > 250 processes,
# critical if > 400 processes.
define service {
  use                   generic-service
  host_name             ops-01
  service_description   Total Processes
  check_command         check_procs!250!400
}


# Check CPU load
define service {
  use                   generic-service
  host_name             ops-01
  service_description   Current Load
  check_command         check_load!5.0!4.0!3.0!10.0!6.0!4.0
}

{'fraction_non_alphanumeric': 0.0600511073253833, 'fraction_numerical': 0.04770017035775128, 'mean_word_length': 2.098944591029024, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '4256293', 'n_tokens_mistral': 746, 'n_tokens_neox': 665, 'n_words': 210}