LDIRECTORD: Add external checktype

Simon Horman horms at verge.net.au
Thu Apr 26 10:02:10 BST 2007


On Tue, Apr 24, 2007 at 08:47:37AM -0700, Roberto Nibali wrote:

[snip]

> Do we need a warning here, that all the calling of external scripts can
> be dangerous security-wise and hazardous runtime-wise? I've just been
> burnt a couple of times when I provided such functionality to former
> customers, who then at free will started creating script monstrosities.

I think we can leave it now. The execution times of tests is a general
problem. So if anything it should be generally be documented somehow.

[snip]

> I seem to be confused a bit at times: so in this checktype the return
> value of the function is 1 for non-failed health check and activated
> service and 0 otherwise? How about introducing enums {SERVICE_UP,
> SERVICE_DOWN} for legibility?

Good idea, I will make it so.

[snip]

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list