User story #7093
closedInclude Timezone in Inventory
Added by Janos Mattyasovszky over 9 years ago. Updated almost 7 years ago.
Description
Please also make the Timezone-Info of a node available via the Inventory System
(Basically you need the output of `date +%Z` in a field)
See also Issue #7092.
Updated by Janos Mattyasovszky over 9 years ago
The Info of `date +%z` might be also of value, as this specifies the Offset to GMT, which sometimes overlaps with different TZ Names (like WEST and BST).
Updated by François ARMAND about 9 years ago
- Assignee set to Nicolas CHARLES
It seems that there is other problem which would better solved with that... Nicolas, do you remember which ones? Something related to reports?
Updated by Jonathan CLARKE almost 9 years ago
- Related to Bug #7092: Include Timezone in Node Info added
Updated by Benoît PECCATTE over 8 years ago
- Target version set to Ideas (not version specific)
Updated by François ARMAND over 8 years ago
- Related to User story #4708: Display time of reports in the web interface in the server timezone added
Updated by François ARMAND about 8 years ago
- Related to User story #8919: Remove modifications made to the inventory by the agent added
Updated by François ARMAND about 8 years ago
- Assignee changed from Nicolas CHARLES to Matthieu CERDA
It should be added in Rudder plugin extension:
- <RUDDER><TIMEZONE>
Updated by François ARMAND about 8 years ago
In fact, we certainly want :
- <RUDDER><TIMEZONE><NAME>CEST...
- <RUDDER><TIMEZONE><OFFSET>+02..
OFFSET is the most important (the one that we will use to display correct time).
Updated by François ARMAND about 8 years ago
Actually:
<RUDDER> <TIMEZONE> <NAME>blablab</NAME> <OFFSET>blabla</OFFSET> </TIMEZONE> ... </RUDDER>
Updated by Matthieu CERDA about 8 years ago
This information is not specific to Rudder, and should thus go in the <OPERATINGSYSTEM> anchor.
Something to take in account here is that timezones representation tend to differ between systems:- UNIces and UNIX-like systems tend to favor ISO8601 or Olson representations ('+0200', 'CEST', 'Europe/Paris')
- Windows systems have their own representation, as seen in https://msdn.microsoft.com/en-us/library/ms912391(v=winembedded.11).aspx ('Europe/Paris' => 'Romance Standard Time')
What I would propose in this case would be to have a mandatory attribute that contains the derivation from UTC, that is an actual consensus between all systems, and another one that would give the ISO8601 representation, as given by stfrtime %Z:
<TIMEZONE> <NAME>CEST</NAME> <OFFSET>+0200</OFFSET> </TIMEZONE>
The NAME would use the Windows format on Windows machines: that is to be expected.
Updated by Matthieu CERDA about 8 years ago
- Status changed from New to Discussion
Work has begun on this, to implement the feature upstream: https://github.com/fusioninventory/fusioninventory-agent/issues/166
Updated by Matthieu CERDA about 8 years ago
- Category changed from Web - Nodes & inventories to Packaging
- Status changed from Discussion to New
- Target version changed from Ideas (not version specific) to 4.0.0~rc2
Updated by Matthieu CERDA about 8 years ago
- Status changed from New to In progress
Updated by Matthieu CERDA about 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Matthieu CERDA to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/1100
Updated by Matthieu CERDA about 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|a59889a72ef5b023cd164aa3fad76df1e2b61b9c.
Updated by Benoît PECCATTE about 8 years ago
- Target version changed from 4.0.0~rc2 to 318
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 318 to 4.0.0~rc2
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 4.0.0~rc2 to 4.0.0~rc1
Updated by Alexis Mousset about 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.0.0 which was released the 10th November 2016.