[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
remote host monitoring service syntax patch (proposal)
From: |
Martin |
Subject: |
remote host monitoring service syntax patch (proposal) |
Date: |
Wed, 10 Sep 2003 16:11:37 +0200 |
Hi,
here is patch for implementing syntax of remote host checks as discussed. New
syntax (only changed portion):
CHECK HOST myname WITH ADDRESS [192.168.1.1|www.myhost.com]
IF FAILED [HOST virtual.myhost.com] PORT 80 ...
=> you can use host specification in the port statement (usefull for definition
of virtual hosts in one statement).
Advantages of this patch:
1.) simplifies code
2.) provides consistent syntax for port statement for both process and remote
host checks (support for host option)
3.) supports virtual hosts => you don't need to specify one check for each
virtual host
4.) allows to split tests of remote services running on same physical host to
more checks in monitrc => you can monitor separately for example database and
webservices and define dependency for appropriate dependant local processes
(some may depend on database service only, some on webservices only, etc.)
5.) the basic syntax of remote host check is consistent to other checks by
supporting service tag (shortcut). This can also be usefull in the case of long
hostnames, IPv4 and IPv6 addresses
If you agree, i can checkin this patch plus update related documentation.
Martin
- remote host monitoring service syntax patch (proposal),
Martin <=