Dear Sir,
Nagios Core defines the following Host States (3): Up, Down, Unreachable and the following Service States (4): OK, Warning, Unknown and Critical. These states do not match with the ones of our system which are the following ones (11)with the associated colour.
State Color
Idle Yellow
Ready Olive green
Active Green
Warning Light green
Test Purple
Unlaunched White
Alarm Red
Alarm Acknowledge Orange
Connection Lost Brown
Maintenance Dark Blue
Absent Cyan
Since the Nagios States (3+4) do appear in many Nagios configuration files, I assume that defining a new set of states is not feasible.
- Please, confirm.
Therefore, we were thinking about the feasibility of defining substates within the Nagios States. For example, defining the substate “IDLE” within the Nagios “OK” state. This is, OK.IDLE. At screen level, we would like to display only the substate information. For instance “IDLE” using our colour code (yellow for IDLE).
We initially thought about using the plugin text output (see nagioscore-3-en.pdf, page 333-334) to introduce this Nagios state plus the substate information.
- Could you please let us know if it is possible defining 11 states (idle,… absent) different than the Nagios one?. If so, how it can be done?.
- In case, the answer to the previous question is affirmative, please, clarify the mechanism to define the associated colours (yellow, …, cyan) at MMI level (Nagios V shell screen). Is it modifying the lines 112 to 120 of NAgios V shell CSS class file (“Style.css”)?
Best regards,
Enric Obiols