I'm using Icinga Web with several Icinga servers in various locations, including different timezones, although I'm experiencing an issue with it locally.

My Icinga Web server, along with one Icinga instance running on the same box, is in the Pacific time zone ("America/Los_Angeles"). System is set up in the correct zone (correct /etc/localtime file).

php.ini has:
date.timezone = "America/Los_Angeles"

Other servers are in the Eastern time zone ("America/New_York").

All interfaces display the correct time for their location. Icinga Web is showing the correct Server Time.

But when I submit a scheduled downtime via Icinga Web, the downtime window displayed in the dialog starts off with times three hours ahead - i.e. the Eastern time zone. My browser _is_ in the Eastern time zone, but I've never known that to make a difference. Same for scheduling the next service check.

Submitting the downtime to the local Pacific Icinga instance results in the downtime being offset by three hours, as was displayed in the dialog.

Submitting to the Eastern instances results in it also being offset by three hours - it seems like the time shifting is correct, but it is starting off incorrect.

I've tried setting the timezone in the AppKit module.xml and in translation.xml, but it didn't have any effect.

There are no TZ variables anywhere that I am aware of.

I can of course manually change the times in the dialog, but defeats the purpose and could be quite confusing to the users (although a per-user timezone configuration would be nice...as long as it translated to the local timezone...)

Am I missing something elsewhere?





_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to