####################################################
# XI WIZARD TEMPLATE DEFINITIONS - TO BE IMPORTED
####################################################

####################################################
# HOST TEMPLATES
####################################################

define host {
    name                            xiwizard_generic_host
    check_period                    xi_timeperiod_24x7
    check_command                   check_xi_host_ping!3000.0!80%!5000.0!100%
    check_interval                  5
    retry_interval                  1
    max_check_attempts              5
    notifications_enabled           1 
    event_handler_enabled           1
    flap_detection_enabled          1
    process_perf_data               1
    retain_status_information       1
    retain_nonstatus_information    1
    notification_interval           60
    notification_period             xi_timeperiod_24x7
    register                        0 
}

define host {
    name            xiwizard_website_host
    use             xiwizard_generic_host
    check_command   check_xi_host_http
    register        0
}

define host {
    name            xiwizard_webtransaction_host
    use             xiwizard_generic_host
    check_command   check_xi_host_http
    register        0
}

define host {
    name            xiwizard_genericnetdevice_host
    use             xiwizard_generic_host
    check_command   check_xi_host_ping!3000.0!80%!5000.0!100%
    register        0
}

define host {
    name            xiwizard_printer_host
    use             xiwizard_generic_host
    check_command   check_xi_host_ping!3000.0!80%!5000.0!100%
    register        0
}

define host {
    name            xiwizard_windowsdesktop_host
    use             xiwizard_generic_host
    check_command   check_xi_host_ping!3000.0!80%!5000.0!100%
    register        0
}

define host {
    name            xiwizard_windowsserver_host
    use             xiwizard_generic_host
    check_command   check_xi_host_ping!3000.0!80%!5000.0!100%
    register        0
}

define host {
    name            xiwizard_switch_host
    use             xiwizard_generic_host
    check_command   check_xi_host_ping!3000.0!80%!5000.0!100%
    register        0
}

define host {
    name            xiwizard_linuxserver_host
    use             xiwizard_generic_host
    check_command   check_xi_host_ping!3000.0!80%!5000.0!100%
    register        0
}

####################################################
# SERVICE TEMPLATES
####################################################

define service {
    name                            xiwizard_generic_service 
    active_checks_enabled           1
    passive_checks_enabled          1 
    parallelize_check               1
    obsess_over_service             1 
    check_freshness                 0 
    notifications_enabled           1 
    event_handler_enabled           1 
    flap_detection_enabled          1
    process_perf_data               1
    retain_status_information       1
    retain_nonstatus_information    1 
    is_volatile                     0
    check_period                    xi_timeperiod_24x7
    max_check_attempts              5
    normal_check_interval           5
    retry_check_interval            1
    check_command                   check_xi_service_none
    notification_interval           60
    notification_period             xi_timeperiod_24x7
    register                        0
}

define service {
    name            xiwizard_website_http_service
    use             xiwizard_generic_service
    check_command   check_xi_service_http
    register        0
}

define service {
    name            xiwizard_website_http_service
    use             xiwizard_generic_service
    check_command   check_xi_service_http
    register        0
}

define service {
    name            xiwizard_website_http_content_service
    use             xiwizard_generic_service
    check_command   check_xi_service_http_content!"Content"
    register        0
}

define service {
    name            xiwizard_website_http_cert_service
    use             xiwizard_generic_service
    check_command   check_xi_service_http_cert!30
    register        0
}

define service {
    name            xiwizard_website_ping_service
    use             xiwizard_generic_service
    check_command   check_xi_service_ping!3000.0!80%!5000.0!100%
    register        0
}

define service {
    name            xiwizard_website_dns_service
    use             xiwizard_generic_service
    check_command   check_xi_service_dns
    register        0
}

define service {
    name            xiwizard_website_dnsip_service
    use             xiwizard_generic_service
    check_command   check_xi_service_dns
    register        0
}

define service{
    name            xiwizard_genericnetdevice_ping_service
    use             xiwizard_generic_service
    check_command   check_xi_service_ping!3000.0!80%!5000.0!100%
    register        0
}

define service {
    name            xiwizard_printer_ping_service
    use             xiwizard_generic_service
    check_command   check_xi_service_ping!3000.0!80%!5000.0!100%
    register        0
}

define service {
    name            xiwizard_printer_hpjd_service
    use             xiwizard_generic_service
    check_command   check_xi_service_hpjd!public
    register        0
}

define service {
    name            xiwizard_windowsdesktop_ping_service
    use             xiwizard_generic_service
    check_command   check_xi_service_ping!3000.0!80%!5000.0!100%
    register        0
}

define service {
    name            xiwizard_windowsdesktop_nsclient_service
    use             xiwizard_generic_service
    check_command   check_xi_service_nsclient!password!CLIENTVERSION
    register        0
}

define service {
    name            xiwizard_windowsserver_ping_service
    use             xiwizard_generic_service
    check_command   check_xi_service_ping!3000.0!80%!5000.0!100%
    register        0
}

define service {
    name            xiwizard_windowsserver_nsclient_service
    use             xiwizard_generic_service
    check_command   check_xi_service_nsclient!password!CLIENTVERSION
    register        0
}

define service {
    name            xiwizard_switch_ping_service
    use             xiwizard_generic_service
    check_command   check_xi_service_ping!3000.0!80%!5000.0!100%
    register        0
}

define service {
    name            xiwizard_switch_port_status_service
    use             xiwizard_generic_service
    check_command   check_xi_service_ifoperstatus!public!1
    register        0
}

define service {
    name            xiwizard_switch_port_bandwidth_service
    use             xiwizard_generic_service
    check_command   check_xi_service_rrdtraf!127.0.0.1!1!80,90!85,90!K
    register        0
}

define service {
    name            xiwizard_webtransaction_webinject_service
    use             xiwizard_generic_service
    icon_image      whirl.png
    check_command   check_xi_service_webinject!none
    register        0
}

define service {
    name            xiwizard_ftp_service
    use             xiwizard_generic_service
    check_command   check_xi_service_ftp
    register        0
}

define service {
    name            xiwizard_imap_service
    use             xiwizard_generic_service
    check_command   check_xi_service_imap
    register        0
}

define service {
    name            xiwizard_pop_service
    use             xiwizard_generic_service
    check_command   check_xi_service_pop
    register        0
}

define service {
    name            xiwizard_smtp_service
    use             xiwizard_generic_service
    check_command   check_xi_service_smtp
    register        0
}

define service {
    name            xiwizard_ssh_service
    use             xiwizard_generic_service
    check_command   check_xi_service_ssh
    register        0
}

define service {
    name            xiwizard_tcp_service
    use             xiwizard_generic_service
    check_command   check_xi_service_tcp
    register        0
}

define service {
    name            xiwizard_udp_service
    use             xiwizard_generic_service
    check_command   check_xi_service_udp
    register        0
}

define service {
    name            xiwizard_snmp_service
    use             xiwizard_generic_service
    check_command   check_xi_service_snmp
    register        0
}

define service {
    name            xiwizard_linuxserver_ping_service
    use             xiwizard_generic_service
    check_command   check_xi_service_ping!3000.0!80%!5000.0!100%
    register        0
}

define service {
    name            xiwizard_nrpe_service
    use             xiwizard_generic_service
    check_command   check_nrpe
    register        0
}
