1######################################## 2# NAGIOS OBJECT CACHE FILE 3# 4# THIS FILE IS AUTOMATICALLY GENERATED 5# BY NAGIOS. DO NOT MODIFY THIS FILE! 6# 7# Created: Thu May 14 23:56:31 2009 8######################################## 9 10define timeperiod { 11 timeperiod_name none 12 alias Nothing 13 } 14 15define command { 16 command_name check_me 17 command_line /usr/local/nagios/libexec/check_me 18 } 19 20define command { 21 command_name notify-none 22 command_line /usr/local/nagios/notifications/notify-none 23 } 24 25define contactgroup { 26 contactgroup_name causetestfailure 27 alias This causes a test failure by having a comma separated list before the empty contactgroup 28 members second,nagiosadmin 29 } 30 31define contactgroup { 32 contactgroup_name normalhostcontactgroup 33 alias This contact group is assigned to a host normally 34 members second 35 } 36 37define contactgroup { 38 contactgroup_name empty 39 alias No members defined - this should pass validation 40 } 41 42define contact { 43 contact_name nagiosadmin 44 service_notification_period none 45 host_notification_period none 46 service_notification_options w,u,c,r,f,s 47 host_notification_options d,u,r,f,s 48 service_notification_commands notify-none 49 host_notification_commands notify-none 50 host_notifications_enabled 0 51 service_notifications_enabled 0 52 can_submit_commands 1 53 retain_status_information 1 54 retain_nonstatus_information 1 55 } 56 57define contact { 58 contact_name second 59 service_notification_period none 60 host_notification_period none 61 service_notification_options w,u,c,r,f,s 62 host_notification_options d,u,r,f,s 63 service_notification_commands notify-none 64 host_notification_commands notify-none 65 host_notifications_enabled 0 66 service_notifications_enabled 0 67 can_submit_commands 1 68 retain_status_information 1 69 retain_nonstatus_information 1 70 } 71 72define host { 73 host_name host1 74 alias host1 test 75 address 192.168.1.1 76 check_period none 77 contacts nagiosadmin 78 contact_groups normalhostcontactgroup 79 notification_period none 80 initial_state o 81 check_interval 5.000000 82 retry_interval 1.000000 83 max_check_attempts 2 84 active_checks_enabled 1 85 passive_checks_enabled 1 86 obsess_over_host 1 87 event_handler_enabled 1 88 low_flap_threshold 0.000000 89 high_flap_threshold 0.000000 90 flap_detection_enabled 1 91 flap_detection_options o,d,u 92 freshness_threshold 0 93 check_freshness 0 94 notification_options d,u,r,f,s 95 notifications_enabled 1 96 notification_interval 60.000000 97 first_notification_delay 0.000000 98 stalking_options n 99 process_perf_data 1 100 retain_status_information 1 101 retain_nonstatus_information 1 102 } 103 104define host { 105 host_name host2 106 alias host2 test 107 address 192.168.1.2 108 check_period none 109 contacts nagiosadmin 110 notification_period none 111 initial_state o 112 check_interval 5.000000 113 retry_interval 1.000000 114 max_check_attempts 2 115 active_checks_enabled 1 116 passive_checks_enabled 1 117 obsess_over_host 1 118 event_handler_enabled 1 119 low_flap_threshold 0.000000 120 high_flap_threshold 0.000000 121 flap_detection_enabled 1 122 flap_detection_options o,d,u 123 freshness_threshold 0 124 check_freshness 0 125 notification_options d,u,r,f,s 126 notifications_enabled 1 127 notification_interval 60.000000 128 first_notification_delay 0.000000 129 stalking_options n 130 process_perf_data 1 131 retain_status_information 1 132 retain_nonstatus_information 1 133 } 134 135define service { 136 host_name host1 137 service_description Dummy service 138 check_period none 139 check_command check_me 140 contacts nagiosadmin 141 contact_groups normalhostcontactgroup 142 notification_period none 143 initial_state o 144 check_interval 32.000000 145 retry_interval 1.000000 146 max_check_attempts 3 147 is_volatile 0 148 parallelize_check 1 149 active_checks_enabled 1 150 passive_checks_enabled 1 151 obsess_over_service 1 152 event_handler_enabled 1 153 low_flap_threshold 0.000000 154 high_flap_threshold 0.000000 155 flap_detection_enabled 1 156 flap_detection_options o,w,u,c 157 freshness_threshold 0 158 check_freshness 0 159 notification_options u,w,c,r,f,s 160 notifications_enabled 1 161 notification_interval 60.000000 162 first_notification_delay 0.000000 163 stalking_options n 164 process_perf_data 1 165 retain_status_information 1 166 retain_nonstatus_information 1 167 } 168 169define service { 170 host_name host2 171 service_description Dummy service 172 check_period none 173 check_command check_me 174 contacts nagiosadmin 175 notification_period none 176 initial_state o 177 check_interval 32.000000 178 retry_interval 1.000000 179 max_check_attempts 3 180 is_volatile 0 181 parallelize_check 1 182 active_checks_enabled 1 183 passive_checks_enabled 1 184 obsess_over_service 1 185 event_handler_enabled 1 186 low_flap_threshold 0.000000 187 high_flap_threshold 0.000000 188 flap_detection_enabled 1 189 flap_detection_options o,w,u,c 190 freshness_threshold 0 191 check_freshness 0 192 notification_options u,w,c,r,f,s 193 notifications_enabled 1 194 notification_interval 60.000000 195 first_notification_delay 0.000000 196 stalking_options n 197 process_perf_data 1 198 retain_status_information 1 199 retain_nonstatus_information 1 200 } 201 202