Change color of critical State


#1

Good afternoon to you all

I need your help

The critical State is presented with the red color…I have a specific service that I needed to change the color when I get a Critical State Alarm…is it possible?

To maintain the red color of critical state, but define a different color for one specific service?

Thks

Best regards


#2

Anyone?


#3

go to nagios home and look for status.css

in my case: /usr/local/nagios303/share/stylesheets/status.css
you can modyfy all css files
Teh text you need to change: In the browser> highlight the text and right click and clilck on the view source of selected text in your browser.
From there locate the text heading like belos

.**status **{ font-family: Verdana, Arial; background-color: #BBD1FF; color: #003366; }

.**errorMessage **{ font-family: Verdana, Arial; text-align: center; color: red; font-weight: bold; font-size: 12pt; }
.**errorDescription **{ font-family: Verdana, Arial; text-align: center; font-weight: bold; font-size: 12pt; }
.**warningMessage **{ font-family: Verdana, Arial; text-align: center; color: red; font-weight: bold; font-size: 10pt; }
.**infoMessage **{ font-family: Verdana, Arial; text-align: center; color: red; font-weight: bold; }

the bolds are the things you need to change

Cheers
Ankaboot.