Andreas Baumann
|
d5d71dde61
|
fixed non-C99-ism in get_header_value
|
2018-10-22 16:30:31 +02:00 |
|
Andreas Baumann
|
9960c56e5e
|
added -M<m> age option for document age, using picohttpparser from h2o (maybe handy
later to make a more robust header condition checker?)
|
2018-10-22 16:30:31 +02:00 |
|
Andreas Baumann
|
bbec77c7ec
|
made check_curl tests copies of check_http tests because they will differ slightly
|
2018-10-22 16:30:31 +02:00 |
|
Andreas Baumann
|
f890d271fd
|
added POST support (-P/-T options)
|
2018-10-22 16:30:31 +02:00 |
|
Andreas Baumann
|
3299fbe3c1
|
fixed handling of SSL/TLS protocol versions
|
2018-10-22 16:30:31 +02:00 |
|
Andreas Baumann
|
6575340888
|
added -l option, fixed some usage/help
|
2018-10-22 16:30:31 +02:00 |
|
Andreas Baumann
|
f67f05c450
|
added -d/--header-string option
|
2018-10-22 16:30:31 +02:00 |
|
Sven Nierlein
|
c6c90a5bfa
|
check_curl: implement -e/--expect
|
2018-10-22 16:30:31 +02:00 |
|
Sven Nierlein
|
a793540bbb
|
check_curl: support check_http arguments for backwards compatibility
|
2018-10-22 16:30:31 +02:00 |
|
Sven Nierlein
|
5f9e8fa1e7
|
check_curl: adopt output format from check_http
|
2018-10-22 16:30:31 +02:00 |
|
Sven Nierlein
|
e9239b556a
|
check_curl: make check_curl use the same tests as check_http
|
2018-10-22 16:30:31 +02:00 |
|
Andreas Baumann
|
dee8f760d3
|
added -4/-6 option
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
a478dfe512
|
added -m/--pagesize option
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
6e52b870f6
|
added help for --invert-regex
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
2678d7fabc
|
added -R/-ereg/-eregi
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
50577bf9b1
|
added -N/--no-body option
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
ec8de89a44
|
added usage and help for -E/--extended-perfdata
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
4dc982097e
|
reverted double header in longopts
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
5d2fa85f1e
|
added help/usage and getopt long struct member for -k/--header option
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
20fd1ade91
|
fixed a missing else before curl_easy_setopt CURLOPT_CUSTOMREQUEST
|
2018-10-22 16:28:51 +02:00 |
|
Sven Nierlein
|
afa52eb834
|
add check_curl test
just a copy of check_http for now...
Signed-off-by: Sven Nierlein <sven@nierlein.de>
|
2018-10-22 16:28:51 +02:00 |
|
Sven Nierlein
|
e57c8a9d96
|
check_curl: set correct host header
Signed-off-by: Sven Nierlein <sven@nierlein.de>
|
2018-10-22 16:28:51 +02:00 |
|
Sven Nierlein
|
b5fd0d1a17
|
check_curl: implement extended performance data
Signed-off-by: Sven Nierlein <sven@nierlein.de>
|
2018-10-22 16:28:51 +02:00 |
|
Sven Nierlein
|
16121a9b55
|
check_curl: implement certificate checks
Signed-off-by: Sven Nierlein <sven@nierlein.de>
|
2018-10-22 16:28:51 +02:00 |
|
Sven Nierlein
|
c6c4890702
|
check_curl: implement optional http headers
Signed-off-by: Sven Nierlein <sven@nierlein.de>
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
d74e9569b9
|
added HTTP method handling
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
83ae37dc7e
|
forgot declaration of INVERT_REGEX in getopt otions
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
c9a94ffd44
|
added some casts for curl write functions
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
ad9233ce1c
|
added -r and --invert-regex
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
556924316a
|
added -ca-file option
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
035fe1eb79
|
handling last HTTP header correctly in HTTP line parser (added a strrstr replacement)
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
cefe325e94
|
some comment cleanup
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
2b8f17e577
|
adapted to style, using header file shims instead of HAVE_XXX by hand
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
c3bf9bd675
|
fixed curl error message
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
67967df159
|
added -s option
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
2a9812ee43
|
added most options from nagios-curl-plugin
|
2018-10-22 16:28:51 +02:00 |
|
Andreas Baumann
|
0b85260bd2
|
added autoconf stuff for curl plugin, created empty plugin
|
2018-10-22 16:28:51 +02:00 |
|
Sven Nierlein
|
82a634f7bf
|
Merge pull request #1552 from madpilot78/Avoid_passing_NULL_to_vprintf
Avoid passing NULL to vprintf().
|
2018-10-22 16:22:54 +02:00 |
|
Sven Nierlein
|
1c0a48bc6b
|
Merge pull request #1522 from Sp1l/fix-MariaDB10.2
Fix build issue with MariaDB 10.2
|
2018-10-22 16:21:05 +02:00 |
|
Sven Nierlein
|
26d84632b8
|
Merge pull request #1556 from TeamOfMonkeysNet/master
Added a compiled plugin script that was missing from gitignore
|
2018-10-13 20:16:49 +02:00 |
|
Lucas Bussey
|
ec4ef097c2
|
Added a compiled plugin script that was missing from gitignore
|
2018-10-13 07:44:39 -07:00 |
|
Guido Falsi
|
c76f59bcc0
|
Avoid passing NULL to vprintf().
|
2018-09-29 16:22:44 +02:00 |
|
Sven Nierlein
|
22f13aa2f1
|
Merge pull request #1538 from wopfel/uptime-plugin
Uptime plugin
|
2018-07-26 07:31:37 +02:00 |
|
Bernd Arnold
|
6a8564fb44
|
Fixed error message, added comment
|
2018-06-17 09:42:25 +02:00 |
|
Bernd Arnold
|
37f9b45266
|
Drop uptime binary call
No need to call /bin/uptime, since the string can be generated with strftime(...).
|
2018-06-17 09:36:13 +02:00 |
|
Bernd Arnold
|
28f4d144f2
|
Added help text for range support
|
2018-06-17 09:20:16 +02:00 |
|
Bernd Arnold
|
b40d660bb3
|
Remove useless (empty) print
|
2018-06-17 09:19:55 +02:00 |
|
Sven Nierlein
|
0b9c85109b
|
fix typo in check_uptime
|
2018-06-13 20:23:21 +02:00 |
|
Sven Nierlein
|
ae7c16306c
|
add check_uptime to makefile
|
2018-06-13 20:23:07 +02:00 |
|
Bernd Arnold
|
cf157ef845
|
Refactoring
Better alignment.
Avoid duplications ("Exceeds ... threshold").
|
2018-06-13 17:28:53 +02:00 |
|