summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index 713b108..6e4ddcb 100644
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
@@ -41,8 +41,6 @@ const char *email = "devel@monitoring-plugins.org";
41#define DEFAULT_COMMUNITY "public" 41#define DEFAULT_COMMUNITY "public"
42#define DEFAULT_PORT "161" 42#define DEFAULT_PORT "161"
43 43
44const char *option_summary = "-H host [-C community]\n";
45
46#define HPJD_LINE_STATUS ".1.3.6.1.4.1.11.2.3.9.1.1.2.1" 44#define HPJD_LINE_STATUS ".1.3.6.1.4.1.11.2.3.9.1.1.2.1"
47#define HPJD_PAPER_STATUS ".1.3.6.1.4.1.11.2.3.9.1.1.2.2" 45#define HPJD_PAPER_STATUS ".1.3.6.1.4.1.11.2.3.9.1.1.2.2"
48#define HPJD_INTERVENTION_REQUIRED ".1.3.6.1.4.1.11.2.3.9.1.1.2.3" 46#define HPJD_INTERVENTION_REQUIRED ".1.3.6.1.4.1.11.2.3.9.1.1.2.3"
@@ -59,15 +57,15 @@ const char *option_summary = "-H host [-C community]\n";
59#define ONLINE 0 57#define ONLINE 0
60#define OFFLINE 1 58#define OFFLINE 1
61 59
62int process_arguments(int, char **); 60static int process_arguments(int, char **);
63int validate_arguments(void); 61static int validate_arguments(void);
64void print_help(void); 62static void print_help(void);
65void print_usage(void); 63void print_usage(void);
66 64
67char *community = NULL; 65static char *community = NULL;
68char *address = NULL; 66static char *address = NULL;
69unsigned int port = 0; 67static unsigned int port = 0;
70int check_paper_out = 1; 68static int check_paper_out = 1;
71 69
72int main(int argc, char **argv) { 70int main(int argc, char **argv) {
73 char command_line[1024]; 71 char command_line[1024];