diff options
Diffstat (limited to 'plugins/check_overcr.c')
-rw-r--r-- | plugins/check_overcr.c | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/plugins/check_overcr.c b/plugins/check_overcr.c index e80d477..599540b 100644 --- a/plugins/check_overcr.c +++ b/plugins/check_overcr.c | |||
@@ -52,23 +52,22 @@ enum { | |||
52 | PORT = 2000 | 52 | PORT = 2000 |
53 | }; | 53 | }; |
54 | 54 | ||
55 | char *server_address = NULL; | 55 | static char *server_address = NULL; |
56 | int server_port = PORT; | 56 | static int server_port = PORT; |
57 | double warning_value = 0L; | 57 | static double warning_value = 0L; |
58 | double critical_value = 0L; | 58 | static double critical_value = 0L; |
59 | bool check_warning_value = false; | 59 | static bool check_warning_value = false; |
60 | bool check_critical_value = false; | 60 | static bool check_critical_value = false; |
61 | enum checkvar vars_to_check = NONE; | 61 | static enum checkvar vars_to_check = NONE; |
62 | int cmd_timeout = 1; | 62 | |
63 | 63 | static int netstat_port = 0; | |
64 | int netstat_port = 0; | 64 | static char *disk_name = NULL; |
65 | char *disk_name = NULL; | 65 | static char *process_name = NULL; |
66 | char *process_name = NULL; | 66 | static char send_buffer[MAX_INPUT_BUFFER]; |
67 | char send_buffer[MAX_INPUT_BUFFER]; | 67 | |
68 | 68 | static int process_arguments(int, char **); | |
69 | int process_arguments(int, char **); | ||
70 | void print_usage(void); | 69 | void print_usage(void); |
71 | void print_help(void); | 70 | static void print_help(void); |
72 | 71 | ||
73 | int main(int argc, char **argv) { | 72 | int main(int argc, char **argv) { |
74 | int result = STATE_UNKNOWN; | 73 | int result = STATE_UNKNOWN; |