ClusterCockpit / cc-backend

Web frontend and API backend server for ClusterCockpit Monitoring Framework
https://www.clustercockpit.org
MIT License
14 stars 12 forks source link

Display Message of the Day on startpage #273

Open oscarminus opened 1 week ago

oscarminus commented 1 week ago

We currently have no way of directly informing ClusterCockpit users about upcoming maintenance work in the CC. It would be good if the admin could set a Message of the Day, which would then be displayed on the login screen and below the menu bar after login.

giesselmann commented 1 week ago

Not documented, but ./var/notice.txt will be displayed as a banner after login.

oscarminus commented 1 week ago

Thanks, that fits the request for 90% The disadvantage of this is, that you have to have root access on the machine which is running cc-backend to edit that file and restart the service. With an "config option" inside the admin page, all CC-Admins could set such a notice. But in fact, with this possibility the priority of my request becomes very low.

moebiusband73 commented 1 week ago

I have to discuss, but I think adding the option to write this file from the settings view for admins should be not difficult. And of course we have make it more clear in the documentation this is available at all.

It is mentioned here: https://clustercockpit.org/docs/tutorials/customization/ but maybe not prominently enough or with the wrong heading.