1define host {
2	host_name host1
3	alias	host1 test
4	address	127.0.0.1
5	max_check_attempts 2
6	check_period	24x7
7	check_interval	5
8	retry_interval	1
9	check_command	check_me
10	contacts	nagiosadmin
11	notification_interval 60
12	notification_period none
13}
14
15define host {
16	host_name host2
17	alias	host2 test
18	address	127.0.0.1
19	max_check_attempts 2
20	check_period	24x7
21	check_interval	5
22	retry_interval	1
23	check_command	check_me
24	contacts	nagiosadmin
25	notification_interval 60
26	notification_period none
27}
28
29define host {
30	host_name host3
31	alias	host3 test
32	address	127.0.0.1
33	max_check_attempts 2
34	check_period	24x7
35	check_interval	5
36	retry_interval	1
37	check_command	check_me
38	contacts	nagiosadmin
39	notification_interval 60
40	notification_period none
41}
42
43define host {
44	host_name host4
45	alias	host4 test
46	address	127.0.0.1
47	max_check_attempts 2
48	check_period	24x7
49	check_interval	5
50	retry_interval	1
51	check_command	check_me
52	contacts	nagiosadmin
53	notification_interval 60
54	notification_period none
55}
56
57define service {
58	host_name	host1,host2,host3,host4
59	service_description svc
60	check_command	check_me
61	max_check_attempts	3
62	check_interval	32
63	retry_interval	1
64	check_period	24x7
65	notification_interval	60
66	notification_period	none
67	contacts	nagiosadmin
68}
69
70define service {
71	host_name	host1,host2,host3,host4
72	service_description svc2
73	check_command	check_me
74	max_check_attempts	3
75	check_interval	32
76	retry_interval	1
77	check_period	24x7
78	notification_interval	60
79	notification_period	none
80	contacts	nagiosadmin
81}
82
83define command {
84	command_name	check_me
85	command_line	/usr/local/nagios/libexec/check_me
86}
87
88define timeperiod {
89	timeperiod_name	none
90	alias	Nothing
91}
92
93define timeperiod {
94	timeperiod_name 24x7
95	alias 24x7 base on weekdays
96	monday	00:00-24:00
97	tuesday	00:00-24:00
98	wednesday	00:00-24:00
99	thursday	00:00-24:00
100	friday	00:00-24:00
101	saturday	00:00-24:00
102	sunday	00:00-24:00
103}
104
105define contact {
106	contact_name	nagiosadmin
107	host_notifications_enabled	0
108	service_notifications_enabled	0
109	host_notification_period	none
110	service_notification_period	none
111	host_notification_options	d,u,f,r,s
112	service_notification_options	w,u,c,r,f,s
113	host_notification_commands	notify-none
114	service_notification_commands	notify-none
115}
116
117define command {
118	command_name	notify-none
119	command_line /usr/local/nagios/notifications/notify-none
120}
121