Skip to main content

Hello, i’m wondering if i missconfigured a centreon. It is based at Mexico city and by so is configured on the America/Mexico_City timezone.

I’m working on the version 23.10 of Centreon.


This timezone is setup in the PHP configuration, in the global configuration of the instance, and configured as the timezone of the user.

As i watch the graphs of my services in the resource tab, i see the data at the proper times but when i look into legacy screens or through custom views, the data is an hour late.

Maybe i missed a configuration somewhere ? but it seems it’s only on that timezone.

 

I read online that Mexico removed their summer time shift, so maybe it is related.
Has anyone faced this kind of issue ?

Hi ​@Alexandre Belhomme, we updated moment.js to v2.29.4 for Centreon Web 23.10.24 version.

Can you check if your Centreon central server is up-to-date?


Hi ​@Alexandre Belhomme, we updated moment.js to v2.29.4 for Centreon Web 23.10.24 version.

Can you check if your Centreon central server is up-to-date?

I do, this server is using the centreon-web 25.10.25-1 on RHEL9


Ok so this moment.js version doesn’t include the fix, sorry.


Ok so this moment.js version doesn’t include the fix, sorry.

I suppose this is fixed in the latest version of centreon-web in the 24.X ?

 

If you can guide me through what version and maybe what file in the project i could patch to apply a workaround, i would be glad.

I noticed that some momentjs files are placed in the `/usr/share/centreon/www/include/common/javascript` folder. Maybe by applying one of the latest versions of moment-timezone-with-data ?


Reply