Hi,

Le Lundi 1 Février 2010 12:13:23, Holger Just a écrit :
> Hi,
> 
> On 2010-01-31 11:33 PM, Willy Tarreau wrote:
> > I'm hesitating whether we should report the tracking servers the
> > same color, because it's not an error if they appear down, it's
> > an expected condition which should not necessarily attrack the
> > eye. I don't know what you (or others) think about that.
> 
> in my opinion the tracking servers should also appear as MAINT if the
> tracked server is in that state (and not only be displayed in another
> color). The states can be better differnciated by tools that way, i.e.
> error condition vs. expected state as you explained.

I don't know, as a tracking server can be independently set in maintenance, it 
may be confusing.
In fact, if the tracked server is in maintenance, it's not shocking to say that 
the tracking servers are DOWN.

Another solution would be a mix of the current behaviour and what you proposed.
The color of the tracking servers is the "MAINT" color and the status not only 
displays the server state but also the tracking server state.
This would give something like :
- UP : the server is UP because the tracked server is UP
- DOWN/DOWN : the server is DOWN because the tracked server is DOWN => the line 
is in red
- DOWN/MAINT : the server is DOWN because the tracked server is in maintenance 
=> the line is in brown
- MAINT : the server is in maintenance (no need to know the tracked server 
state) => the line is also in brown

Maybe the DOWN/DOWN can be optional to not break current monitoring scripts 
implementations (only DOWN will be displayed).

What do you think about that ?
If it's ok, I can work on a patch for this tomorrow evening.

-- 
Cyril Bonté

Reply via email to