Skip to content

Nagstamon displays UTC for LastCheck #1102

@betuxy

Description

@betuxy

Hey,
I am using Nagstamon to connect to my Icinga2 via the IcingaDBWeb monitor.
It works fine however one column (LastCheck) displays the timestamp (as it came from the request) in UTC.

Correct my if I'm wrong but after researching the issue, it seems that icinga2 always uses utc for check_results like they are displayed under the "Source" tab of a service, for compabilitiy between all hosts.
In icingaweb2 the datetime is correct so I'm assuming the conversion is planned to happen outside of the icinga2 data.

Is there a way to change the displayed time to ETC?
Kind regards

Versions:

Nagstamon:    3.16.2
Icinga2:      2.14.5
IcingaWeb2:   2.12.2
PHP:          8.2.26

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions