summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-22added -l option, fixed some usage/helpAndreas Baumann1-4/+11
2018-10-22added -d/--header-string optionAndreas Baumann1-2/+23
2018-10-22check_curl: implement -e/--expectSven Nierlein1-22/+75
2018-10-22check_curl: support check_http arguments for backwards compatibilitySven Nierlein1-0/+14
2018-10-22check_curl: adopt output format from check_httpSven Nierlein1-8/+15
2018-10-22check_curl: make check_curl use the same tests as check_httpSven Nierlein4-236/+43
2018-10-22added -4/-6 optionAndreas Baumann1-2/+25
2018-10-22added -m/--pagesize optionAndreas Baumann1-1/+43
2018-10-22added help for --invert-regexAndreas Baumann1-0/+2
2018-10-22added -R/-ereg/-eregiAndreas Baumann1-2/+8
2018-10-22added -N/--no-body optionAndreas Baumann1-5/+16
2018-10-22added usage and help for -E/--extended-perfdataAndreas Baumann1-1/+3
2018-10-22reverted double header in longoptsAndreas Baumann1-1/+0
2018-10-22added help/usage and getopt long struct member for -k/--header optionAndreas Baumann1-1/+4
2018-10-22fixed a missing else before curl_easy_setopt CURLOPT_CUSTOMREQUESTAndreas Baumann1-1/+2
2018-10-22add check_curl testSven Nierlein1-0/+200
just a copy of check_http for now... Signed-off-by: Sven Nierlein <sven@nierlein.de>
2018-10-22check_curl: set correct host headerSven Nierlein1-11/+31
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2018-10-22check_curl: implement extended performance dataSven Nierlein1-8/+40
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2018-10-22check_curl: implement certificate checksSven Nierlein3-24/+79
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2018-10-22check_curl: implement optional http headersSven Nierlein1-10/+19
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2018-10-22added HTTP method handlingAndreas Baumann1-16/+54
2018-10-22forgot declaration of INVERT_REGEX in getopt otionsAndreas Baumann1-0/+1
2018-10-22added some casts for curl write functionsAndreas Baumann1-2/+2
2018-10-22added -r and --invert-regexAndreas Baumann1-10/+109
2018-10-22added -ca-file optionAndreas Baumann1-2/+15
2018-10-22handling last HTTP header correctly in HTTP line parser (added a strrstr ↵Andreas Baumann1-4/+45
replacement)
2018-10-22some comment cleanupAndreas Baumann1-19/+13
2018-10-22adapted to style, using header file shims instead of HAVE_XXX by handAndreas Baumann1-588/+574
2018-10-22fixed curl error messageAndreas Baumann1-2/+2
2018-10-22added -s optionAndreas Baumann1-18/+29
2018-10-22added most options from nagios-curl-pluginAndreas Baumann1-18/+640
2018-10-22added autoconf stuff for curl plugin, created empty pluginAndreas Baumann5-1/+460
2018-10-22Merge pull request #1552 from madpilot78/Avoid_passing_NULL_to_vprintfSven Nierlein1-4/+7
Avoid passing NULL to vprintf().
2018-10-22Merge pull request #1522 from Sp1l/fix-MariaDB10.2Sven Nierlein1-0/+5
Fix build issue with MariaDB 10.2
2018-10-13Merge pull request #1556 from TeamOfMonkeysNet/masterSven Nierlein1-0/+1
Added a compiled plugin script that was missing from gitignore
2018-10-13Added a compiled plugin script that was missing from gitignorerefs/pull/1556/headLucas Bussey1-0/+1
2018-09-29Avoid passing NULL to vprintf().refs/pull/1552/headGuido Falsi1-4/+7
2018-07-26Merge pull request #1538 from wopfel/uptime-pluginSven Nierlein3-0/+446
Uptime plugin
2018-06-17Fixed error message, added commentrefs/pull/1538/headBernd Arnold1-1/+2
2018-06-17Drop uptime binary callBernd Arnold1-1/+1
No need to call /bin/uptime, since the string can be generated with strftime(...).
2018-06-17Added help text for range supportBernd Arnold1-0/+6
2018-06-17Remove useless (empty) printBernd Arnold1-1/+0
2018-06-13fix typo in check_uptimeSven Nierlein1-1/+1
2018-06-13add check_uptime to makefileSven Nierlein1-0/+2
2018-06-13RefactoringBernd Arnold1-7/+7
Better alignment. Avoid duplications ("Exceeds ... threshold").
2018-06-13Added tests for range valuesBernd Arnold1-1/+57
2018-06-13Introducing ranges for warning and criticalBernd Arnold2-42/+95
Works as before: -w 1w -c 2w New (as before, but also warn if uptime < 5m, and crit if uptime < 2m): -w 5m:1w -c 2m:2w (idea by @sni) Also refactored the time calculation, if a suffix is present: New sub calc_as_seconds($)
2018-06-13Modified alignmentBernd Arnold1-2/+2
2018-06-13Fix: Use macro for perl binaryBernd Arnold1-1/+1
I've messed that up in the previous commit 554b702f9d65fdfe640f20633543e00cd79d64ac.
2018-06-09Fix: Initialize valuesBernd Arnold1-0/+1
Otherwise, there's a warning about unitialized values: Use of uninitialized value $hours in numeric gt (>) at ... Use of uninitialized value $days in numeric gt (>) at ...