summaryrefslogtreecommitdiffstats
path: root/plugins/check_cluster.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_cluster.c')
-rw-r--r--plugins/check_cluster.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c
index 9ded4a80..d76bce4e 100644
--- a/plugins/check_cluster.c
+++ b/plugins/check_cluster.c
@@ -38,6 +38,9 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
38#define CHECK_SERVICES 1 38#define CHECK_SERVICES 1
39#define CHECK_HOSTS 2 39#define CHECK_HOSTS 2
40 40
41void print_help (void);
42void print_usage (void);
43
41int total_services_ok=0; 44int total_services_ok=0;
42int total_services_warning=0; 45int total_services_warning=0;
43int total_services_unknown=0; 46int total_services_unknown=0;
@@ -62,11 +65,9 @@ int process_arguments(int,char **);
62 65
63 66
64int main(int argc, char **argv){ 67int main(int argc, char **argv){
65 char input_buffer[MAX_INPUT_BUFFER];
66 char *ptr; 68 char *ptr;
67 int data_val; 69 int data_val;
68 int return_code=STATE_OK; 70 int return_code=STATE_OK;
69 int error=FALSE;
70 thresholds *thresholds; 71 thresholds *thresholds;
71 72
72 if(process_arguments(argc,argv)==ERROR) 73 if(process_arguments(argc,argv)==ERROR)