Xymon Mailing List Archive search

Find Host feature

5 messages in this thread

list Craig Cook · Fri, 30 Jan 2009 08:57:53 -0500 ·
I did a query looking for a host using the "Administration -> find host" feature.  Put in my host name.  Xymon changed the URL to be the actual host that it was sitting on, not the virtual web server name, so the query failed.

Ie.

http://xymon.example.com/xymon-cgi/bb-findhost.sh

Find host:  sunserver

It returned:

http://webserver.example.com/xymon-cgi/solaris/#sunserver.example.com

(I use virtual apache servers to host xymon, it makes it easier to move to a new box if needed)

Craig
list Torsten Richter · Wed, 03 Sep 2014 07:23:24 +0200 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody,

a colleague of mine has written a very comprehensive monitor script for
one of our applications and it is sending the data under some virtual
hostname.

Now he asked me if (since he writes the real hostname where the
application runs on top of his output) the find host feature can be used
to "linkify" the hostname and if you click on it you'll be directly
taken to the subpage where the host resides.

But all my attempts were failures. So I pass this question onto you:
How should the link look to make it work?
I was thinking of something like
http://myxymon.server.tld/xymon-bin/findhost.sh?hostname

TIA
Torsten
- -- 
+---------------------------------------------------------+
| E-mail  : user-c862b499d9fa@xymon.invalid			  |
|							  |
| Homepage: http://www.richter-it.net/			  |
+---------------------------------------------------------+
Download my public key from:
http://gpg-keyserver.de/pks/lookup?search=0x899093AC&op=get
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iEYEARECAAYFAlQGpcwACgkQ7DlmxomQk6xXiACgmAZocKoCJypesGktL0yCFhOd
4sMAn1Rh8hEoSzvJqOxuVAc4ZdCkXTXL
=fyQj
-----END PGP SIGNATURE-----
list Thomas Eckert · Wed, 3 Sep 2014 08:14:33 +0200 ·
Good morning Torsten,

the docs (https://www.xymon.com/help/manpages/man1/findhost.cgi.1.html) hint on `host=REGEX` as the correct parameter.

The html-source of the search-form on the `jump`-parameter.

So your URL should look like

https://www.xymon.com/xymon-cgi/findhost.sh?host=felix&jump

(Note: the link target on xymon.com currently points to a non-existing destination).


Cheers
Thomas

--  
www.it-eckert.com
quoted from Torsten Richter

On 03 Sep 2014, at 07:23, Torsten Richter <user-c862b499d9fa@xymon.invalid> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody,

a colleague of mine has written a very comprehensive monitor script for
one of our applications and it is sending the data under some virtual
hostname.

Now he asked me if (since he writes the real hostname where the
application runs on top of his output) the find host feature can be used
to "linkify" the hostname and if you click on it you'll be directly
taken to the subpage where the host resides.

But all my attempts were failures. So I pass this question onto you:
How should the link look to make it work?
I was thinking of something like
http://myxymon.server.tld/xymon-bin/findhost.sh?hostname

TIA
Torsten
- -- 
+---------------------------------------------------------+
| E-mail  : user-c862b499d9fa@xymon.invalid			  |
|							  |
| Homepage: http://www.richter-it.net/			  |
+---------------------------------------------------------+
Download my public key from:
http://gpg-keyserver.de/pks/lookup?search=0x899093AC&op=get
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iEYEARECAAYFAlQGpcwACgkQ7DlmxomQk6xXiACgmAZocKoCJypesGktL0yCFhOd
4sMAn1Rh8hEoSzvJqOxuVAc4ZdCkXTXL
=fyQj
-----END PGP SIGNATURE-----
list Torsten Richter · Wed, 03 Sep 2014 08:23:41 +0200 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Thomas,

sometimes it pays to read the manpages.
Especially when they are that good like Henriks.
Thanks for the quick answer and this was exactly what I was looking for.

Cheers
Torsten
quoted from Thomas Eckert

On 03.09.2014 08:14, Thomas Eckert wrote:
Good morning Torsten,

the docs (https://www.xymon.com/help/manpages/man1/findhost.cgi.1.html) hint on `host=REGEX` as the correct parameter.

The html-source of the search-form on the `jump`-parameter.

So your URL should look like

https://www.xymon.com/xymon-cgi/findhost.sh?host=felix&jump

(Note: the link target on xymon.com currently points to a non-existing destination).


Cheers
Thomas

--  
www.it-eckert.com

On 03 Sep 2014, at 07:23, Torsten Richter <user-c862b499d9fa@xymon.invalid> wrote:

Hi everybody,

a colleague of mine has written a very comprehensive monitor script for
one of our applications and it is sending the data under some virtual
hostname.

Now he asked me if (since he writes the real hostname where the
application runs on top of his output) the find host feature can be used
to "linkify" the hostname and if you click on it you'll be directly
taken to the subpage where the host resides.

But all my attempts were failures. So I pass this question onto you:
How should the link look to make it work?
I was thinking of something like
http://myxymon.server.tld/xymon-bin/findhost.sh?hostname

TIA
Torsten
- -- 
+---------------------------------------------------------+
| E-mail  : user-c862b499d9fa@xymon.invalid			  |
|							  |
| Homepage: http://www.richter-it.net/			  |
+---------------------------------------------------------+
Download my public key from:
http://gpg-keyserver.de/pks/lookup?search=0x899093AC&op=get
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iEYEARECAAYFAlQGs+0ACgkQ7DlmxomQk6yH9gCcDDcoaknBvp2XzqjXmQTs7CtC
DrMAn3pu7BhlBdcl8VXmekgdM0g6iOVD
=YhvJ
-----END PGP SIGNATURE-----
list Thomas Eckert · Wed, 3 Sep 2014 08:31:43 +0200 ·
The documentation of Xymon is really excellent.
A good time to say “Thanks for Xymon!” to Henrik :-)
quoted from Torsten Richter

On 03 Sep 2014, at 08:23, Torsten Richter <user-c862b499d9fa@xymon.invalid> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Thomas,

sometimes it pays to read the manpages.
Especially when they are that good like Henriks.
Thanks for the quick answer and this was exactly what I was looking for.

Cheers
Torsten

On 03.09.2014 08:14, Thomas Eckert wrote:
Good morning Torsten,

the docs (https://www.xymon.com/help/manpages/man1/findhost.cgi.1.html) hint on `host=REGEX` as the correct parameter.

The html-source of the search-form on the `jump`-parameter.

So your URL should look like

https://www.xymon.com/xymon-cgi/findhost.sh?host=felix&jump

(Note: the link target on xymon.com currently points to a non-existing destination).


Cheers
Thomas

--  www.it-eckert.com

On 03 Sep 2014, at 07:23, Torsten Richter <user-c862b499d9fa@xymon.invalid> wrote:

Hi everybody,

a colleague of mine has written a very comprehensive monitor script for
one of our applications and it is sending the data under some virtual
hostname.

Now he asked me if (since he writes the real hostname where the
application runs on top of his output) the find host feature can be used
to "linkify" the hostname and if you click on it you'll be directly
taken to the subpage where the host resides.

But all my attempts were failures. So I pass this question onto you:
How should the link look to make it work?
I was thinking of something like
http://myxymon.server.tld/xymon-bin/findhost.sh?hostname

TIA
Torsten
- -- +---------------------------------------------------------+
| E-mail  : user-c862b499d9fa@xymon.invalid			  |
|							  |
| Homepage: http://www.richter-it.net/			  |
+---------------------------------------------------------+
Download my public key from:
http://gpg-keyserver.de/pks/lookup?search=0x899093AC&op=get
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iEYEARECAAYFAlQGs+0ACgkQ7DlmxomQk6yH9gCcDDcoaknBvp2XzqjXmQTs7CtC
DrMAn3pu7BhlBdcl8VXmekgdM0g6iOVD
=YhvJ
-----END PGP SIGNATURE-----