mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-18 18:17:50 -05:00
27 lines
452 B
C
27 lines
452 B
C
#pragma once
|
|
|
|
#include "../../config.h"
|
|
#include "../../lib/thresholds.h"
|
|
#include <stddef.h>
|
|
|
|
enum {
|
|
CHECK_SERVICES = 1,
|
|
CHECK_HOSTS = 2
|
|
};
|
|
|
|
typedef struct {
|
|
char *data_vals;
|
|
thresholds *thresholds;
|
|
int check_type;
|
|
char *label;
|
|
} 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,
|
|
};
|
|
return tmp;
|
|
}
|