Skip to content

timezone in timeperiod #373

@llange

Description

@llange

Most of my time periods are based on local time (our production planning, our support team are based on office hours).
However a few of them are tracking UTC-based events.
We are in a Daylight Saving Time country, so our offset to UTC (still) changes twice a year.

To the best of my knowledge, all Naemon (and Nagios) timeperiods use the process timezone ; there is no way to define a specific timezone for a timeperiod.

So far we handle local-time-based time periods with both the server timezone and/or the use_timezone parameter ; and for the UTC-based we update them manually twice a year.

While we can argue that countries will one day abolish DST (at least I believe in Europe it is the idea), and that changing a few configurations twice a year is not so huge ; I was wondering if extending the timeperiod definition to handle timezone would be useful to other use cases ; and would be an enhancement worth considering ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions