You could quite easily load the file when they choose a particular db, or read all the DBs statuses and hide their entries on the box or reject any wikis from them from being selected.

-Matt




> Date: Tue, 4 Sep 2007 00:08:57 +0200
> To: toolserver-l@lists.wikimedia.org
> From: platonides@gmail.com
> Subject: Re: [Toolserver-l] SQL-S2 down and new status-files
>
> DaB.:
> > You should read the file and parse the first line, that not beginns with "#".
> > Then your tool knows, what's the status of cluster is. Is it "OK", you have
> > to do nothing more, if it's "INFO" and "WARN", it's your decison if you
> > display something. Is it "ERRO" or "DOWN" you must ("must" like in rfc 2119
> > [1]) give out the text. But that is the better decision anyway, because your
> > tools did not work because the cluster is down :).
>
> What about tools not using a fixed db (depends on user choose)?
> Also, being only a line i'd make it the first one.
>
> _______________________________________________
> Toolserver-l mailing list
> Toolserver-l@lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/toolserver-l


Explore the seven wonders of the world Learn more!