Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TiloGit opened this issue Jan 16, 2025 · 0 comments
Open

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

TiloGit opened this issue Jan 16, 2025 · 0 comments

Comments

@TiloGit
Copy link

TiloGit commented Jan 16, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant