Xymon Mailing List Archive search

Host Names

list John Thurston
Mon, 18 Jul 2016 14:00:31 -0800
Message-Id: <user-edecb5061ef1@xymon.invalid>

On 7/18/2016 1:43 PM, Scot Kreienkamp wrote:
Try something like:

10.1.2.3 testhost # CLIENT:my host.site.secure

Don’t do that.  That means the server will look for a client
reporting in with that name instead of testhost.
Ermmm. Not exactly.

Take this example line from hosts.cfg:

   0.0.0.0   foo.com   # CLIENT:foo NAME:bar

The host will be displayed (on the web page) on a line leading with the name "bar" rather than the expected "foo.com". Messages from clients "foo.com" OR "foo" will be matched to this host and displayed on its line.

CLIENT does not define an "instead of" relationship, rather an "in addition to" relationship.

Our most common use for this tag is the retirement of an old application. The old server was named "foo", but the new server is named something else. There may have been application-specific tests performed and reported to Xymon under the client name "foo". Rather than hunt down all the old scripts, 'tis simpler to just say "If you get a message for "foo", please include its results here."


-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska