Project

General

Profile

Feature #51408

Updated by Volker Theile almost 3 years ago

Sometimes there is the need to inform the Ceph Dashboard users about latest news and information. The plan is to allow the administrator to configure a MOTD (message of the day) via CLI which is shown when the user is logging into the UI. Imagine the already existing popup for the telemetry module. 

 A command line to configure the MOTD may look like: 

 $ ceph dashboard motd set <severity> <expire> <ttl> <message> 
 $ ceph dashboard motd clear 

 where <severity> is something like 'info' | 'low' | 'high' which is represented by different colors in the UI. <expire> <ttl> is the time when until the notification expires. Until this time the noification is shown in the UI.    This can be e.g. '7d' and will be a unix timestamp internally like 'now + expire'. ttl'. The <message> will contain the text to be displayed. HTML code will be supported, thus links to external sources are possible. 

Back