Skip to content
Snippets Groups Projects

check_http - handle empty response

Merged Hahn Axel (hahn) requested to merge add-systemdunit into master
2 files
+ 72
72
Compare changes
  • Side-by-side
  • Inline

Files

+ 2
1
@@ -47,7 +47,8 @@ PARAMETERS:
Define request:
-u URL Set url to fetch; eg. https://www.example.com/
-m METHOD Set a method, eg. HEAD; default: GET
-c PARAMS additional curl params
-c PARAMS additional curl params; curl will be executed
with '[PARAMS] -si -X [METHOD] --connect-timeout 10 [URL]'
What to check:
-s STATUSCODE exact Statuscode to check; 3 digits; by default critical
Loading