<commit_before>define contact {
       contact_name                             <%= @name %>
       alias                                    Campfire Pseudo Contact
       service_notification_period              24x7
       host_notification_period                 24x7
       service_notification_options             w,c,r,f
       host_notification_options                d,r,u,f,s
       service_notification_commands            notify-service-by-campfire
       host_notification_commands               notify-host-by-campfire
}

# 'notify-host-by-campfire' command definition
define command{
    command_name    notify-host-by-campfire
    command_line    /usr/local/bin/campfire_nagios -s <%= @campfire_subdomain %> -t <%= @campfire_token %> -r '<%= @campfire_room %>' -m "[nagios] $NOTIFICATIONTYPE$ : $HOSTDISPLAYNAME$ is $HOSTSTATE$"
    }

# 'notify-service-by-campfire' command definition
define command{
    command_name    notify-service-by-campfire
    command_line    /usr/local/bin/campfire_nagios -s <%= @campfire_subdomain %> -t <%= @campfire_token %> -r '<%= @campfire_room %>' -m "[nagios] $SERVICESTATE$: $SERVICEDESC$ on $HOSTALIAS$"
    }
<commit_msg>Switch from campfire_nagios to campfire_icinga<commit_after>define contact {
       contact_name                             <%= @name %>
       alias                                    Campfire Pseudo Contact
       service_notification_period              24x7
       host_notification_period                 24x7
       service_notification_options             w,c,r,f
       host_notification_options                d,r,u,f,s
       service_notification_commands            notify-service-by-campfire
       host_notification_commands               notify-host-by-campfire
}

# 'notify-host-by-campfire' command definition
define command{
    command_name    notify-host-by-campfire
    command_line    /usr/local/bin/campfire_icinga -s <%= @campfire_subdomain %> -t <%= @campfire_token %> -r '<%= @campfire_room %>' -m "[nagios] $NOTIFICATIONTYPE$ : $HOSTDISPLAYNAME$ is $HOSTSTATE$"
    }

# 'notify-service-by-campfire' command definition
define command{
    command_name    notify-service-by-campfire
    command_line    /usr/local/bin/campfire_icinga -s <%= @campfire_subdomain %> -t <%= @campfire_token %> -r '<%= @campfire_room %>' -m "[nagios] $SERVICESTATE$: $SERVICEDESC$ on $HOSTALIAS$"
    }

{'fraction_non_alphanumeric': 0.10407049937054133, 'fraction_numerical': 0.005035669324381032, 'mean_word_length': 2.3342657342657342, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2552731', 'n_tokens_mistral': 738, 'n_tokens_neox': 701, 'n_words': 128}