[Xymon] Host Names

John Thurston john.thurston at alaska.gov
Tue Jul 19 00:00:31 CEST 2016


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    907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska




More information about the Xymon mailing list