On Saturday 15 November 2008, Maximilian Gaß wrote: > On Fri, Nov 14, 2008 at 09:58:01PM +0100, Jan Wagner wrote: > > This means with "-I" we need an IP ... the problem is, '$HOSTADDRESS$' > > CAN be an IP, but it DOESN'T HAVE to. Right from the documentation: "You > > can use a FQDN to identify the host instead of an IP address, but if DNS > > services are not availble this could cause problems." > > I am using this modified check with a hostname as an address. It works.
Okay ... this looks resonable by reading the following: -I, --IP-address=ADDRESS IP address or name (use numeric address if possible to bypass DNS lookup). > What about my suggestion regarding checking for page contents? Since this may change some time in the future, it may break the check. I think if anybody sets up a check for a cups server, he knows it's really a cups server. That a cups server disappears and another starts on port 631 may be a very special situation. With kind regards, Jan.
signature.asc
Description: This is a digitally signed message part.