define host{ name linux-box ; Name of this template use generic-host ; Inherit default values check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 10 check_command check-host-alive notification_period 24x7 notification_interval 30 notification_options d,r contact_groups nagiosadmin register 0 ; DONT REGISTER THIS - ITS A TEMPLATE } define host{ use linux-box ; Inherit default values from a template host_name debian-client ; The name we're giving to this server alias debian-client ; A longer name for the server address 192.168.1.221 ; IP address of the server } define hostgroup{ hostgroup_name debian-client alias debian-client } define service { use generic-service hostgroup_name debian-client service_description Connected Users check_command check_nrpe!check_users contacts nagiosadmin check_period 24x7 notification_period 24x7 } define service { use generic-service hostgroup_name debian-client service_description Processor check_command check_nrpe!check_load contacts nagiosadmin check_period 24x7 notification_period 24x7 } define service { use generic-service hostgroup_name debian-client service_description Disk Space check_command check_nrpe!check_disk contacts nagiosadmin check_period 24x7 notification_period 24x7 } define service { use generic-service hostgroup_name debian-client service_description Memory check_command check_nrpe!check_memory contacts nagiosadmin check_period 24x7 notification_period 24x7 } define service { use generic-service hostgroup_name debian-client service_description PING check_command check_nrpe!check_ping contacts nagiosadmin check_period 24x7 notification_period 24x7 } define service { use generic-service hostgroup_name debian-client service_description HTTP check_command check_nrpe!check_http contacts nagiosadmin check_period 24x7 notification_period 24x7 } define service { use generic-service hostgroup_name debian-client service_description SSH check_command check_nrpe!check_ssh contacts nagiosadmin check_period 24x7 notification_period 24x7 } define service { use generic-service hostgroup_name debian-client service_description MySQL check_command check_nrpe!check_mysql contacts nagiosadmin check_period 24x7 notification_period 24x7 }