summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
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 Baumann2-1/+172
2018-10-09Docs check_http: make -C obviousrefs/pull/1554/headStefan Bethke1-1/+7
You need to read the docs carefully to realize that check_http has two modes of operation: the regular HTTP checks, and a TLS certificate check. Only one of these can be run in a single invocation. Fixes #1553
2018-07-25check_dns: allow forcing complete match of all addressesrefs/pull/1545/headRolf Eike Beer1-3/+17
2018-07-25check_dns: allow returned addresses to be in any orderRolf Eike Beer1-5/+9
2018-07-25check_dns: simplify loopRolf Eike Beer1-2/+2
2018-01-19Update check_snmp.crefs/pull/1527/headSven Nierlein1-1/+1
remove unnecessary brackets in help text
2018-01-19check_snmp: make calcualtion of timeout value in help output more clearMichael Kraus1-1/+2
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-10-17Adding Proxy-Authorization and extra headers in the case of connection ↵refs/pull/1514/headRasp8e1-0/+15
through PROXY to HTTPS
2017-09-07Only turn on ordering procs by CPU usage if PS_USES_PROCPCPUrefs/pull/1507/headMarc Sánchez1-0/+4
Disable sorting of procs by CPU usage on check_load if procpcpu is not present on PS_VARLIST
2017-09-07Using PS_COMMAND constant and ordering output by procpcpuMarc Sánchez1-3/+26
2017-09-07Making show top consuming processes option less complicatedMarc Sánchez1-22/+6
2017-09-07Adding print top consuming processes option to check_loadMarc Sánchez1-2/+48
-W, --print-top-warning Print top consuming processes on WARNING status -C, --print-top-critical Print top consuming processes on CRITICAL status -n, --procs-to-show=NUMBER_OF_PROCS Number of processes to show when printing top consuming processes. Not useful without -W or -C. Default value is 5
2017-09-06Adding packages-warning optionrefs/pull/1506/headMarc Sánchez1-4/+13
This option specifies the minumum number of packages available for upgrade to return WARNING status. Default is 1 package.
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-31repaired "-n" behaviour. If run with "-n ok" a host which ranrefs/pull/1491/headChristopher Odenbach1-8/+8
completely out of swap space would return "ok" which is not desired. It should only return "ok" if there is no swap space configured at all.
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-20plugins: check_dig: Fix spellingrefs/pull/1485/headKarol Babioch1-1/+1
2017-03-26Added tests for virtual port behaviour. Separated from all other tests this ↵refs/pull/1474/headChristopher Odenbach1-2/+39
time.
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 Nierlein3-35/+47
and make it configurable Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-03-12make snmp tests more reliableSven Nierlein1-3/+3
snmp tests fail if the snmp daemon runs systemd, then the process with 1 has arguments. Convert the test into a regex which works for sysv and systemd. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-03-12check_dns: fix error detection on sles nslookupSven Nierlein1-0/+1
on sles (ex. 11sp1) systems the nslookup output for not found was not parsed correctly and interpreted as ok when it should be critical: ./check_dns -H nosuchhost.nodomain -t 1 -vvv /usr/bin/nslookup -sil nosuchhost.nodomain Server: 10.0.2.3 Address: 10.0.2.3#53 Non-authoritative answer: *** Can't find nosuchhost.nodomain: No answer DNS OK: 0.011 seconds response time. nosuchhost.nodomain returns |time=0.010892s;;;0.000000 Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-02-07check_snmp: put the "c" (to mark a counter) after the perfdata valuerefs/pull/1465/headGerhard Lausser1-2/+3
2017-01-16check_apt: Add -l/--list option to print packagesrefs/pull/1427/headValentin Vidic1-7/+65
2017-01-10Merge branch 'spell_fix'Jan Wagner10-11/+11
2017-01-04understang ping6 output from iputils packagerefs/pull/1412/headElan Ruusamäe1-5/+6
2017-01-04Merge remote-tracking branch 'upstream/pr/1457'Jan Wagner2-4/+29
2016-12-31Add --only-critical switch to check_aptrefs/pull/1457/headChristian Schmidt2-4/+29
2016-12-23check_dns: Small test cleanuprefs/pull/1456/headNicolai2-4/+4