Xymon Mailing List Archive search

host and test names with dots

list Torsten Richter
Mon, 20 Mar 2017 21:16:55 +0100
Message-Id: <user-cbccb1866fb5@xymon.invalid>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

from what I remember the dots of a FQDN get replaced by a comma and the
dot is still the delimiter between host and test.
So in your case it would be foo,bar,com,baz.test.

Cheers
Torsten

On 20.03.2017 21:07, John Thurston wrote:
On 3/20/2017 10:51 AM, Root, Paul T wrote:
Hosts can have dots in them. The default is that you give FQDN.


I’ve never tried for a test name. My gut feeling is that you couldn’t do
that.
I can't see how the server would be able to parse the message. Is
'foo.bar.com.baz' a test named 'com.baz' for host 'foo.bar', or is it a
test named 'bar.com.baz' for a host named 'foo'?

From what I recall of my last read of the source, the parser assumes dot
is the delimiter, and the last field is the test name. Everything to the
left of that is the hostname. The above example would be parsed as a
test named 'baz' for host 'foo.bar.com'
- -- 
+---------------------------------------------------------+
| E-mail  : user-c862b499d9fa@xymon.invalid			  |
|							  |
| Homepage: http://www.richter-it.net/			  |
+---------------------------------------------------------+
Download my public key from:
http://keys.gnupg.net/pks/lookup?search=0x899093AC&op=get
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAljQOLcACgkQ7DlmxomQk6zetgCg1oQtJkuKXpIuanDPt2M6k8Wn
j9sAnjIhZ/7GqPBisWBi42nLtp5uQlXJ
=OitB
-----END PGP SIGNATURE-----