Hello,
I’m facing an issue with the ESX-Uptime-Global mode in the VMware vCenter connector.
One of my ESXi hosts is located in Japan (UTC+9), while my Centreon central server is in France (UTC+1/UTC+2 depending on DST).
When this ESXi host reboots, the plugin reports a negative uptime value, which seems to be caused by the timezone difference between the host and the Centreon poller.
Expected behavior:
The plugin should calculate the uptime correctly regardless of the timezone, ideally by relying only on absolute values (e.g. UTC) rather than local time.
Current behavior:
ESXi in Japan (UTC+9)
Centreon Central in France (UTC+1/UTC+2)
After a reboot, the uptime check returns a negative value.
Question:
Is there an existing option to handle timezone offsets in the plugin, or would it be possible to add such a feature?
Thanks in advance for your help!