summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-04-19fixed some libcurl checks and minimal versionsAndreas Baumann1-12/+8
2017-04-19some work on certificate checking for non-OpenSSL librariesAndreas Baumann1-11/+77
2017-04-18small fix and we see CURLOPT_SSL_CTX_FUNCTION does not work on Centos 6?Andreas Baumann2-4/+4
2017-04-18some cleanup and added error handling around curl_easy_getinfo/curl_easy_setoptAndreas Baumann1-59/+64
2017-04-16fixed test outputs for status line checksAndreas Baumann2-38/+103
handling empty data in POST and PUT handling data upload (from -P <postdata>) also in PUT
2017-04-15added -n and more display_html stuffAndreas Baumann1-3/+9
2017-04-15added -L optionAndreas Baumann1-2/+14
2017-04-15fixed non-C99-ism in get_header_valueAndreas Baumann1-1/+2
2017-04-14added -M<m> age option for document age, using picohttpparser from h2o ↵Andreas Baumann5-7/+912
(maybe handy later to make a more robust header condition checker?)
2017-04-14made check_curl tests copies of check_http tests because they will differ ↵Andreas Baumann2-2/+622
slightly
2017-03-19added POST support (-P/-T options)Andreas Baumann1-5/+33
2017-03-19fixed handling of SSL/TLS protocol versionsAndreas Baumann1-12/+70
2017-03-19added -l option, fixed some usage/helpAndreas Baumann1-4/+11
2017-03-19added -d/--header-string optionAndreas Baumann1-2/+23
2017-03-18check_curl: implement -e/--expectSven Nierlein1-22/+75
2017-03-18check_curl: support check_http arguments for backwards compatibilitySven Nierlein1-0/+14
2017-03-18check_curl: adopt output format from check_httpSven Nierlein1-8/+15
2017-03-18check_curl: make check_curl use the same tests as check_httpSven Nierlein4-236/+43
2017-03-17added -4/-6 optionAndreas Baumann1-2/+25
2017-03-17added -m/--pagesize optionAndreas Baumann1-1/+43
2017-03-17added help for --invert-regexAndreas Baumann1-0/+2
2017-03-17added -R/-ereg/-eregiAndreas Baumann1-2/+8
2017-03-17added -N/--no-body optionAndreas Baumann1-5/+16
2017-03-17added usage and help for -E/--extended-perfdataAndreas Baumann1-1/+3
2017-03-17reverted double header in longoptsAndreas Baumann1-1/+0
2017-03-17added help/usage and getopt long struct member for -k/--header optionAndreas Baumann1-1/+4
2017-03-17fixed a missing else before curl_easy_setopt CURLOPT_CUSTOMREQUESTAndreas Baumann1-1/+2
2017-03-14add check_curl testSven Nierlein1-0/+200
just a copy of check_http for now... Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-03-14check_curl: set correct host headerSven Nierlein1-11/+31
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-03-14check_curl: implement extended performance dataSven Nierlein1-8/+40
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-03-14check_curl: implement certificate checksSven Nierlein3-24/+79
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-03-14check_curl: implement optional http headersSven Nierlein1-10/+19
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-03-14added HTTP method handlingAndreas Baumann1-16/+54
2017-03-14forgot declaration of INVERT_REGEX in getopt otionsAndreas Baumann1-0/+1
2017-03-14added some casts for curl write functionsAndreas Baumann1-2/+2
2017-03-14added -r and --invert-regexAndreas Baumann1-10/+109
2017-03-14added -ca-file optionAndreas Baumann1-2/+15
2017-03-14handling last HTTP header correctly in HTTP line parser (added a strrstr ↵Andreas Baumann1-4/+45
replacement)
2017-03-14some comment cleanupAndreas Baumann1-19/+13
2017-03-14adapted to style, using header file shims instead of HAVE_XXX by handAndreas Baumann1-588/+574
2017-03-14fixed curl error messageAndreas Baumann1-2/+2
2017-03-14added -s optionAndreas Baumann1-18/+29
2017-03-14added most options from nagios-curl-pluginAndreas Baumann1-18/+640
2017-03-14added autoconf stuff for curl plugin, created empty pluginAndreas Baumann5-1/+460
2017-03-13Merge pull request #1471 from sni/masterSven Nierlein1-0/+1
script tests: fix relative lib path in utils test
2017-03-13script tests: fix relative lib path in utils testrefs/pull/1471/headSven Nierlein1-0/+1
utils.pm uses relative include ".." but the path is relativ to the current folder, so it does not work when running "perl t/utils.t". Just add another lib of "." fixes that. We could use FindBin but we don't want to make it unnecessarily complicated. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-03-13Merge pull request #1469 from sni/masterSven Nierlein8-49/+73
make tests more reliable
2017-03-12udp test: prefer nc over netcat syntaxrefs/pull/1469/headSven Nierlein1-3/+3
sles 12 systems have netcat symlinked to nc and so expect nc syntax for netcat. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-03-12check_disk test: increase assumed thresholdsSven Nierlein1-4/+4
The check_disk fails if the build system has more than 100GB of free disk space. Lets make this 100TB and we are safe for a couple more years. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-03-12remove hardcoded verisign.com testsSven Nierlein4-36/+54
and make it configurable Signed-off-by: Sven Nierlein <sven@nierlein.de>