Xymon Mailing List Archive search

test of pultiple ports for same service on same host

list Jeremy Laidman
Sat, 5 Apr 2014 01:15:22 +1100
Message-Id: <user-6eb09ad34174@xymon.invalid>

On 3 April 2014 03:11, John Thurston <user-ce4d79d99bab@xymon.invalid> wrote:
This reuses all/any of the ftp send/response strings in protocols.cfg
which is nicer than copy/paste the whole section. The problem with this
approach is updates to the Xymon application will repair protocols.cfg by
keeping my modified definition _and_ reinserting the original.

You can use the "include" keyword for protocols.cfg.  So you could append
"include protocols-local.cfg" at the end of protocols.cfg, and then put
your re-definition into that file.  Upgrades should leave your own version
alone, and you only need to re-insert the include line to get it working
again.  If it's anything like the graphs.cfg file, later definitions (such
as in files included at the end) will replace earlier definitions.

J