Skip to content

What is the default in HTTP check for days_warning ? #19416

Open
@TiloGit

Description

Hi,

in the HTTP check the days_warning and days_critical are flagged as optional but no information about the default.

## @param days_warning - integer - optional

but based on that code seems that the HTTP check also has a default for these.

TLS check specifies a default in the example.

   ## @param days_warning - number - optional - default: 14.0
    ## Number of days before certificate expiration from which the service check
    ## `tls.cert_expiration` begins emitting WARNING.
    #
    # days_warning: 14.0

    ## @param days_critical - number - optional - default: 7.0
    ## Number of days before certificate expiration from which the service check
    ## `tls.cert_expiration` begins emitting CRITICAL.
    #
    # days_critical: 7.0

Please confirm if HTTP check has default and update the sample yaml file.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions