All pastes #134830 Raw Edit

Sh4d03

public text v1 · immutable
#134830 ·published 2006-08-16 15:30 UTC
rendered paste body
define timeperiod{
	timeperiod_name 24x7
	alias           24 Hours A Day, 7 Days A Week
        sunday          00:00-24:00
        monday          00:00-24:00
        tuesday         00:00-24:00
        wednesday       00:00-24:00
        thursday        00:00-24:00
        friday          00:00-24:00
        saturday        00:00-24:00
}

define timeperiod{

	timeperiod_name workhours
	alias           "Normal" Working Hours
        monday          08:30-17:00
        tuesday         08:30-17:00
        wednesday       08:30-17:00
        thursday        08:30-17:00
        friday          08:30-17:00
}

define timeperiod{

	timeperiod_name nonworkhours
        alias           Non-Work Hours
        sunday          00:00-24:00
        monday          00:00-08:30,17:00-24:00
        tuesday         00:00-08:30,17:00-24:00
        wednesday       00:00-08:30,17:00-24:00
        thursday        00:00-08:30,17:00-24:00
        friday          00:00-08:30,17:00-24:00
        saturday        00:00-24:00
}


define contact{
	
	contact_name			gsee
	alias				Sh4d03
	service_notification_period	24x7
	host_notification_period	24x7
	service_notification_options	w,u,c,r
	host_notification_options	d,u,r
	service_notification_commands	notify-by-email
	host_notification_commands	host-notify-by-email
	email				gsee@localhost.localdomain
}

define contactgroup{

	contactgroup_name		admins
	alias				All Adminitrators
	members				gsee
}

define host{

	host_name			router
	address				192.168.1.1
	check_command			check-host-alive
	max_check_attempts		10
	check_period			24x7
	notification_interval		120
	notification_period		24x7
	notification_options		d,u,r
	contact_groups			admins
}


define host{

	host_name			mail
	address				10.10.1.3
	check_command			check-host-alive
	max_check_attempts		10
	check_period			24x7
	notification_interval		120
	notification_period		24x7
	notification_options		d,u,r
	contact_groups			admins
}
define host{

	host_name			ns
	address				192.168.1.4
	check_command			check-host-alive
	max_check_attempts		10
	check_period			24x7
	notification_interval		120
	notification_period		24x7
	notification_options		d,u,r
	contact_groups			admins
}

define host{

	host_name			localhost
	address				127.0.0.1
	check_command			check-host-alive
	max_check_attempts		10
	check_period                    24x7
        notification_interval           120
        notification_period             24x7
        notification_options            d,u,r
        contact_groups                  admins
}

define hostgroup{

	hostgroup_name			mail_web_servers
	alias				Mail_Web Servers
	members				mail
}


define service{
        name                            default_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

        register                        0 
}


define service{
        use                             default_service         ; Name of service template to use

        host_name                       mail
        service_description             SMTP
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_smtp
        }


define service{
        use                             default_service         ; Name of service template to use

        host_name                       router
        service_description             PING
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_ping
        }


define service{

        use                             default_service         ; Name of service template to use

        host_name                       mail
        service_description             POP3
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_pop
}

define service{

        use                             default_service         ; Name of service template to use

        host_name                       mail
        service_description             HTTP
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_http
}


define service{

        use                             default_service         ; Name of service template to use

        host_name                       localhost
        service_description             Current Users
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            2
        contact_groups                  admins
        notification_interval           240
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_local_users!75!150
}


define service{
        use                             default_service         ; Name of service template to use

        host_name                       ns
        service_description             Total Processes
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            2
        contact_groups                  admins
        notification_interval           240
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_local_procs!150!200!RSZDT
        }


define service{

        use                             default_service         ; Name of service template to use

        host_name                       localhost
        service_description             Total Processes
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            2
        contact_groups                  admins
        notification_interval           240
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_local_procs!150!200!RSZDT
}


define service{
        use                             default_service         ; Name of service template to use

        host_name                       localhost
        service_description             /dev/ad2s1a Root Partition Free Space
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_local_disk!20%!10%!/dev/ad2s1a
        }