summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
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 Baumann2-1/+172
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-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-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
2016-12-23check_dns: Fix travis testsNicolai1-0/+2
(or try to fix it...)
2016-12-23check_dns: Tests and infoNicolai2-3/+21
2016-12-21check_dns: Accept CIDRNicolai Søborg1-5/+37
2016-12-20check_dns: allow for IPv6 RDNSPatrick Rauscher1-1/+1
2016-12-01Spelling fixes suggested by lintianrefs/pull/1452/headJan Wagner10-11/+11
2016-11-21check_radius: Make compiler happyHolger Weiss1-2/+2
2016-11-21Revert "check_disk - show all disks if state is ok and option error only is ↵refs/pull/1446/headOliver Skibbe1-15/+4
used"
2016-11-21sslutils: Address compiler warningHolger Weiss1-1/+1
SSLv23_client_method() and friends return a pointer to a const-qualified SSL_METHOD.
2016-11-20Creating and mounting randisk to make use of check_disk testsJan Wagner1-1/+1
2016-11-19Merge pull request #1382 from riskersen/smtp_tls_expecOliver Skibbe1-15/+22
check_smtp: extended support for expect option
2016-11-19Merge pull request #1374 from riskersen/check_http_perfdata_timeoOliver Skibbe1-6/+6
check_http: added timeout to perfdata as max val Resolves #1350
2016-11-19Merge pull request #1436 from riskersen/check_disk_iss1420Oliver Skibbe1-4/+15
check_disk - show all disks if state is ok and option error only is used