Page 3 of 3

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 10:44 am
by sampan1
its okay im using the vautour style

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 10:45 am
by sampan1
do you have any experience of customising the nagios web gui???

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 10:52 am
by scottwilkerson
Really just editing the stylesheets directly

They can be found in /usr/local/nagios/share/stylesheets/

as always it is best to made backups of the directories before making changes

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 10:57 am
by sampan1
could you guide me through how I can customise and backup first before I do, please.

Thanks

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 11:02 am
by scottwilkerson
Sorry we cannot teach you CSS, but there is a tutorial here
https://www.w3schools.com/css/

As for backup, just make a copy of the file you are eidting that you can go back to if you do not like your changes, such as

Code: Select all

cp /usr/local/nagios/share/stylesheets/common.css /usr/local/nagios/share/stylesheets/common.css.backup
If you have a problem and need to change back you just run

Code: Select all

cp /usr/local/nagios/share/stylesheets/common.css.backup /usr/local/nagios/share/stylesheets/common.css

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 11:11 am
by sampan1
thank you for the help

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 11:26 am
by scottwilkerson
sampan1 wrote:thank you for the help
No problem