I'll try to make this configurable - but the state (healthy/not healthy) 
is not only used for the output of a status request inside the code. If 
someone would use any word, that is part of the complete status output, 
this could lead in a unexpected behavior of assp. - Let' see.

Thomas




Von:    Scott MacLean <[email protected]>
An:     ASSP development mailing list <[email protected]>
Datum:  26.08.2010 13:51
Betreff:        Re: [Assp-test] Healthy/Unhealthy response request




At 07:05 AM 8/26/2010, Charles Marcus wrote:

>Scott MacLean wrote:
> > My problem is that my status checker connects, and looks for a preset
> > response. If it sees the response, great. If it doesn't see it, it
> > knows there is a problem. Obviously, I have it connect and look for
> > the response "healthy". However, the response when there is a problem
> > is "unhealthy" - which also contains the word "healthy" - so my
> > status checker thinks things are fine.
>
>Or you could just change your status checker to look for the word 'un',
>and act accordingly if it is detected...

That would be great...except the status checker app checks for 
successful connections. It assumes if it DOESN'T see what you tell it 
is a "success" response, that something has gone wrong. There's no 
way to tell it to look for a failure response. 
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 

speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to