Lines Matching refs:threshold

55   threshold_t threshold;  in handle_getthreshold()  local
116 status = ut_search_threshold(&vl, &threshold); in handle_getthreshold()
128 if (threshold.host[0] != 0) in handle_getthreshold()
130 if (threshold.plugin[0] != 0) in handle_getthreshold()
132 if (threshold.plugin_instance[0] != 0) in handle_getthreshold()
134 if (threshold.type[0] != 0) in handle_getthreshold()
136 if (threshold.type_instance[0] != 0) in handle_getthreshold()
138 if (threshold.data_source[0] != 0) in handle_getthreshold()
140 if (!isnan(threshold.warning_min)) in handle_getthreshold()
142 if (!isnan(threshold.warning_max)) in handle_getthreshold()
144 if (!isnan(threshold.failure_min)) in handle_getthreshold()
146 if (!isnan(threshold.failure_max)) in handle_getthreshold()
148 if (threshold.hysteresis > 0.0) in handle_getthreshold()
150 if (threshold.hits > 1) in handle_getthreshold()
156 if (threshold.host[0] != 0) in handle_getthreshold()
157 print_to_socket(fh, "Host: %s\n", threshold.host); in handle_getthreshold()
158 if (threshold.plugin[0] != 0) in handle_getthreshold()
159 print_to_socket(fh, "Plugin: %s\n", threshold.plugin); in handle_getthreshold()
160 if (threshold.plugin_instance[0] != 0) in handle_getthreshold()
161 print_to_socket(fh, "Plugin Instance: %s\n", threshold.plugin_instance); in handle_getthreshold()
162 if (threshold.type[0] != 0) in handle_getthreshold()
163 print_to_socket(fh, "Type: %s\n", threshold.type); in handle_getthreshold()
164 if (threshold.type_instance[0] != 0) in handle_getthreshold()
165 print_to_socket(fh, "Type Instance: %s\n", threshold.type_instance); in handle_getthreshold()
166 if (threshold.data_source[0] != 0) in handle_getthreshold()
167 print_to_socket(fh, "Data Source: %s\n", threshold.data_source); in handle_getthreshold()
168 if (!isnan(threshold.warning_min)) in handle_getthreshold()
169 print_to_socket(fh, "Warning Min: %g\n", threshold.warning_min); in handle_getthreshold()
170 if (!isnan(threshold.warning_max)) in handle_getthreshold()
171 print_to_socket(fh, "Warning Max: %g\n", threshold.warning_max); in handle_getthreshold()
172 if (!isnan(threshold.failure_min)) in handle_getthreshold()
173 print_to_socket(fh, "Failure Min: %g\n", threshold.failure_min); in handle_getthreshold()
174 if (!isnan(threshold.failure_max)) in handle_getthreshold()
175 print_to_socket(fh, "Failure Max: %g\n", threshold.failure_max); in handle_getthreshold()
176 if (threshold.hysteresis > 0.0) in handle_getthreshold()
177 print_to_socket(fh, "Hysteresis: %g\n", threshold.hysteresis); in handle_getthreshold()
178 if (threshold.hits > 1) in handle_getthreshold()
179 print_to_socket(fh, "Hits: %i\n", threshold.hits); in handle_getthreshold()