Skip to content

Issues with maintenance-windows #1274

@maxinetakeba

Description

@maxinetakeba

Describe the bug

Maintenance Windows are not working for end points or across the whole board.
I've tried the following configuration and also tried it with no time zone and matched it with UTC and the end point won't go into maintenance and is marked as healthy and will alert if left for too long.

Image

What do you see?

Not going into maintenance and is being marked as unhealthy.

What do you expect to see?

The end point going into maintenance or the board going into maintenance when set globally.

List the steps that must be taken to reproduce this issue

  1. Set maintenance window configuration per the docs.
  2. Wait until next refresh.
  3. Down the end point.
  4. Watch it get marked as unhealthy on next interval.

Version

5.23.0

Additional information

  - name: pangolin
    group: core
    url: "https://nuhuh.com"
    maintenance-windows:
      - start: "15:54"
        duration: 2h
        timezone: "Pacific/Auckland"
    interval: 3m
    conditions:
      - "[CONNECTED] == true"
    alerts:
      - type: discord
        failure-threshold: 2
        success-threshhold: 2
        description: "A core application HAS GONE DOWN! Please manually create an incident and log what happened!"
    ui:
      badge:
        response-time:
          thresholds: [1100, 1300, 1500, 1750, 1900]

I have tried with my timezone and just via UTC which is what the docker container operates and it won't ignore nor will it go into maintenance.

Can update to the very latest to see if this can be reproduced.

I am probably still doing something wrong, have tripled checked config and docs this time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions