Xymon Mailing List Archive search

links on http button

6 messages in this thread

list Torsten Richter · Wed, 30 Aug 2006 12:43:31 +0200 ·
Hi Henrik,

on BB I've made a little hack to bb-network.sh so the URLs on the http test became clickable links so an admin or operator could just click on this in BB and verify the error or see that it was a false one.
I just wanted to know in which file I have to look for this to get the same on Hobbit.

And I have another question.
I've put all definitions for PROC and PORT into hobbit-clients.cfg like this
PORT LOCAL=%[.:]22$ STATE=LISTEN "TEXT=SSH listener" COLOR=yellow
But in the logfile clientdata.log I see the following:
2006-08-30 12:28:50 Unknown token 'COLOR=yellow' ignored at line 413

What is the right syntax for the line?
I also tried with color=yellow and with quotation marks around it - nothing helped.

Best Regards
Torsten
list Henrik Størner · Wed, 30 Aug 2006 12:59:20 +0200 ·
quoted from Torsten Richter
On Wed, Aug 30, 2006 at 12:43:31PM +0200, Torsten Richter wrote:
Hi Henrik,

on BB I've made a little hack to bb-network.sh so the URLs on the http test became clickable links so an admin or operator could just click on this in BB and verify the error or see that it was a false one.
I just wanted to know in which file I have to look for this to get the same on Hobbit.

And I have another question.
I've put all definitions for PROC and PORT into hobbit-clients.cfg like this
PORT LOCAL=%[.:]22$ STATE=LISTEN "TEXT=SSH listener" COLOR=yellow
But in the logfile clientdata.log I see the following:
2006-08-30 12:28:50 Unknown token 'COLOR=yellow' ignored at line 413
Ahem, the syntax there is a bit finicky. Try swapping the TEXT=... and
COLOR=... settings, like
  PORT LOCAL=%[.:]22$ STATE=LISTEN COLOR=yellow "TEXT=SSH listener"
list Rolf Schrittenlocher · Wed, 30 Aug 2006 15:45:45 +0200 ·
Hi,

it took us some hours to find out the reason for the following error occuring during configure of 4.2 on Solaris 9:

"Checking for OpenSSL ...
Found OpenSSL include files in /usr/local/ssl/include
Undefined                       first referenced
 symbol                             in file
dlsym                               /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit dependency /etc/lib/libdl.so.1)
dlopen                              /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit dependency /etc/lib/libdl.so.1)
dlclose                             /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit dependency /etc/lib/libdl.so.1)
dlerror                             /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit dependency /etc/lib/libdl.so.1)
ld: fatal: Symbol referencing errors. No output written to test-ssl
collect2: ld returned 1 exit status
gmake: *** [test-link] Error 1
WARNING: OpenSSL library files found in /usr/local/ssl/lib, but link fails.
Continuing with SSL support disabled."

The reason was that the link to ld was missing in Makefile.SunOS used by Makefile.test-ssl. Adding it as
NETLIBS = -lresolv -lsocket -lnsl    (org)
NETLIBS = -lresolv -lsocket -lnsl -ldl    (new)
in Makefile.SunOS solved the problem. I don't know if our solaris setup is somehow specific or ig this can be added generally to this file.

greetings
Rolf

-- 
Mit freundlichen Gruessen
Rolf Schrittenlocher

HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX - XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-6ea8e907e200@xymon.invalid
list Torsten Richter · Wed, 30 Aug 2006 18:38:34 +0200 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Rolf,

I had to do the same on my Linux servers running Debian.

Regards
Torsten
quoted from Rolf Schrittenlocher

Rolf Schrittenlocher wrote:
The reason was that the link to ld was missing in Makefile.SunOS used by
Makefile.test-ssl. Adding it as
NETLIBS = -lresolv -lsocket -lnsl    (org)
NETLIBS = -lresolv -lsocket -lnsl -ldl    (new)
in Makefile.SunOS solved the problem. I don't know if our solaris setup
is somehow specific or ig this can be added generally to this file.

greetings
Rolf
- --
+---------------------------------------------------------+

| Richter IT-Consulting					  |
| E-mail  : user-c862b499d9fa@xymon.invalid			  |
|							  |
| Homepage: http://www.richter-it.net/			  |
+---------------------------------------------------------+
Download my public key from:
http://www.keyserver.net:11371/pks/lookup?op=get&search=0x899093AC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE9b8K7DlmxomQk6wRAuPfAKCdTJNG6o2XUJzn3QOFiu8W9xQgEgCgyoN9
+erGFF9Ev4xEQwsYZbF0QxY=
=5Cem
-----END PGP SIGNATURE-----
list Henrik Størner · Thu, 31 Aug 2006 12:19:56 +0200 ·
quoted from Torsten Richter
On Wed, Aug 30, 2006 at 06:38:34PM +0200, Torsten Richter wrote:
I had to do the same on my Linux servers running Debian.
Which Debian version was that? 3.1 (Sarge) doesn't need it.


Regards,
Henrik
list Torsten Richter · Thu, 31 Aug 2006 14:05:04 +0200 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Henrik,

yep it was Sarge.

Regards
Torsten
quoted from Henrik Størner

Henrik Stoerner wrote:
On Wed, Aug 30, 2006 at 06:38:34PM +0200, Torsten Richter wrote:
I had to do the same on my Linux servers running Debian.
Which Debian version was that? 3.1 (Sarge) doesn't need it.


Regards,
Henrik

- --
+---------------------------------------------------------+
| Richter IT-Consulting					  |
| E-mail  : user-c862b499d9fa@xymon.invalid			  |
|							  |
| Homepage: http://www.richter-it.net/			  |
+---------------------------------------------------------+
Download my public key from:
http://www.keyserver.net:11371/pks/lookup?op=get&search=0x899093AC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE9tBw7DlmxomQk6wRAvmMAKDBA+Zt6bgxlgudxJpgohXDcal3zgCdG6Eh
f05yPyq299qc/K9KamG4trQ=
=i5ke
-----END PGP SIGNATURE-----