summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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 ...
2018-06-03Fix: uptime_file variable was declared too lateBernd Arnold1-3/+3
When called with --help, the following error was shown: Use of uninitialized value $uptime_file in concatenation (.) or string at
2018-06-03Added test fileBernd Arnold1-0/+73
2018-06-03Added suffix "s" for seconds in perfdata outputBernd Arnold1-1/+1
2018-06-03Rename to .plBernd Arnold1-0/+0
All other check script also have the .pl ending
2018-05-30Replaced my values with macrosBernd Arnold1-5/+4
2018-05-30My version of check_uptimeBernd Arnold1-0/+256
Derived from check_mailq
2017-11-06Fix build issue with MariaDB 10.2refs/pull/1522/headBernard Spil1-0/+5
As of 10.2 MariaDB no longer defines MYSQL_PORT.
2017-09-04Merge pull request #1505 from m-kraus/patch-1Sven Nierlein1-3/+1
Output plugin's stderr to stderr
2017-09-04Output plugin's stderr to stderrrefs/pull/1505/headMichael Kraus1-3/+1
Output plugin's stderr to stderr and do not exit with WARNING in that case
2017-05-04Merge pull request #1474 from odenbach/vportSven Nierlein1-2/+39
Added tests for virtual port behaviour. Separated from all other test…
2017-04-21Merge pull request #1485 from kbabioch/fix/spellingSven Nierlein1-1/+1
plugins: check_dig: Fix spelling