diff options
Diffstat (limited to 'plugins/check_cluster.c')
-rw-r--r-- | plugins/check_cluster.c | 5 |
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 | ||
41 | void print_help (void); | ||
42 | void print_usage (void); | ||
43 | |||
41 | int total_services_ok=0; | 44 | int total_services_ok=0; |
42 | int total_services_warning=0; | 45 | int total_services_warning=0; |
43 | int total_services_unknown=0; | 46 | int total_services_unknown=0; |
@@ -62,11 +65,9 @@ int process_arguments(int,char **); | |||
62 | 65 | ||
63 | 66 | ||
64 | int main(int argc, char **argv){ | 67 | int 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) |