blob: 054657b00086173c873a1e091d77a4aca2ca686c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#pragma once
#include "../../config.h"
#include "../../lib/thresholds.h"
#include "output.h"
#include <stddef.h>
enum {
CHECK_SERVICES = 1,
CHECK_HOSTS = 2
};
typedef struct {
char *data_vals;
thresholds *thresholds;
int check_type;
char *label;
mp_output_format output_format;
bool output_format_is_set;
} check_cluster_config;
check_cluster_config check_cluster_config_init() {
check_cluster_config tmp = {
.data_vals = NULL,
.thresholds = NULL,
.check_type = CHECK_SERVICES,
.label = NULL,
.output_format_is_set = false,
};
return tmp;
}
|