[Nagiosplug-devel] check_http longoptions

Dan Hopkins dan.hopkins at uk.easynet.net
Thu Mar 10 06:38:34 CET 2005


I've been meaning to mention this since the 1.3 release, but as afaics it's
still not corrected in the latest 1.4 snapshot, here's a patch diff for the
missing longoption support in check_http 


diff -u check_http.still.broken.c check_http.c 
--- check_http.still.broken.c   Thu Mar 10 10:59:56 2005
+++ check_http.c        Thu Mar 10 10:57:08 2005
@@ -226,6 +226,9 @@
                {"pagesize", required_argument, 0, 'm'},
                {"use-ipv4", no_argument, 0, '4'},
                {"use-ipv6", no_argument, 0, '6'},
+               {"port", required_argument, 0, 'p'},
+               {"authorization", required_argument, 0, 'a'},
+               {"expect", required_argument, 0, 'e'},
                {0, 0, 0, 0}
        };




-- 
Dan Hopkins
Systems Developer, easynet Ltd.
e: dan.hopkins at uk.easynet.net
t: +44(0) 1749 333305






More information about the Devel mailing list