Home
last modified time | relevance | path

Searched refs:temp_service (Results 1 – 25 of 73) sorted by relevance

123

/dports/net-mgmt/nagios4/nagios-4.4.6/xdata/
H A Dxrddefault.c88 service *temp_service = NULL; in xrddefault_save_state_information() local
259 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in xrddefault_save_state_information()
456 service *temp_service = NULL; in xrddefault_read_state_information() local
672temp_service->next_notification = get_next_service_notification_time(temp_service, temp_service->l… in xrddefault_read_state_information()
675 if(temp_service->has_been_checked == FALSE && temp_service->state_type == SOFT_STATE) in xrddefault_read_state_information()
679 if(temp_service->current_state != STATE_OK && temp_service->state_type == HARD_STATE) in xrddefault_read_state_information()
680 temp_service->current_attempt = temp_service->max_attempts; in xrddefault_read_state_information()
707 temp_service->last_hard_state_change = temp_service->last_state_change; in xrddefault_read_state_information()
719 temp_service = NULL; in xrddefault_read_state_information()
1485 …if(temp_service->state_type == HARD_STATE && temp_service->current_state != STATE_OK && temp_servi… in xrddefault_read_state_information()
[all …]
H A Dxsddefault.c119 service *temp_service = NULL; in xsddefault_save_status_data() local
297 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in xsddefault_save_status_data()
300 fprintf(fp, "\thost_name=%s\n", temp_service->host_name); in xsddefault_save_status_data()
304 …fprintf(fp, "\tcheck_command=%s\n", (temp_service->check_command == NULL) ? "" : temp_service->che… in xsddefault_save_status_data()
305 …fprintf(fp, "\tcheck_period=%s\n", (temp_service->check_period == NULL) ? "" : temp_service->check… in xsddefault_save_status_data()
306 …fprintf(fp, "\tnotification_period=%s\n", (temp_service->notification_period == NULL) ? "" : temp_… in xsddefault_save_status_data()
310 …fprintf(fp, "\tevent_handler=%s\n", (temp_service->event_handler == NULL) ? "" : temp_service->eve… in xsddefault_save_status_data()
332 …fprintf(fp, "\tplugin_output=%s\n", (temp_service->plugin_output == NULL) ? "" : temp_service->plu… in xsddefault_save_status_data()
333 …fprintf(fp, "\tlong_plugin_output=%s\n", (temp_service->long_plugin_output == NULL) ? "" : temp_se… in xsddefault_save_status_data()
334 …fprintf(fp, "\tperformance_data=%s\n", (temp_service->perf_data == NULL) ? "" : temp_service->perf… in xsddefault_save_status_data()
[all …]
H A Dxodtemplate.c4064 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_duplicate_services()
4104 temp_service->host_name, temp_service->service_description, in xodtemplate_duplicate_services()
4166 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_duplicate_services()
4198 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_duplicate_services()
4703 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_inherit_object_properties()
5147 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_resolve_objects()
6681 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_recombobulate_servicegroups()
6695temp_service->service_description, temp_service->host_name, xodtemplate_config_file_name(temp_serv… in xodtemplate_recombobulate_servicegroups()
9790 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_expand_services()
9836 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_expand_services()
[all …]
/dports/net-mgmt/nagios/nagios-3.5.1/xdata/
H A Dxrddefault.c254 service *temp_service = NULL; in xrddefault_save_state_information() local
426 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in xrddefault_save_state_information()
623 service *temp_service = NULL; in xrddefault_read_state_information() local
839temp_service->next_notification = get_next_service_notification_time(temp_service, temp_service->l… in xrddefault_read_state_information()
842 if(temp_service->has_been_checked == FALSE && temp_service->state_type == SOFT_STATE) in xrddefault_read_state_information()
846 if(temp_service->current_state != STATE_OK && temp_service->state_type == HARD_STATE) in xrddefault_read_state_information()
847 temp_service->current_attempt = temp_service->max_attempts; in xrddefault_read_state_information()
874 temp_service->last_hard_state_change = temp_service->last_state_change; in xrddefault_read_state_information()
886 temp_service = NULL; in xrddefault_read_state_information()
1660 …if(temp_service->state_type == HARD_STATE && temp_service->current_state != STATE_OK && temp_servi… in xrddefault_read_state_information()
[all …]
H A Dxsddefault.c333 service *temp_service = NULL; in xsddefault_save_status_data() local
535 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in xsddefault_save_status_data()
538 fprintf(fp, "\thost_name=%s\n", temp_service->host_name); in xsddefault_save_status_data()
542 …fprintf(fp, "\tcheck_command=%s\n", (temp_service->service_check_command == NULL) ? "" : temp_serv… in xsddefault_save_status_data()
543 …fprintf(fp, "\tcheck_period=%s\n", (temp_service->check_period == NULL) ? "" : temp_service->check… in xsddefault_save_status_data()
544 …fprintf(fp, "\tnotification_period=%s\n", (temp_service->notification_period == NULL) ? "" : temp_… in xsddefault_save_status_data()
547 …fprintf(fp, "\tevent_handler=%s\n", (temp_service->event_handler == NULL) ? "" : temp_service->eve… in xsddefault_save_status_data()
553 fprintf(fp, "\tcheck_type=%d\n", temp_service->check_type); in xsddefault_save_status_data()
569 …fprintf(fp, "\tplugin_output=%s\n", (temp_service->plugin_output == NULL) ? "" : temp_service->plu… in xsddefault_save_status_data()
570 …fprintf(fp, "\tlong_plugin_output=%s\n", (temp_service->long_plugin_output == NULL) ? "" : temp_se… in xsddefault_save_status_data()
[all …]
H A Dxodtemplate.c4120 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_duplicate_services()
4195 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_duplicate_services()
4228 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_duplicate_services()
5763 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_inherit_object_properties()
5994 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_resolve_objects()
7882 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_recombobulate_servicegroups()
9718 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_sort_services()
9739 for(temp_service = new_service_list; temp_service != NULL; temp_service = temp_service->next) { in xodtemplate_sort_services()
12735 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_expand_services()
12783 …for(temp_service = xodtemplate_service_list; temp_service != NULL; temp_service = temp_service->ne… in xodtemplate_expand_services()
[all …]
/dports/net-mgmt/nagios/nagios-3.5.1/base/
H A Dchecks.c986 temp_service->last_state = temp_service->current_state; in handle_async_service_check_result()
1048 temp_service->last_time_ok = temp_service->last_check; in handle_async_service_check_result()
1051 temp_service->last_time_warning = temp_service->last_check; in handle_async_service_check_result()
1054 temp_service->last_time_unknown = temp_service->last_check; in handle_async_service_check_result()
1095 …if(temp_service->state_type == SOFT_STATE && (temp_service->current_attempt < temp_service->max_at… in handle_async_service_check_result()
1102 if(temp_service->current_state != temp_service->last_state) { in handle_async_service_check_result()
1116 …if(temp_service->current_attempt >= temp_service->max_attempts && temp_service->current_state != t… in handle_async_service_check_result()
1159 temp_service->last_state_change = temp_service->last_check; in handle_async_service_check_result()
1169 temp_service->last_state_change = temp_service->last_check; in handle_async_service_check_result()
1916 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in check_for_orphaned_services()
[all …]
H A Devents.c108 service *temp_service = NULL; in init_timing_loop() local
147 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in init_timing_loop()
355 temp_service->description, temp_service->host_name); in init_timing_loop()
412 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in init_timing_loop()
426 …if(!(temp_service->checks_enabled == FALSE && temp_service->next_check != (time_t)0L && (temp_serv… in init_timing_loop()
433 temp_service->description, temp_service->host_name); in init_timing_loop()
1129 temp_service->next_check = (time_t)(temp_service->next_check + nudge_seconds); in event_execution_loop()
1134temp_service->next_check = (time_t)(temp_service->next_check + (temp_service->retry_interval * int… in event_execution_loop()
1136temp_service->next_check = (time_t)(temp_service->next_check + (temp_service->check_interval * int… in event_execution_loop()
1751 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in compensate_for_system_time_change()
[all …]
H A Dconfig.c1518 service *temp_service = NULL; in pre_flight_check() local
1672 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in pre_flight_check()
1731 service *temp_service = NULL; in pre_flight_object_check() local
1778 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in pre_flight_object_check()
1837 …if(temp_service->notify_on_recovery == TRUE && temp_service->notify_on_warning == FALSE && temp_se… in pre_flight_object_check()
1874 if(temp_service->contacts == NULL && temp_service->contact_groups == NULL) { in pre_flight_object_check()
1913 …if(temp_service->notification_interval < temp_service->check_interval && temp_service->notificatio… in pre_flight_object_check()
1953 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in pre_flight_object_check()
2152 if(temp_service == NULL) { in pre_flight_object_check()
2350 if(temp_service == NULL) { in pre_flight_object_check()
[all …]
H A Dcommands.c1171 service *temp_service = NULL; in process_host_command() local
1311 service *temp_service = NULL; in process_hostgroup_command() local
1406 service *temp_service = NULL; in process_service_command() local
1508 service *temp_service = NULL; in process_servicegroup_command() local
1531 if(temp_service == NULL) in process_servicegroup_command()
1737 service *temp_service = NULL; in cmd_add_comment() local
1814 service *temp_service = NULL; in cmd_delete_all_comments() local
1851 service *temp_service = NULL; in cmd_delay_notification() local
2944 schedule_service_check(temp_service, temp_service->next_check, CHECK_OPTION_NONE); in cmd_change_object_int_var()
2962 …if(temp_service->state_type == HARD_STATE && temp_service->current_state != STATE_OK && temp_servi… in cmd_change_object_int_var()
[all …]
H A Dbroker.c179 service *temp_service = NULL; in broker_event_handler() local
208 temp_service = (service *)data; in broker_event_handler()
436 service *temp_service = NULL; in broker_flapping_data() local
452 temp_service = (service *)data; in broker_flapping_data()
590 service *temp_service = NULL; in broker_notification_data() local
607 temp_service = (service *)data; in broker_notification_data()
638 service *temp_service = NULL; in broker_contact_notification_data() local
656 temp_service = (service *)data; in broker_contact_notification_data()
686 service *temp_service = NULL; in broker_contact_notification_method_data() local
919 service *temp_service = NULL; in broker_acknowledgement_data() local
[all …]
H A Dlogging.c368 service *temp_service = NULL; in log_service_states() local
375 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in log_service_states()
378 if((temp_host = temp_service->host_ptr) == NULL) in log_service_states()
383 temp_service->host_name, temp_service->description, in log_service_states()
384 service_state_name(temp_service->current_state), in log_service_states()
385 state_type_name(temp_service->state_type), in log_service_states()
386 temp_service->current_attempt, in log_service_states()
387 temp_service->plugin_output); in log_service_states()
/dports/net-mgmt/nagios4/nagios-4.4.6/base/
H A Devents.c75 service *temp_service = NULL; in init_timing_loop() local
117 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in init_timing_loop()
141 exec_time = temp_service->execution_time ? temp_service->execution_time : 2.0; in init_timing_loop()
372 temp_service->next_check = in init_timing_loop()
391 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in init_timing_loop()
406temp_service->next_check_event = schedule_new_event(EVENT_SERVICE_CHECK, FALSE, temp_service->next… in init_timing_loop()
993 temp_service->host_name, temp_service->description); in should_run_event()
1006 temp_service->next_check = (time_t)(temp_service->next_check + nudge_seconds); in should_run_event()
1011 temp_service->next_check += check_window(temp_service); in should_run_event()
1681 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in compensate_for_system_time_change()
[all …]
H A Dcommands.c1356 service *temp_service = NULL; in process_host_command() local
1509 service *temp_service = NULL; in process_hostgroup_command() local
1632 service *temp_service = NULL; in process_service_command() local
1747 service *temp_service = NULL; in process_servicegroup_command() local
1774 if(temp_service == NULL) in process_servicegroup_command()
2004 service *temp_service = NULL; in cmd_add_comment() local
2081 service *temp_service = NULL; in cmd_delete_all_comments() local
2390 if(temp_service == NULL) { in process_passive_service_check()
3186 schedule_service_check(temp_service, temp_service->next_check, CHECK_OPTION_NONE); in cmd_change_object_int_var()
3204 …if(temp_service->state_type == HARD_STATE && temp_service->current_state != STATE_OK && temp_servi… in cmd_change_object_int_var()
[all …]
H A Dbroker.c151 service *temp_service = NULL; in broker_event_handler() local
180 temp_service = (service *)data; in broker_event_handler()
410 service *temp_service = NULL; in broker_flapping_data() local
426 temp_service = (service *)data; in broker_flapping_data()
562 service *temp_service = NULL; in broker_notification_data() local
579 temp_service = (service *)data; in broker_notification_data()
610 service *temp_service = NULL; in broker_contact_notification_data() local
628 temp_service = (service *)data; in broker_contact_notification_data()
658 service *temp_service = NULL; in broker_contact_notification_method_data() local
891 service *temp_service = NULL; in broker_acknowledgement_data() local
[all …]
H A Dchecks.c1953 service *temp_service; in check_service_dependencies() local
1998 service *temp_service = NULL; in check_for_orphaned_services() local
2009 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in check_for_orphaned_services()
2027 temp_service->next_check, ctime(&temp_service->next_check), in check_for_orphaned_services()
2028 temp_service->last_check, ctime(&temp_service->last_check)); in check_for_orphaned_services()
2036 temp_service->is_executing = FALSE; in check_for_orphaned_services()
2052 service *temp_service = NULL; in check_service_result_freshness() local
2069 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in check_service_result_freshness()
2082 if (temp_service->checks_enabled == FALSE && temp_service->accept_passive_checks == FALSE) { in check_service_result_freshness()
2098 if ((temp_service->check_interval == 0) && (temp_service->freshness_threshold == 0)) { in check_service_result_freshness()
[all …]
H A Dlogging.c342 service *temp_service = NULL; in log_service_states() local
349 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in log_service_states()
352 if((temp_host = temp_service->host_ptr) == NULL) in log_service_states()
357 temp_service->host_name, temp_service->description, in log_service_states()
358 service_state_name(temp_service->current_state), in log_service_states()
359 state_type_name(temp_service->state_type), in log_service_states()
360 temp_service->current_attempt, in log_service_states()
361 temp_service->plugin_output); in log_service_states()
/dports/net-mgmt/nagios/nagios-3.5.1/cgi/
H A Dstatuswml.c543 service *temp_service; in display_quick_stats() local
583 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in display_quick_stats()
588 temp_servicestatus = find_servicestatus(temp_service->host_name, temp_service->description); in display_quick_stats()
707 service *temp_service; in display_hostgroup_summary() local
775 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in display_hostgroup_summary()
1016 service *temp_service; in display_host_services() local
1028 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in display_host_services()
1071 service *temp_service; in display_service() local
1402 service *temp_service; in display_problems() local
1468 if(temp_service == NULL) in display_problems()
[all …]
H A Dconfig.c1198 service *temp_service = NULL; in display_services() local
1267 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) in display_services()
1271 grab_service_macros_r(mac, temp_service); in display_services()
1305 if(temp_service->check_period == NULL) in display_services()
1324 if(temp_service->freshness_threshold == 0) in display_services()
1394 if(temp_service->event_handler == NULL) in display_services()
1407 if(temp_service->stalk_on_ok == TRUE) { in display_services()
1411 if(temp_service->stalk_on_warning == TRUE) { in display_services()
1415 if(temp_service->stalk_on_unknown == TRUE) { in display_services()
1432 if(temp_service->low_flap_threshold == 0.0) in display_services()
[all …]
/dports/net-mgmt/nagios4/nagios-4.4.6/cgi/
H A Dstatuswml.c538 service *temp_service; in display_quick_stats() local
578 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in display_quick_stats()
583 temp_servicestatus = find_servicestatus(temp_service->host_name, temp_service->description); in display_quick_stats()
702 service *temp_service; in display_hostgroup_summary() local
770 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in display_hostgroup_summary()
1011 service *temp_service; in display_host_services() local
1023 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in display_host_services()
1066 service *temp_service; in display_service() local
1397 service *temp_service; in display_problems() local
1463 if(temp_service == NULL) in display_problems()
[all …]
H A Dconfig.c1153 service *temp_service = NULL; in display_services() local
1221 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) in display_services()
1222 …((*to_expand) == '\0') || (!strcmp(to_expand, temp_service->host_name)) || (!strcmp(to_expand, tem… in display_services()
1225 grab_service_macros_r(mac, temp_service); in display_services()
1260 if(temp_service->check_period == NULL) in display_services()
1279 if(temp_service->freshness_threshold == 0) in display_services()
1343 if(temp_service->notification_period == NULL) in display_services()
1349 if(temp_service->event_handler == NULL) in display_services()
1387 if(temp_service->low_flap_threshold == 0.0) in display_services()
1394 if(temp_service->high_flap_threshold == 0.0) in display_services()
[all …]
H A Dobjectjson.c3214 temp_service))) { in json_object_service_passes_service_selection()
3417 service *temp_service; in json_object_servicecount() local
3429 for(temp_service = service_list; temp_service != NULL; in json_object_servicecount()
3430 temp_service = temp_service->next) { in json_object_servicecount()
3475 service *temp_service; in json_object_servicelist() local
3507 for(temp_service = service_list; temp_service != NULL; in json_object_servicelist()
3508 temp_service = temp_service->next) { in json_object_servicelist()
3818 temp_service->obsess); in json_object_service_details()
3870 temp_service->notes); in json_object_service_details()
5027 temp_service))) { in json_object_servicedependency_passes_selection()
[all …]
/dports/net-mgmt/nagios4/nagios-4.4.6/common/
H A Dmacros.c662 service *temp_service = NULL;
1205 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) {
1214 if(temp_service->current_state == STATE_OK && temp_service->has_been_checked == TRUE)
1312 service *temp_service = NULL;
1608 service *temp_service = NULL;
2043 if(temp_service->perf_data)
2163 if(temp_service->notes_url)
2167 if(temp_service->notes)
3202 service *temp_service = NULL;
3405 service *temp_service = NULL;
[all …]
/dports/net-mgmt/nagios/nagios-3.5.1/common/
H A Dmacros.c634 service *temp_service = NULL;
1164 for(temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) {
1173 if(temp_service->current_state == STATE_OK && temp_service->has_been_checked == TRUE)
1271 service *temp_service = NULL;
1580 service *temp_service = NULL;
1989 if(temp_service->display_name)
2002 if(temp_service->perf_data)
2126 if(temp_service->action_url)
2130 if(temp_service->notes_url)
2134 if(temp_service->notes)
[all …]
/dports/net-mgmt/ndoutils/ndoutils-2.1.3/src/
H A Dndomod.c1625 service *temp_service=NULL; in ndomod_broker_data() local
2836 temp_service->obsess in ndomod_broker_data()
3585 service *temp_service; in ndomod_write_active_objects() local
3764 for (temp_service = service_list; temp_service != NULL; temp_service = temp_service->next) { in ndomod_write_active_objects()
3849 service *temp_service=NULL; local
4562 for(temp_service=service_list;temp_service!=NULL;temp_service=temp_service->next){
4603 …if((temp_serviceextinfo=find_serviceextinfo(temp_service->host_name,temp_service->description))!=N…
4666 temp_service->notify_on_unknown
4675 temp_service->notify_on_warning
4713 temp_service->stalk_on_ok
[all …]

123