Home
last modified time | relevance | path

Searched refs:temp_hd (Results 1 – 5 of 5) sorted by relevance

/dports/net-mgmt/nagios/nagios-3.5.1/base/
H A Dconfig.c1740 hostdependency *temp_hd = NULL; in pre_flight_object_check() local
2526 …for(temp_hd = hostdependency_list, total_objects = 0; temp_hd != NULL; temp_hd = temp_hd->next, to… in pre_flight_object_check()
2536 temp_hd->dependent_host_ptr = temp_host; in pre_flight_object_check()
2539 temp_host2 = find_host(temp_hd->host_name); in pre_flight_object_check()
2546 temp_hd->master_host_ptr = temp_host2; in pre_flight_object_check()
2555 if(temp_hd->dependency_period != NULL) { in pre_flight_object_check()
2707 hostdependency *temp_hd = NULL; in pre_flight_circular_check() local
2784 for(temp_hd = hostdependency_list; temp_hd != NULL; temp_hd = temp_hd->next) { in pre_flight_circular_check()
2790 found = check_for_circular_hostdependency_path(temp_hd, temp_hd, EXECUTION_DEPENDENCY); in pre_flight_circular_check()
2798 for(temp_hd = hostdependency_list; temp_hd != NULL; temp_hd = temp_hd->next) { in pre_flight_circular_check()
[all …]
/dports/net-mgmt/nagios/nagios-3.5.1/cgi/
H A Dconfig.c1999 hostdependency *temp_hd; in display_hostdependencies() local
2026 for(temp_hd = hostdependency_list; temp_hd != NULL; temp_hd = temp_hd->next) in display_hostdependencies()
2027 …((*to_expand) == '\0') || (!strcmp(to_expand, temp_hd->dependent_host_name)) || (!strcmp(to_expand… in display_hostdependencies()
2040 …%s'>%s</A></TD>", bg_class, CONFIG_CGI, url_encode(temp_hd->dependent_host_name), html_encode(temp… in display_hostdependencies()
2042 …pand=%s'>%s</A></TD>", bg_class, CONFIG_CGI, url_encode(temp_hd->host_name), html_encode(temp_hd->… in display_hostdependencies()
2047 if(temp_hd->dependency_period == NULL) in display_hostdependencies()
2050 …eperiods&expand=%s'>%s</A>", CONFIG_CGI, url_encode(temp_hd->dependency_period), html_encode(temp_… in display_hostdependencies()
2055 if(temp_hd->fail_on_up == TRUE) { in display_hostdependencies()
2059 if(temp_hd->fail_on_down == TRUE) { in display_hostdependencies()
2063 if(temp_hd->fail_on_unreachable == TRUE) { in display_hostdependencies()
[all …]
/dports/net-mgmt/nagios4/nagios-4.4.6/cgi/
H A Dconfig.c1950 static void display_hostdependency(hostdependency *temp_hd) in display_hostdependency() argument
1956 …if(*to_expand != '\0' && (strcmp(to_expand, temp_hd->dependent_host_name) && !strcmp(to_expand, te… in display_hostdependency()
1967 …%s'>%s</A></TD>", bg_class, CONFIG_CGI, url_encode(temp_hd->dependent_host_name), html_encode(temp… in display_hostdependency()
1969 …pand=%s'>%s</A></TD>", bg_class, CONFIG_CGI, url_encode(temp_hd->host_name), html_encode(temp_hd->… in display_hostdependency()
1971 …printf("<TD CLASS='%s'>%s</TD>", bg_class, (temp_hd->dependency_type == NOTIFICATION_DEPENDENCY) ?… in display_hostdependency()
1974 if(temp_hd->dependency_period == NULL) in display_hostdependency()
1977 …eperiods&expand=%s'>%s</A>", CONFIG_CGI, url_encode(temp_hd->dependency_period), html_encode(temp_… in display_hostdependency()
1982 if(flag_isset(temp_hd->failure_options, OPT_UP) == TRUE) { in display_hostdependency()
1986 if(flag_isset(temp_hd->failure_options, OPT_DOWN) == TRUE) { in display_hostdependency()
1990 if(flag_isset(temp_hd->failure_options, OPT_UNREACHABLE) == TRUE) { in display_hostdependency()
[all …]
/dports/net-mgmt/nagios4/nagios-4.4.6/base/
H A Dconfig.c2217 hostdependency *temp_hd = NULL; in pre_flight_circular_check() local
2280 temp_hd = hostdependency_ary[i]; in pre_flight_circular_check()
2281 dep_type = temp_hd->dependency_type; in pre_flight_circular_check()
2285 dfs_hostdep_path(ary[dep_type - 1], temp_hd->dependent_host_ptr, dep_type, &errors); in pre_flight_circular_check()
/dports/net-mgmt/nagios/nagios-3.5.1/common/
H A Dobjects.c3053 hostdependency *temp_hd = NULL; in check_for_circular_hostdependency_path() local
3088 for(temp_hd = hostdependency_list; temp_hd != NULL; temp_hd = temp_hd->next) { in check_for_circular_hostdependency_path()
3091 if(dep->master_host_ptr != temp_hd->dependent_host_ptr) in check_for_circular_hostdependency_path()
3094 if(check_for_circular_hostdependency_path(root_dep, temp_hd, dependency_type) == TRUE) in check_for_circular_hostdependency_path()