--- /usr/sbin/ldirectord.codeonly 2005-01-13 09:47:40.443048216 -0800 +++ /usr/sbin/ldirectord 2005-01-13 10:35:55.834571509 -0800 @@ -225,12 +225,13 @@ means no checking will take place and no real or fallback servers will be activated. Default is I. -B|B|B|B|B|B|B|B|B|B +B|B|B|B|B|B|B|B|B|B|B The type of service to monitor when using checktype=negotiate. None denotes a service that will not be monitored. If the port specfied for the virtual -server is 21, 25, 80, 110, 119, 143, 389 or 443, the default B, -B, B, B, B, B, Bor B respectivly. +server is 21, 25, 80, 110, 119, 143, 389, 443 or 3306, the default B, +B, B, B, B, B, B, B or B +respectivly. Otherwise the default service is B. BI @@ -247,6 +248,10 @@ For a DNS check this should the name of an A record, or the address of a PTR record to look up. +For a MySQL check, this should be a SQL query performed from the mysql +client prompt. The data returned is not checked, only that the answer +is one or more rows. This is a required setting. + BIB<"> If the requested result contains this I, the real server @@ -258,6 +263,8 @@ For a DNS check this should be any one the A record's addresses or any one of the PTR record's names. +For a MySQL check, the receive setting is not used. + BIB<"> Used when using a negotiate check with HTTP or HTTPS. Sets the host header @@ -268,17 +275,25 @@ BIB<"> -Username to use to login to FTP, POP and IMAP servers. Default is anonymous -for FTP. For POP and IMAP the default is the empty string, in which -case authentication will not be attempted. +Username to use to login to FTP, POP, IMAP and MySQL servers. Default is +anonymous for FTP. For POP, IMAP, and MySQL the default is the empty string, +in which case authentication will not be attempted. +For a MySQL check, the login username is a required setting. BIB<"> -Password to use to login to FTP, POP and IMAP servers. Default is +Password to use to login to FTP, POP, IMAP and MySQL servers. Default is ldirectord\@, where hostname is the environment variable HOSTNAME evaluated at run time. +For a MySQL check, the password is a required setting. + +BIB<"> + +Only for MySQL servers, this is the database that the query (set by +B above) will be performed against. This is a required setting. + B I