User story #7093
Include Timezone in Inventory
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.
Subtasks
Related issues
Associated revisions
History
#1
Updated by Janos Mattyasovszky over 2 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).
#2
Updated by François ARMAND over 2 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?
#3
Updated by Jonathan CLARKE over 2 years ago
- Related to Bug #7092: Include Timezone in Node Info added
#4
Updated by Benoît PECCATTE almost 2 years ago
- Target version set to Ideas (not version specific)
#5
Updated by François ARMAND almost 2 years ago
- Related to User story #4708: Display time of reports in the web interface in the server timezone added
#6
Updated by François ARMAND over 1 year ago
- Related to User story #8919: Remove modifications made to the inventory by the agent added
#7
Updated by François ARMAND over 1 year ago
- Assignee changed from Nicolas CHARLES to Matthieu CERDA
It should be added in Rudder plugin extension:
- <RUDDER><TIMEZONE>
#8
Updated by François ARMAND over 1 year 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).
#9
Updated by François ARMAND over 1 year ago
Actually:
<RUDDER> <TIMEZONE> <NAME>blablab</NAME> <OFFSET>blabla</OFFSET> </TIMEZONE> ... </RUDDER>
#10
Updated by Matthieu CERDA over 1 year 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.
#11
Updated by Matthieu CERDA over 1 year 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
#12
Updated by Matthieu CERDA over 1 year 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
#13
Updated by Matthieu CERDA over 1 year ago
- Status changed from New to In progress
#14
Updated by Matthieu CERDA over 1 year 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
#15
Updated by Matthieu CERDA over 1 year ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|a59889a72ef5b023cd164aa3fad76df1e2b61b9c.
#16
Updated by Benoît PECCATTE over 1 year ago
- Target version changed from 4.0.0~rc2 to 318
#17
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 318 to 4.0.0~rc2
#18
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 4.0.0~rc2 to 4.0.0~rc1
#19
Updated by Alexis MOUSSET over 1 year 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.
Fixes #7093: Include Timezone in Inventory