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

Duration off by timezone offset #1008

Closed
jan-kantert opened this issue Feb 12, 2024 · 5 comments
Closed

Duration off by timezone offset #1008

jan-kantert opened this issue Feb 12, 2024 · 5 comments

Comments

@jan-kantert
Copy link

With 3.13-20231208 we see an offset of 1h (our current UTC offset) in duration of alerts in Nagstamon. Not sure if this is fixed in 1429261. If it should be fixed can we get a release?

@HenriWahl
Copy link
Owner

Hi @jan-kantert, what exactly does it mean? Where the difference is effective? With which monitoring server type?

@jan-kantert
Copy link
Author

We use Icinga2 with IcingaDB 2.14. Practically, when a check has been in critical state for 5 minutes it will be shown as 1h5m im Nagstamon. This looks like a datetime pitfall as the icinga UTC date seems to be correct (see: https://dev.arie.bovenberg.net/blog/python-datetime-pitfalls/).

@HenriWahl
Copy link
Owner

@DeadHunter @Tontonitch any idea?

@Tontonitch
Copy link
Contributor

@jan-kantert could you try the latest version [Nagstamon-3.13-20240221] ?
It might be that the fix for the timezone was not in place in previous versions.

@jan-kantert
Copy link
Author

I retested. It is fixed in master and Nagstamon-3.13-20240221. Thanks guys!

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

3 participants