Skip to content

Commit

Permalink
Make http_header repeatable (fixes #8573) (#8574)
Browse files Browse the repository at this point in the history
* Made http_header repeatable (fixes #8573)

* Removed explicit repeat_key option for a default setting

* Fixed closing backtick
  • Loading branch information
peteeckel authored Oct 1, 2021
1 parent 0c22a84 commit fd9f69b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/10-icinga-template-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ http_method | **Optional.** Set http method (for example: H
http_maxage | **Optional.** Warn if document is more than seconds old.
http_contenttype | **Optional.** Specify Content-Type header when POSTing.
http_useragent | **Optional.** String to be sent in http header as User Agent.
http_header | **Optional.** Any other tags to be sent in http header.
http_header | **Optional.** Any other tags to be sent in http header. Can be an array if multiple headers should be passed to `check_http`.
http_extendedperfdata | **Optional.** Print additional perfdata. Defaults to false.
http_onredirect | **Optional.** How to handle redirect pages. Possible values: "ok" (default), "warning", "critical", "follow", "sticky" (like follow but stick to address), "stickyport" (like sticky but also to port)
http_pagesize | **Optional.** Minimum page size required:Maximum page size required.
Expand Down
2 changes: 1 addition & 1 deletion itl/command-plugins.conf
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ object CheckCommand "http" {
}
"-k" = {
value = "$http_header$"
description = "Any other tags to be sent in http header"
description = "Any other tags to be sent in http header (may be repeated)"
}
"-E" = {
set_if = "$http_extendedperfdata$"
Expand Down

0 comments on commit fd9f69b

Please sign in to comment.