summaryrefslogtreecommitdiffstats
path: root/plugins/check_nt.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_nt.c')
-rw-r--r--plugins/check_nt.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index 7d20b00..a0e5c11 100644
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
@@ -476,6 +476,9 @@ int process_arguments(int argc, char **argv){
476 {"warning", required_argument,0,'w'}, 476 {"warning", required_argument,0,'w'},
477 {"variable", required_argument,0,'v'}, 477 {"variable", required_argument,0,'v'},
478 {"hostname", required_argument,0,'H'}, 478 {"hostname", required_argument,0,'H'},
479 {"params", required_argument,0,'l'},
480 {"secret", required_argument,0,'s'},
481 {"display", required_argument,0,'d'},
479 {"version", no_argument, 0,'V'}, 482 {"version", no_argument, 0,'V'},
480 {"help", no_argument, 0,'h'}, 483 {"help", no_argument, 0,'h'},
481 {0,0,0,0} 484 {0,0,0,0}
@@ -655,7 +658,7 @@ void print_help(void)
655 printf (" %s\n", "-p, --port=INTEGER"); 658 printf (" %s\n", "-p, --port=INTEGER");
656 printf (" %s", _("Optional port number (default: ")); 659 printf (" %s", _("Optional port number (default: "));
657 printf ("%d)\n", PORT); 660 printf ("%d)\n", PORT);
658 printf (" %s\n", "-s <password>"); 661 printf (" %s\n", "-s, --secret=<password>");
659 printf (" %s\n", _("Password needed for the request")); 662 printf (" %s\n", _("Password needed for the request"));
660 printf (" %s\n", "-w, --warning=INTEGER"); 663 printf (" %s\n", "-w, --warning=INTEGER");
661 printf (" %s\n", _("Threshold which will result in a warning status")); 664 printf (" %s\n", _("Threshold which will result in a warning status"));
@@ -663,6 +666,10 @@ void print_help(void)
663 printf (" %s\n", _("Threshold which will result in a critical status")); 666 printf (" %s\n", _("Threshold which will result in a critical status"));
664 printf (" %s\n", "-t, --timeout=INTEGER"); 667 printf (" %s\n", "-t, --timeout=INTEGER");
665 printf (" %s", _("Seconds before connection attempt times out (default: ")); 668 printf (" %s", _("Seconds before connection attempt times out (default: "));
669 printf (" %s\n", "-l, --params=<parameters>");
670 printf (" %s", _("Parameters passed to specified check (see below)"));
671 printf (" %s\n", "-d, --display={SHOWALL}");
672 printf (" %s", _("Display options (currently only SHOWALL works)"));
666 printf ("%d)\n", DEFAULT_SOCKET_TIMEOUT); 673 printf ("%d)\n", DEFAULT_SOCKET_TIMEOUT);
667 printf (" %s\n", "-h, --help"); 674 printf (" %s\n", "-h, --help");
668 printf (" %s\n", _("Print this help screen")); 675 printf (" %s\n", _("Print this help screen"));