Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
Snippets Groups Projects
Commit 64b46819 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

Update README.md

parent cb7afea5
No related branches found
No related tags found
No related merge requests found
......@@ -97,14 +97,15 @@ Don't forget to make the Linux script executable (`chmod a+x curl.sh`).
The bakrey will dynamicly create some additional files in the _curl_ sub directory under the check_mk agent config directory (Linux: `/etc/check_mk/curl`, Windows: `C:\ProgramData\checkmk\agent\config\curl`). **curl_item_#** equals to the second option of each line in the `curl.cfg` configuration file.
| File | Created by bakery option |
| ---- | ---- |
| curl_item_#.options | cURL options configured by the bakery |
| curl_item_#.ca_cert | Configure certificate verification -> Certificate to verify against |
| curl_item_#.header | Set request header / Set API key header |
| curl_item_#.post_binary | Send HTTP POST data |
| curl_item_#.search_header | Strings to expect in header |
| curl_item_#.search_response | Strings to expect in response |
| File | Created by bakery option | Content |
| ---- | ---- | ---- |
| curl_item_#.options | cURL options configured by the bakery | Options line by line |
| curl_item_#.ca_cert | Configure certificate verification -> Certificate to verify against | Cert(chain) as PEM |
| curl_item_#.header | Set request header / Set API key header | Header: Value line by line |
| curl_item_#.post_binary | Send HTTP POST data | Post data as binary |
| curl_item_#.regex | Regular expression to expect in content | Regex pattern to match on response |
| curl_item_#.search_header | Strings to expect in header | Strings to search for in header line by line |
| curl_item_#.search_response | Strings to expect in response | Strings to search for in response line by line |
In addition to the options in `curl_item_#.options` from the bakery rules the plugin uses the hard coded options `-q -w %{json} -s -verbose --stderr $TEMP_DIR\curl_session`. If no expected strings are configured, the option `-o NUL` will be added on Windows and `-o /dev/null` on Linux.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment