- ERROR: Test::Exception is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Checking whether your kit is complete... Looks good Checking prerequisites... Creating new 'Build' script for 'Nagios-Object' version '0.20' Copying lib/Nagios/Config.pm -> blib/lib/Nagios/Config.pm Copying lib/Nagios/Config/File.pm -> blib/lib/Nagios/Config/File.pm Copying lib/Nagios/Object.pm -> blib/lib/Nagios/Object.pm Copying lib/Nagios/Object/Config.pm -> blib/lib/Nagios/Object/Config.pm Copying lib/Nagios/StatusLog.pm -> blib/lib/Nagios/StatusLog.pm Copying /home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Nagios-Object/bin/decode_flags.pl -> blib/script/decode_flags.pl Deleting blib/script/decode_flags.pl.bak Copying /home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Nagios-Object/bin/parse.pl -> blib/script/parse.pl Deleting blib/script/parse.pl.bak Copying /home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Nagios-Object/bin/statusdat_demo.pl -> blib/script/statusdat_demo.pl Deleting blib/script/statusdat_demo.pl.bak Copying /home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Nagios-Object/bin/test_configuration.pl -> blib/script/test_configuration.pl Deleting blib/script/test_configuration.pl.bak Copying /home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Nagios-Object/bin/config_status_demo.pl -> blib/script/config_status_demo.pl Deleting blib/script/config_status_demo.pl.bak Manifying blib/script/parse.pl -> blib/bindoc/parse.pl.1 Manifying blib/script/config_status_demo.pl -> blib/bindoc/config_status_demo.pl.1 Manifying blib/script/test_configuration.pl -> blib/bindoc/test_configuration.pl.1 Manifying blib/script/statusdat_demo.pl -> blib/bindoc/statusdat_demo.pl.1 Manifying blib/lib/Nagios/Object/Config.pm -> blib/libdoc/Nagios::Object::Config.3 Manifying blib/lib/Nagios/StatusLog.pm -> blib/libdoc/Nagios::StatusLog.3 Manifying blib/lib/Nagios/Config/File.pm -> blib/libdoc/Nagios::Config::File.3 Manifying blib/lib/Nagios/Object.pm -> blib/libdoc/Nagios::Object.3 Manifying blib/lib/Nagios/Config.pm -> blib/libdoc/Nagios::Config.3 HTMLifying blib/script/parse.pl -> blib/binhtml/bin/parse.html HTMLifying blib/script/config_status_demo.pl -> blib/binhtml/bin/config_status_demo.html HTMLifying blib/script/test_configuration.pl -> blib/binhtml/bin/test_configuration.html HTMLifying blib/script/statusdat_demo.pl -> blib/binhtml/bin/statusdat_demo.html HTMLifying blib/lib/Nagios/Object/Config.pm -> blib/libhtml/site/lib/Nagios/Object/Config.html HTMLifying blib/lib/Nagios/StatusLog.pm -> blib/libhtml/site/lib/Nagios/StatusLog.html HTMLifying blib/lib/Nagios/Config/File.pm -> blib/libhtml/site/lib/Nagios/Config/File.html HTMLifying blib/lib/Nagios/Object.pm -> blib/libhtml/site/lib/Nagios/Object.html HTMLifying blib/lib/Nagios/Config.pm -> blib/libhtml/site/lib/Nagios/Config.html t/00object..................# creating a Nagios::TimePeriod object ... # creating a Nagios::Command object ... # creating a Nagios::Contact object ... # creating a Nagios::ContactGroup object ... # creating a Nagios::Host object ... # # testing templates ... # # creating service template ... ok 1 - use Nagios::Object; ok 2 - Nagios::Host->can('host_name') ok 3 - Nagios::Host->can('new') ok 4 - parse_time_range( 00:00-09:00,17:00-24:00 ) ok 5 - verify data returned by parse_time_range ok 6 - The object isa Nagios::Object ok 7 - The object isa Nagios::Object ok 8 - The object isa Nagios::Object ok 9 - Nagios::Host->can('host_name') ok 10 - Nagios::Host->host_name() returns correct value ok 11 - Nagios::Host->can('set_alias') ok 12 - Nagios::Host->can('alias') ok 13 - Nagios::Host->set_alias() works ok 14 - Nagios::Host->alias() returns value set by previous test ok 15 - The object isa Nagios::Object ok 16 - Nagios::Service->new() ok 17 - Nagios::Service->can('flap_detection_enabled') ok 18 - Nagios::Service->can('set_flap_detection_enabled') ok 19 - Nagios::Service->can('check_freshness') ok 20 - Nagios::Service->can('set_check_freshness') ok 21 - Nagios::Service->can('failure_prediction_enabled') ok 22 - Nagios::Service->can('set_failure_prediction_enabled') ok 23 - Nagios::Service->can('servicegroups') ok 24 - Nagios::Service->can('set_servicegroups') ok 25 - Nagios::Service->can('file') ok 26 - Nagios::Service->can('set_file') ok 27 - Nagios::Service->can('check_period') ok 28 - Nagios::Service->can('set_check_period') ok 29 - Nagios::Service->can('freshness_threshold') ok 30 - Nagios::Service->can('set_freshness_threshold') ok 31 - Nagios::Service->can('passive_checks_enabled') ok 32 - Nagios::Service->can('set_passive_checks_enabled') ok 33 - Nagios::Service->can('notification_period') ok 34 - Nagios::Service->can('set_notification_period') ok 35 - Nagios::Service->can('retain_status_information') ok 36 - Nagios::Service->can('set_retain_status_information') ok 37 - Nagios::Service->can('high_flap_threshold') ok 38 - Nagios::Service->can('set_high_flap_threshold') ok 39 - Nagios::Service->can('service_description') ok 40 - Nagios::Service->can('set_service_description') ok 41 - Nagios::Service->can('parallelize_check') ok 42 - Nagios::Service->can('set_parallelize_check') ok 43 - Nagios::Service->can('notification_options') ok 44 - Nagios::Service->can('set_notification_options') ok 45 - Nagios::Service->can('name') ok 46 - Nagios::Service->can('set_name') ok 47 - Nagios::Service->can('normal_check_interval') ok 48 - Nagios::Service->can('set_normal_check_interval') ok 49 - Nagios::Service->can('host_name') ok 50 - Nagios::Service->can('set_host_name') ok 51 - Nagios::Service->can('hostgroup') ok 52 - Nagios::Service->can('set_hostgroup') ok 53 - Nagios::Service->can('obsess_over_service') ok 54 - Nagios::Service->can('set_obsess_over_service') ok 55 - Nagios::Service->can('stalking_options') ok 56 - Nagios::Service->can('set_stalking_options') ok 57 - Nagios::Service->can('retry_check_interval') ok 58 - Nagios::Service->can('set_retry_check_interval') ok 59 - Nagios::Service->can('event_handler_enabled') ok 60 - Nagios::Service->can('set_event_handler_enabled') ok 61 - Nagios::Service->can('notifications_enabled') ok 62 - Nagios::Service->can('set_notifications_enabled') ok 63 - Nagios::Service->can('event_handler') ok 64 - Nagios::Service->can('set_event_handler') ok 65 - Nagios::Service->can('use') ok 66 - Nagios::Service->can('set_use') ok 67 - Nagios::Service->can('active_checks_enabled') ok 68 - Nagios::Service->can('set_active_checks_enabled') ok 69 - Nagios::Service->can('process_perf_data') ok 70 - Nagios::Service->can('set_process_perf_data') ok 71 - Nagios::Service->can('is_volatile') ok 72 - Nagios::Service->can('set_is_volatile') ok 73 - Nagios::Service->can('max_check_attempts') ok 74 - Nagios::Service->can('set_max_check_attempts') ok 75 - Nagios::Service->can('retain_nonstatus_information') ok 76 - Nagios::Service->can('set_retain_nonstatus_information') ok 77 - Nagios::Service->can('check_command') ok 78 - Nagios::Service->can('set_check_command') ok 79 - Nagios::Service->can('comment') ok 80 - Nagios::Service->can('set_comment') ok 81 - Nagios::Service->can('low_flap_threshold') ok 82 - Nagios::Service->can('set_low_flap_threshold') ok 83 - Nagios::Service->can('notification_interval') ok 84 - Nagios::Service->can('set_notification_interval') ok 85 - Nagios::Service->can('contact_groups') ok 86 - Nagios::Service->can('set_contact_groups') ok 87 - Nagios::Service->can('list_attributes') ok 88 - Nagios::Service->can('attribute_type') ok 89 - Nagios::Service->can('attribute_is_list') ok 90 - Nagios::Service->can('attribute_allows_undef') ok 91 - Nagios::Service->can('name') ok 92 - Nagios::Host->new() ok 93 - Nagios::Host->can('flap_detection_enabled') ok 94 - Nagios::Host->can('set_flap_detection_enabled') ok 95 - Nagios::Host->can('check_freshness') ok 96 - Nagios::Host->can('set_check_freshness') ok 97 - Nagios::Host->can('failure_prediction_enabled') ok 98 - Nagios::Host->can('set_failure_prediction_enabled') ok 99 - Nagios::Host->can('notifications_enabled') ok 100 - Nagios::Host->can('set_notifications_enabled') ok 101 - Nagios::Host->can('event_handler_enabled') ok 102 - Nagios::Host->can('set_event_handler_enabled') ok 103 - Nagios::Host->can('file') ok 104 - Nagios::Host->can('set_file') ok 105 - Nagios::Host->can('event_handler') ok 106 - Nagios::Host->can('set_event_handler') ok 107 - Nagios::Host->can('process_perf_data') ok 108 - Nagios::Host->can('set_process_perf_data') ok 109 - Nagios::Host->can('use') ok 110 - Nagios::Host->can('set_use') ok 111 - Nagios::Host->can('check_period') ok 112 - Nagios::Host->can('set_check_period') ok 113 - Nagios::Host->can('freshness_threshold') ok 114 - Nagios::Host->can('set_freshness_threshold') ok 115 - Nagios::Host->can('checks_enabled') ok 116 - Nagios::Host->can('set_checks_enabled') ok 117 - Nagios::Host->can('address') ok 118 - Nagios::Host->can('set_address') ok 119 - Nagios::Host->can('notification_period') ok 120 - Nagios::Host->can('set_notification_period') ok 121 - Nagios::Host->can('retain_status_information') ok 122 - Nagios::Host->can('set_retain_status_information') ok 123 - Nagios::Host->can('max_check_attempts') ok 124 - Nagios::Host->can('set_max_check_attempts') ok 125 - Nagios::Host->can('high_flap_threshold') ok 126 - Nagios::Host->can('set_high_flap_threshold') ok 127 - Nagios::Host->can('notification_options') ok 128 - Nagios::Host->can('set_notification_options') ok 129 - Nagios::Host->can('name') ok 130 - Nagios::Host->can('set_name') ok 131 - Nagios::Host->can('retain_nonstatus_information') ok 132 - Nagios::Host->can('set_retain_nonstatus_information') ok 133 - Nagios::Host->can('check_command') ok 134 - Nagios::Host->can('set_check_command') ok 135 - Nagios::Host->can('comment') ok 136 - Nagios::Host->can('set_comment') ok 137 - Nagios::Host->can('host_name') ok 138 - Nagios::Host->can('set_host_name') ok 139 - Nagios::Host->can('check_interval') ok 140 - Nagios::Host->can('set_check_interval') ok 141 - Nagios::Host->can('notification_interval') ok 142 - Nagios::Host->can('set_notification_interval') ok 143 - Nagios::Host->can('hostgroup') ok 144 - Nagios::Host->can('set_hostgroup') ok 145 - Nagios::Host->can('low_flap_threshold') ok 146 - Nagios::Host->can('set_low_flap_threshold') ok 147 - Nagios::Host->can('contact_groups') ok 148 - Nagios::Host->can('set_contact_groups') ok 149 - Nagios::Host->can('stalking_options') ok 150 - Nagios::Host->can('set_stalking_options') ok 151 - Nagios::Host->can('alias') ok 152 - Nagios::Host->can('set_alias') ok 153 - Nagios::Host->can('parents') ok 154 - Nagios::Host->can('set_parents') ok 155 - Nagios::Host->can('list_attributes') ok 156 - Nagios::Host->can('attribute_type') ok 157 - Nagios::Host->can('attribute_is_list') ok 158 - Nagios::Host->can('attribute_allows_undef') ok 159 - Nagios::Host->can('name') ok 160 - Nagios::HostGroup->new() ok 161 - Nagios::HostGroup->can('file') ok 162 - Nagios::HostGroup->can('set_file') ok 163 - Nagios::HostGroup->can('name') ok 164 - Nagios::HostGroup->can('set_name') ok 165 - Nagios::HostGroup->can('members') ok 166 - Nagios::HostGroup->can('set_members') ok 167 - Nagios::HostGroup->can('use') ok 168 - Nagios::HostGroup->can('set_use') ok 169 - Nagios::HostGroup->can('comment') ok 170 - Nagios::HostGroup->can('set_comment') ok 171 - Nagios::HostGroup->can('hostgroup_name') ok 172 - Nagios::HostGroup->can('set_hostgroup_name') ok 173 - Nagios::HostGroup->can('alias') ok 174 - Nagios::HostGroup->can('set_alias') ok 175 - Nagios::HostGroup->can('contact_groups') ok 176 - Nagios::HostGroup->can('set_contact_groups') ok 177 - Nagios::HostGroup->can('list_attributes') ok 178 - Nagios::HostGroup->can('attribute_type') ok 179 - Nagios::HostGroup->can('attribute_is_list') ok 180 - Nagios::HostGroup->can('attribute_allows_undef') ok 181 - Nagios::HostGroup->can('name') ok 182 - Nagios::Contact->new() ok 183 - Nagios::Contact->can('address3') ok 184 - Nagios::Contact->can('set_address3') ok 185 - Nagios::Contact->can('file') ok 186 - Nagios::Contact->can('set_file') ok 187 - Nagios::Contact->can('host_notification_commands') ok 188 - Nagios::Contact->can('set_host_notification_commands') ok 189 - Nagios::Contact->can('contact_name') ok 190 - Nagios::Contact->can('set_contact_name') ok 191 - Nagios::Contact->can('email') ok 192 - Nagios::Contact->can('set_email') ok 193 - Nagios::Contact->can('address6') ok 194 - Nagios::Contact->can('set_address6') ok 195 - Nagios::Contact->can('use') ok 196 - Nagios::Contact->can('set_use') ok 197 - Nagios::Contact->can('address5') ok 198 - Nagios::Contact->can('set_address5') ok 199 - Nagios::Contact->can('host_notification_period') ok 200 - Nagios::Contact->can('set_host_notification_period') ok 201 - Nagios::Contact->can('contactgroups') ok 202 - Nagios::Contact->can('set_contactgroups') ok 203 - Nagios::Contact->can('service_notification_period') ok 204 - Nagios::Contact->can('set_service_notification_period') ok 205 - Nagios::Contact->can('host_notification_options') ok 206 - Nagios::Contact->can('set_host_notification_options') ok 207 - Nagios::Contact->can('address4') ok 208 - Nagios::Contact->can('set_address4') ok 209 - Nagios::Contact->can('service_notification_commands') ok 210 - Nagios::Contact->can('set_service_notification_commands') ok 211 - Nagios::Contact->can('name') ok 212 - Nagios::Contact->can('set_name') ok 213 - Nagios::Contact->can('address2') ok 214 - Nagios::Contact->can('set_address2') ok 215 - Nagios::Contact->can('comment') ok 216 - Nagios::Contact->can('set_comment') ok 217 - Nagios::Contact->can('service_notification_options') ok 218 - Nagios::Contact->can('set_service_notification_options') ok 219 - Nagios::Contact->can('pager') ok 220 - Nagios::Contact->can('set_pager') ok 221 - Nagios::Contact->can('address1') ok 222 - Nagios::Contact->can('set_address1') ok 223 - Nagios::Contact->can('alias') ok 224 - Nagios::Contact->can('set_alias') ok 225 - Nagios::Contact->can('list_attributes') ok 226 - Nagios::Contact->can('attribute_type') ok 227 - Nagios::Contact->can('attribute_is_list') ok 228 - Nagios::Contact->can('attribute_allows_undef') ok 229 - Nagios::Contact->can('name') ok 230 - Nagios::ContactGroup->new() ok 231 - Nagios::ContactGroup->can('members') ok 232 - Nagios::ContactGroup->can('set_members') ok 233 - Nagios::ContactGroup->can('contactgroup_name') ok 234 - Nagios::ContactGroup->can('set_contactgroup_name') ok 235 - Nagios::ContactGroup->can('comment') ok 236 - Nagios::ContactGroup->can('set_comment') ok 237 - Nagios::ContactGroup->can('use') ok 238 - Nagios::ContactGroup->can('set_use') ok 239 - Nagios::ContactGroup->can('file') ok 240 - Nagios::ContactGroup->can('set_file') ok 241 - Nagios::ContactGroup->can('name') ok 242 - Nagios::ContactGroup->can('set_name') ok 243 - Nagios::ContactGroup->can('alias') ok 244 - Nagios::ContactGroup->can('set_alias') ok 245 - Nagios::ContactGroup->can('list_attributes') ok 246 - Nagios::ContactGroup->can('attribute_type') ok 247 - Nagios::ContactGroup->can('attribute_is_list') ok 248 - Nagios::ContactGroup->can('attribute_allows_undef') ok 249 - Nagios::ContactGroup->can('name') ok 250 - Nagios::Command->new() ok 251 - Nagios::Command->can('comment') ok 252 - Nagios::Command->can('set_comment') ok 253 - Nagios::Command->can('use') ok 254 - Nagios::Command->can('set_use') ok 255 - Nagios::Command->can('command_line') ok 256 - Nagios::Command->can('set_command_line') ok 257 - Nagios::Command->can('file') ok 258 - Nagios::Command->can('set_file') ok 259 - Nagios::Command->can('name') ok 260 - Nagios::Command->can('set_name') ok 261 - Nagios::Command->can('command_name') ok 262 - Nagios::Command->can('set_command_name') ok 263 - Nagios::Command->can('list_attributes') ok 264 - Nagios::Command->can('attribute_type') ok 265 - Nagios::Command->can('attribute_is_list') ok 266 - Nagios::Command->can('attribute_allows_undef') ok 267 - Nagios::Command->can('name') ok 268 - Nagios::TimePeriod->new() ok 269 - Nagios::TimePeriod->can('sunday') ok 270 - Nagios::TimePeriod->can('set_sunday') ok 271 - Nagios::TimePeriod->can('friday') ok 272 - Nagios::TimePeriod->can('set_friday') ok 273 - Nagios::TimePeriod->can('file') ok 274 - Nagios::TimePeriod->can('set_file') ok 275 - Nagios::TimePeriod->can('name') ok 276 - Nagios::TimePeriod->can('set_name') ok 277 - Nagios::TimePeriod->can('tuesday') ok 278 - Nagios::TimePeriod->can('set_tuesday') ok 279 - Nagios::TimePeriod->can('monday') ok 280 - Nagios::TimePeriod->can('set_monday') ok 281 - Nagios::TimePeriod->can('comment') ok 282 - Nagios::TimePeriod->can('set_comment') ok 283 - Nagios::TimePeriod->can('use') ok 284 - Nagios::TimePeriod->can('set_use') ok 285 - Nagios::TimePeriod->can('saturday') ok 286 - Nagios::TimePeriod->can('set_saturday') ok 287 - Nagios::TimePeriod->can('wednesday') ok 288 - Nagios::TimePeriod->can('set_wednesday') ok 289 - Nagios::TimePeriod->can('timeperiod_name') ok 290 - Nagios::TimePeriod->can('set_timeperiod_name') ok 291 - Nagios::TimePeriod->can('thursday') ok 292 - Nagios::TimePeriod->can('set_thursday') ok 293 - Nagios::TimePeriod->can('alias') ok 294 - Nagios::TimePeriod->can('set_alias') ok 295 - Nagios::TimePeriod->can('list_attributes') ok 296 - Nagios::TimePeriod->can('attribute_type') ok 297 - Nagios::TimePeriod->can('attribute_is_list') ok 298 - Nagios::TimePeriod->can('attribute_allows_undef') ok 299 - Nagios::TimePeriod->can('name') ok 300 - Nagios::ServiceEscalation->new() ok 301 - Nagios::ServiceEscalation->can('escalation_period') ok 302 - Nagios::ServiceEscalation->can('set_escalation_period') ok 303 - Nagios::ServiceEscalation->can('first_notification') ok 304 - Nagios::ServiceEscalation->can('set_first_notification') ok 305 - Nagios::ServiceEscalation->can('service_description') ok 306 - Nagios::ServiceEscalation->can('set_service_description') ok 307 - Nagios::ServiceEscalation->can('file') ok 308 - Nagios::ServiceEscalation->can('set_file') ok 309 - Nagios::ServiceEscalation->can('name') ok 310 - Nagios::ServiceEscalation->can('set_name') ok 311 - Nagios::ServiceEscalation->can('escalation_options') ok 312 - Nagios::ServiceEscalation->can('set_escalation_options') ok 313 - Nagios::ServiceEscalation->can('comment') ok 314 - Nagios::ServiceEscalation->can('set_comment') ok 315 - Nagios::ServiceEscalation->can('use') ok 316 - Nagios::ServiceEscalation->can('set_use') ok 317 - Nagios::ServiceEscalation->can('host_name') ok 318 - Nagios::ServiceEscalation->can('set_host_name') ok 319 - Nagios::ServiceEscalation->can('notification_interval') ok 320 - Nagios::ServiceEscalation->can('set_notification_interval') ok 321 - Nagios::ServiceEscalation->can('contact_groups') ok 322 - Nagios::ServiceEscalation->can('set_contact_groups') ok 323 - Nagios::ServiceEscalation->can('last_notification') ok 324 - Nagios::ServiceEscalation->can('set_last_notification') ok 325 - Nagios::ServiceEscalation->can('list_attributes') ok 326 - Nagios::ServiceEscalation->can('attribute_type') ok 327 - Nagios::ServiceEscalation->can('attribute_is_list') ok 328 - Nagios::ServiceEscalation->can('attribute_allows_undef') ok 329 - Nagios::ServiceEscalation->can('name') ok 330 - Nagios::ServiceDependency->new() ok 331 - Nagios::ServiceDependency->can('service_description') ok 332 - Nagios::ServiceDependency->can('set_service_description') ok 333 - Nagios::ServiceDependency->can('file') ok 334 - Nagios::ServiceDependency->can('set_file') ok 335 - Nagios::ServiceDependency->can('name') ok 336 - Nagios::ServiceDependency->can('set_name') ok 337 - Nagios::ServiceDependency->can('dependent_host_name') ok 338 - Nagios::ServiceDependency->can('set_dependent_host_name') ok 339 - Nagios::ServiceDependency->can('dependent_service_description') ok 340 - Nagios::ServiceDependency->can('set_dependent_service_description') ok 341 - Nagios::ServiceDependency->can('execution_failure_criteria') ok 342 - Nagios::ServiceDependency->can('set_execution_failure_criteria') ok 343 - Nagios::ServiceDependency->can('comment') ok 344 - Nagios::ServiceDependency->can('set_comment') ok 345 - Nagios::ServiceDependency->can('use') ok 346 - Nagios::ServiceDependency->can('set_use') ok 347 - Nagios::ServiceDependency->can('host_name') ok 348 - Nagios::ServiceDependency->can('set_host_name') ok 349 - Nagios::ServiceDependency->can('notification_failure_criteria') ok 350 - Nagios::ServiceDependency->can('set_notification_failure_criteria') ok 351 - Nagios::ServiceDependency->can('list_attributes') ok 352 - Nagios::ServiceDependency->can('attribute_type') ok 353 - Nagios::ServiceDependency->can('attribute_is_list') ok 354 - Nagios::ServiceDependency->can('attribute_allows_undef') ok 355 - Nagios::ServiceDependency->can('name') ok 356 - Nagios::HostEscalation->new() ok 357 - Nagios::HostEscalation->can('first_notification') ok 358 - Nagios::HostEscalation->can('set_first_notification') ok 359 - Nagios::HostEscalation->can('file') ok 360 - Nagios::HostEscalation->can('set_file') ok 361 - Nagios::HostEscalation->can('name') ok 362 - Nagios::HostEscalation->can('set_name') ok 363 - Nagios::HostEscalation->can('comment') ok 364 - Nagios::HostEscalation->can('set_comment') ok 365 - Nagios::HostEscalation->can('use') ok 366 - Nagios::HostEscalation->can('set_use') ok 367 - Nagios::HostEscalation->can('host_name') ok 368 - Nagios::HostEscalation->can('set_host_name') ok 369 - Nagios::HostEscalation->can('hostgroup') ok 370 - Nagios::HostEscalation->can('set_hostgroup') ok 371 - Nagios::HostEscalation->can('notification_interval') ok 372 - Nagios::HostEscalation->can('set_notification_interval') ok 373 - Nagios::HostEscalation->can('contact_groups') ok 374 - Nagios::HostEscalation->can('set_contact_groups') ok 375 - Nagios::HostEscalation->can('last_notification') ok 376 - Nagios::HostEscalation->can('set_last_notification') ok 377 - Nagios::HostEscalation->can('list_attributes') ok 378 - Nagios::HostEscalation->can('attribute_type') ok 379 - Nagios::HostEscalation->can('attribute_is_list') ok 380 - Nagios::HostEscalation->can('attribute_allows_undef') ok 381 - Nagios::HostEscalation->can('name') ok 382 - Nagios::HostDependency->new() ok 383 - Nagios::HostDependency->can('file') ok 384 - Nagios::HostDependency->can('set_file') ok 385 - Nagios::HostDependency->can('name') ok 386 - Nagios::HostDependency->can('set_name') ok 387 - Nagios::HostDependency->can('dependent_host_name') ok 388 - Nagios::HostDependency->can('set_dependent_host_name') ok 389 - Nagios::HostDependency->can('execution_failure_criteria') ok 390 - Nagios::HostDependency->can('set_execution_failure_criteria') ok 391 - Nagios::HostDependency->can('use') ok 392 - Nagios::HostDependency->can('set_use') ok 393 - Nagios::HostDependency->can('inherits_parent') ok 394 - Nagios::HostDependency->can('set_inherits_parent') ok 395 - Nagios::HostDependency->can('comment') ok 396 - Nagios::HostDependency->can('set_comment') ok 397 - Nagios::HostDependency->can('host_name') ok 398 - Nagios::HostDependency->can('set_host_name') ok 399 - Nagios::HostDependency->can('notification_failure_criteria') ok 400 - Nagios::HostDependency->can('set_notification_failure_criteria') ok 401 - Nagios::HostDependency->can('list_attributes') ok 402 - Nagios::HostDependency->can('attribute_type') ok 403 - Nagios::HostDependency->can('attribute_is_list') ok 404 - Nagios::HostDependency->can('attribute_allows_undef') ok 405 - Nagios::HostDependency->can('name') ok 406 - Nagios::HostGroupEscalation->new() ok 407 - Nagios::HostGroupEscalation->can('first_notification') ok 408 - Nagios::HostGroupEscalation->can('set_first_notification') ok 409 - Nagios::HostGroupEscalation->can('file') ok 410 - Nagios::HostGroupEscalation->can('set_file') ok 411 - Nagios::HostGroupEscalation->can('name') ok 412 - Nagios::HostGroupEscalation->can('set_name') ok 413 - Nagios::HostGroupEscalation->can('use') ok 414 - Nagios::HostGroupEscalation->can('set_use') ok 415 - Nagios::HostGroupEscalation->can('comment') ok 416 - Nagios::HostGroupEscalation->can('set_comment') ok 417 - Nagios::HostGroupEscalation->can('hostgroup') ok 418 - Nagios::HostGroupEscalation->can('set_hostgroup') ok 419 - Nagios::HostGroupEscalation->can('notification_interval') ok 420 - Nagios::HostGroupEscalation->can('set_notification_interval') ok 421 - Nagios::HostGroupEscalation->can('contact_groups') ok 422 - Nagios::HostGroupEscalation->can('set_contact_groups') ok 423 - Nagios::HostGroupEscalation->can('last_notification') ok 424 - Nagios::HostGroupEscalation->can('set_last_notification') ok 425 - Nagios::HostGroupEscalation->can('list_attributes') ok 426 - Nagios::HostGroupEscalation->can('attribute_type') ok 427 - Nagios::HostGroupEscalation->can('attribute_is_list') ok 428 - Nagios::HostGroupEscalation->can('attribute_allows_undef') ok 429 - Nagios::HostGroupEscalation->can('name') ok 430 - Nagios::Object->new( Type => Nagios::Command ) ok 431 - Nagios::Command->can('set_command_name') ok 432 - Nagios::Object->new( Type => Nagios::TimePeriod ) ok 433 - Nagios::TimePeriod->can('timeperiod_name') ok 434 - Nagios::TimePeriod->can('set_timeperiod_name') ok 435 - $object->set_timeperiod_name ok 436 - $object->timeperiod_name ok 437 - $object->name 1..437 ok t/05object_config...........ok 1 - use Nagios::Object::Config; ok 2 - $parser = Nagios::Object::Config->new() ok 3 - $parser->parse( 'testconfig.cfg' ) ok 4 - $parser->resolve_objects ok 5 - $parser->register_objects ok 6 - $parser->resolve_objects should be ok to call multiple times ok 7 - $parser->register_objects should be ok to call multiple times ok 8 - $parser->list_hosts() ok 9 - $parser->list_contacts() 1..9 ok t/10config_file.............1..7 ok 1 - use Nagios::Config::File; ok 2 - Nagios::Config::File->new() ok 3 - get('command_check_interval') returns 15s ok 4 - make sure get_attr from v0.02 still works ok 5 - get('cfg_file') ok 6 - getting an attribute that allows multiples returns an arrayref ok 7 - arrayref from previous test has more than two elements ok t/50config..................Can't locate Test/Exception.pm in @INC (@INC contains: /home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Nagios-Object/blib/lib /home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Nagios-Object/blib/arch /home/cpanrun/depot/main/Apps/CPAN_Run/lib /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/5.8.2 /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2 /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2 /home/cpanrun/ia64/build/5.8.2/lib/site_perl . /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/5.8.2 /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2 /home/cpanrun/ia64/build/5.8.2/lib/site_perl .) at t/50config.t line 9. BEGIN failed--compilation aborted at t/50config.t line 9. # Looks like your test died before it could output anything. dubious Test returned status 2 (wstat 512, 0x200) t/51config-wildcards........ok 1 - use Nagios::Object::Config; ok 2 - Nagios::Object::Config->new() ok 3 - Run resolve_objects method. ok 4 - Run register_objects method. ok 5 - List contact groups ok 6 - There should be only 1 contactgroup. ok 7 - Wildcard should have matched exactly two contacts. ok 8 - "prin" should have matched all three printers. 1..8 ok t/54dump....................# create a test Nagios::Host object ok 1 - use Nagios::Object; ok 2 - call dump() ok 3 - output is consistent across calls to dump() ok 4 - name() method works as expected ok 5 - use Nagios::Object::Config; ok 6 - Retrieve the object from the parsed configuration. ok 7 - parsed object is not a copy ok 8 - address matches ok 9 - alias matches ok 10 - check_command matches ok 11 - checks_enabled matches ok 12 - event_handler matches ok 13 - event_handler_enabled matches ok 14 - flap_detection_enabled matches ok 15 - high_flap_threshold matches ok 16 - host_name matches ok 17 - low_flap_threshold matches ok 18 - max_check_attempts matches ok 19 - notification_interval matches ok 20 - notification_options matches ok 21 - notifications_enabled matches ok 22 - process_perf_data matches ok 23 - retain_nonstatus_information matches ok 24 - retain_status_information matches ok 25 - stalking_options matches 1..25 ok t/98nagios-sample-config....# testing with Nagios sample file sample-config-bigger.cfg ... # testing with Nagios sample file sample-config-minimal.cfg ... ok 1 - use Nagios::Config; ok 2 - use Nagios::Object::Config; ok 3 - $parser->resolve_objects ok 4 - $parser->register_objects ok 5 - dump Nagios::HostDependency named Nagios::HostDependency-6 ok 6 - dump Nagios::Contact named nagios ok 7 - dump Nagios::Contact named jdoe ok 8 - dump Nagios::TimePeriod named 24x7 ok 9 - dump Nagios::TimePeriod named workhours ok 10 - dump Nagios::TimePeriod named nonworkhours ok 11 - dump Nagios::TimePeriod named none ok 12 - dump Nagios::Host named generic-host ok 13 - dump Nagios::Host named novell1 ok 14 - dump Nagios::Host named novell2 ok 15 - dump Nagios::Host named nt1 ok 16 - dump Nagios::Host named nt2 ok 17 - dump Nagios::Host named linux1 ok 18 - dump Nagios::Host named linux2 ok 19 - dump Nagios::Host named switch1 ok 20 - dump Nagios::Host named switch2 ok 21 - dump Nagios::Host named switch3 ok 22 - dump Nagios::Host named switch4 ok 23 - dump Nagios::Host named switch5 ok 24 - dump Nagios::Host named router1 ok 25 - dump Nagios::Host named printer1 ok 26 - dump Nagios::Host named printer2 ok 27 - dump Nagios::Host named printer3 ok 28 - dump Nagios::ServiceDependency named Nagios::ServiceDependency-7 ok 29 - dump Nagios::ServiceDependency named Nagios::ServiceDependency-8 ok 30 - dump Nagios::ServiceEscalation named Nagios::ServiceEscalation-9 ok 31 - dump Nagios::ServiceEscalation named Nagios::ServiceEscalation-10 ok 32 - dump Nagios::ContactGroup named novell-admins ok 33 - dump Nagios::ContactGroup named nt-admins ok 34 - dump Nagios::ContactGroup named linux-admins ok 35 - dump Nagios::ContactGroup named switch-admins ok 36 - dump Nagios::ContactGroup named router-admins ok 37 - dump Nagios::ContactGroup named printer-admins ok 38 - dump Nagios::HostGroup named novell-servers ok 39 - dump Nagios::HostGroup named nt-servers ok 40 - dump Nagios::HostGroup named linux-boxes ok 41 - dump Nagios::HostGroup named switches ok 42 - dump Nagios::HostGroup named routers ok 43 - dump Nagios::HostGroup named printers ok 44 - dump Nagios::Service named generic-service ok 45 - dump Nagios::Service named SMTP ok 46 - dump Nagios::Service named FTP ok 47 - dump Nagios::Service named POP3 ok 48 - dump Nagios::Service named PING ok 49 - dump Nagios::Service named SMTP ok 50 - dump Nagios::Service named FTP ok 51 - dump Nagios::Service named POP3 ok 52 - dump Nagios::Service named PING ok 53 - dump Nagios::Service named PING ok 54 - dump Nagios::Service named FTP ok 55 - dump Nagios::Service named HTTP ok 56 - dump Nagios::Service named PING ok 57 - dump Nagios::Service named FTP ok 58 - dump Nagios::Service named HTTP ok 59 - dump Nagios::Service named PING ok 60 - dump Nagios::Service named HTTP ok 61 - dump Nagios::Service named Current Users ok 62 - dump Nagios::Service named Total Processes ok 63 - dump Nagios::Service named /dev/hda1 Free Space ok 64 - dump Nagios::Service named /dev/hdb2 Free Space ok 65 - dump Nagios::Service named PING ok 66 - dump Nagios::Service named HTTP ok 67 - dump Nagios::Service named Current Users ok 68 - dump Nagios::Service named Total Processes ok 69 - dump Nagios::Service named /dev/hda1 Free Space ok 70 - dump Nagios::Service named /dev/hdb1 Free Space ok 71 - dump Nagios::Service named PING ok 72 - dump Nagios::Service named PING ok 73 - dump Nagios::Service named PING ok 74 - dump Nagios::Service named PING ok 75 - dump Nagios::Service named PING ok 76 - dump Nagios::Service named PING ok 77 - dump Nagios::Service named Printer Status ok 78 - dump Nagios::Service named PING ok 79 - dump Nagios::Service named Printer Status ok 80 - dump Nagios::Service named PING ok 81 - dump Nagios::Service named Printer Status ok 82 - dump Nagios::Service named PING ok 83 - dump Nagios::HostEscalation named hostescalation-nt1 ok 84 - $parser->resolve_objects ok 85 - $parser->register_objects ok 86 - dump Nagios::Contact named nagios-admin ok 87 - dump Nagios::TimePeriod named 24x7 ok 88 - dump Nagios::Host named generic-host ok 89 - dump Nagios::Host named localhost ok 90 - dump Nagios::Command named notify-by-email ok 91 - dump Nagios::Command named host-notify-by-email ok 92 - dump Nagios::Command named check-host-alive ok 93 - dump Nagios::Command named check_ping ok 94 - dump Nagios::Command named check_local_disk ok 95 - dump Nagios::Command named check_local_users ok 96 - dump Nagios::Command named check_local_procs ok 97 - dump Nagios::Command named check_local_load ok 98 - dump Nagios::ContactGroup named admins ok 99 - dump Nagios::HostGroup named test ok 100 - dump Nagios::Service named generic-service ok 101 - dump Nagios::Service named PING ok 102 - dump Nagios::Service named Root Partition ok 103 - dump Nagios::Service named Current Users ok 104 - dump Nagios::Service named Total Processes ok 105 - dump Nagios::Service named Current Load 1..105 ok t/99config-extend...........ok 1 - use Nagios::Object; ok 2 - Nagios::Host->can('foobar') ok 3 - Nagios::Host->can('set_foobar') ok 4 - Nagios::Host->can('foobar') ok 5 - Nagios::Host->can('set_foobar') ok 6 - newly created set_foobar method works ok 7 - use getter method to verify previous test 1..7 ok t/hostgroup_hostgroups......Can't locate Test/Exception.pm in @INC (@INC contains: /home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Nagios-Object/blib/lib /home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Nagios-Object/blib/arch /home/cpanrun/depot/main/Apps/CPAN_Run/lib /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/5.8.2 /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2 /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2 /home/cpanrun/ia64/build/5.8.2/lib/site_perl . /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/5.8.2 /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2/IA64.ARCHREV_0-thread-multi /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2 /home/cpanrun/ia64/build/5.8.2/lib/site_perl .) at t/hostgroup_hostgroups.t line 11. BEGIN failed--compilation aborted at t/hostgroup_hostgroups.t line 11. # Looks like your test died before it could output anything. dubious Test returned status 2 (wstat 512, 0x200) t/multi_type_entries........ok 1 - Config parse() succeeded for 'multi_type_entries.cfg' ok 2 - Get a service object to work with ok 3 - Get a host to work with 1..3 ok t/nagios2config.............1..12 ok 1 - use Nagios::Config; ok 2 - Nagios::Config->new() # run tests to make sure inherited Nagios::Config::File methods work ok 3 - get('command_check_interval') returns -1 ok 4 - make sure get_attr from v0.02 still works ok 5 - get('cfg_file') ok 6 - getting an attribute that allows multiples returns an arrayref # run tests to make sure inherited Nagios::Config::Object methods work ok 7 - arrayref from previous test has more than two elements ok 8 - $parser->resolve_objects should be ok to call multiple times ok 9 - $parser->register_objects should be ok to call multiple times ok 10 - $parser->list_hosts() ok 11 - $parser->list_services() ok 12 - $parser->list_hostgroups() ok t/nestedtemplates...........ok 1 - undefined isn't generic-host (template name/object name) ok 2 - generic-host isn't generic-production-host (template name/object name) ok 3 - generic-host isn't generic-development-host (template name/object name) ok 4 - generic-production-host isn't dmz-host (template name/object name) ok 5 - generic-production-host isn't unix-host (template name/object name) ok 6 - generic-production-host isn't linux-host (template name/object name) ok 7 - generic-production-host isn't firewall-host (template name/object name) ok 8 - generic-production-host isn't san-host (template name/object name) ok 9 - generic-production-host isn't env-mon-device (template name/object name) ok 10 - generic-development-host isn't development-host (template name/object name) ok 11 - generic-production-host isn't security-host (template name/object name) ok 12 - generic-production-host isn't lan-host (template name/object name) ok 13 - check template names ok 14 - check a value that should not be inherited ok 15 - check a value that should be inherited 1..15 ok t/statuslog.................1..25 ok 1 - use Nagios::StatusLog; ok 2 - new() ok 3 - update() ok 4 - ->host() ok 5 - ->service() ok 6 - ->program() ok 7 - $host->host_name() returns correct value ok 8 - $svc->description() returns correct value ok 9 - new() ok 10 - Nagios::StatusLog->can(...) ok 11 - info() ok 12 - list_services() ok 13 - More then 0 services. ok 14 - host() ok 15 - service() ok 16 - Got the last service in the file ok 17 - get PENDING_OK_CHECK_PEND service for next test ok 18 - has_been_checked=0 ok 19 - Status is PENDING ok 20 - get PENDING_OK_CHECK_OK service for next two tests ok 21 - has_been_checked=1 ok 22 - Status is OK ok 23 - Nagios::Host::Status->can(...) ok 24 - status returns a non-null value ok 25 - Nagios::Service::Status->can(...) ok Failed 2/13 test scripts, 84.62% okay. 0/653 subtests failed, 100.00% okay. Failed Test Stat Wstat Total Fail Failed List of Failed --------------------------------------------------------------------------------------------------------------------------------------- t/50config.t 2 512 ?? ?? % ?? t/hostgroup_hostgroups.t 2 512 ?? ?? % ??