summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 02:54:48 +0100
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 02:54:48 +0100
commitebb453f55ef6e64033ac50341963eb49cf457796 (patch)
tree90cf0cf6eea21449d832a9ea19396d4e131a196a /plugins
parenta30f0c6c08f90de8abe6ca277e98102aa4d6950c (diff)
downloadmonitoring-plugins-ebb453f55ef6e64033ac50341963eb49cf457796.tar.gz
check_cluster: do not export local symbols
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_cluster.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c
index 6ca43c63..0afb3f42 100644
--- a/plugins/check_cluster.c
+++ b/plugins/check_cluster.c
@@ -33,29 +33,29 @@ const char *email = "devel@monitoring-plugins.org";
33#define CHECK_SERVICES 1 33#define CHECK_SERVICES 1
34#define CHECK_HOSTS 2 34#define CHECK_HOSTS 2
35 35
36void print_help(void); 36static void print_help(void);
37void print_usage(void); 37void print_usage(void);
38 38
39int total_services_ok = 0; 39static int total_services_ok = 0;
40int total_services_warning = 0; 40static int total_services_warning = 0;
41int total_services_unknown = 0; 41static int total_services_unknown = 0;
42int total_services_critical = 0; 42static int total_services_critical = 0;
43 43
44int total_hosts_up = 0; 44static int total_hosts_up = 0;
45int total_hosts_down = 0; 45static int total_hosts_down = 0;
46int total_hosts_unreachable = 0; 46static int total_hosts_unreachable = 0;
47 47
48char *warn_threshold; 48static char *warn_threshold;
49char *crit_threshold; 49static char *crit_threshold;
50 50
51int check_type = CHECK_SERVICES; 51static int check_type = CHECK_SERVICES;
52 52
53char *data_vals = NULL; 53static char *data_vals = NULL;
54char *label = NULL; 54static char *label = NULL;
55 55
56int verbose = 0; 56static int verbose = 0;
57 57
58int process_arguments(int, char **); 58static int process_arguments(int, char **);
59 59
60int main(int argc, char **argv) { 60int main(int argc, char **argv) {
61 char *ptr; 61 char *ptr;