Hello All,
Please help me how to change the background colour or some decorative work at my nagios web page for a better attractive look to users .
Background design for my nagios webpage
Re: Background design for my nagios webpage
It would depend on what "decorative work" you're looking to change. The top logo is located here:padu_3891 wrote:some decorative work
Code: Select all
/usr/local/nagios/share/images/sblogo.png
Code: Select all
/usr/local/nagios/share/stylesheets/
https://exchange.nagios.org/directory/A ... -and-Skins
This article may be helpful in terms of changing themes:
https://amritgurung.wordpress.com/2015/ ... or-nagios/
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Background design for my nagios webpage
Thanks @mcapra! Per his suggestion, I think the css file names have pretty useful names.
I believe the following in common.css is what you will want to modify:
without knowing the OS, hard to be more specific. vi on ubuntu is actually some sort of weird, annoying minimal version. You may want to install nano, but if you have your emacs set up for all the things, that'll work too.
That said, what version of Core are you using? Was it compiled from source or installed from distro repos? On what OS/version is nagios running? cat /etc/*-release may be of use. Those questions will help us determine file paths so that we can help you.
Lastly, you may know this, but the code is available at https://github.com/NagiosEnterprises/nagioscore/ . Feel free to modify whatever like!
I believe the following in common.css is what you will want to modify:
Code: Select all
body {
margin: 0em;
margin: 0.8em 0.8em 2em 0.8em;
color: black;
background-color: white;
font-family: arial, verdana, serif;
font-weight: normal;
font-size: 10pt;
}
That said, what version of Core are you using? Was it compiled from source or installed from distro repos? On what OS/version is nagios running? cat /etc/*-release may be of use. Those questions will help us determine file paths so that we can help you.
Lastly, you may know this, but the code is available at https://github.com/NagiosEnterprises/nagioscore/ . Feel free to modify whatever like!