So clearly the Xymon client program is not executing because it cannot find the libpcre.so.0 file. If you built the software yourself then you need to rebuild it but this time use archive libraries rather than shared ones, or use the -R flag and include the directory where your libpcre file is located. -R is the list of directories to search for shared library files.
If you installed Xymon as a package then you need to find another package that include the PCRE libraries and install that.
|\/|artin
From: Ambati Srinivas [mailto:am.srini at gmail.com] Sent: 09 December 2009 11:42 To: hobbit at hswn.dk Cc: Martin.Ward at colt.ne Subject: Re: [hobbit] monitoring Solaris client
Hi Martin,
~hobbit/client/logs/hobbitclient.log file have below log entries and no other.
-bash-3.00$ less hobbitclient.log ld.so.1: hobbitd_client: fatal: libpcre.so.0: open failed: No such file or direc tory Killed ld.so.1: hobbitd_client: fatal: libpcre.so.0: open failed: No such file or direc tory Killed ld.so.1: hobbitd_client: fatal: libpcre.so.0: open failed: No such file or direc tory Killed ld.so.1: hobbitd_client: fatal: libpcre.so.0: open failed: No such file or direc tory Killed ld.so.1: hobbitd_client: fatal: libpcre.so.0: open failed: No such file or direc tory Killed ld.so.1: hobbitd_client: fatal: libpcre.so.0: open failed: No such file or direc tory Killed ld.so.1: hobbitd_client: fatal: libpcre.so.0: open failed: No such file or direc tory Killed ld.so.1: hobbitd_client: fatal: libpcre.so.0: open failed: No such file or direc tory
I did get a successful tenet to server from client as shown below:
-bash-3.00$ telnet xxx.xxx.xx.xx9 1984 Trying xxx.xxx.xx.xx9... Connected to xxx.xxx.xx.xx9. Escape character is '^]'. Connection to xxx.xxx.xx.xx9 closed by foreign host. -bash-3.00$
Please advice.
Thanks,
Srini
On Tue, Dec 8, 2009 at 8:21 PM, Ward, Martin <Martin.Ward at colt.net> wrote:
Srinu,
The fact that you cannot see any disk, memory or other information points to the fact that the client Xymon program is not running, or is talking to your server on a different IP address.
Bring up the Xymon web page and look at the Ghost Clients report page. Is your client listed there? Maybe under a different IP address?
If you cannot see anything useful in this page then login to the client and change to the ~hobbit/client/logs directory. Look in the hobbitclient.log file for connectivity issues. Also, whilst on the client try connecting to the Xymon server on port 1984 like so:
$ telnet xymon.server.ip.address 1984
You should get a "connected" notice. If you don't then there is a firewall/network/routing issue between the two boxes.
|\/|artin
From: Ambati Srinivas [mailto:am.srini at gmail.com] Sent: 08 December 2009 11:47 To: hobbit at hswn.dk Subject: [hobbit] monitoring solaris client
Hi,
I just installed on a solaris box (SunOS pluto 5.10 Generic_120011-14 sun4u sparc SUNW,Ultra-250), I have edited ~/etc/hobbitclient.cfg and given xymon server IP and on Xymon server ~/server/etc/bb-hosts and added this sun box ip address and hostname.
I can only see conn, info, trends data. others such as cpu, disk, memory, msgs are all empty. Am I missing something basic here or any config changes I had to take care.
bash-3.00# MAKE=gmake ./configure.client
Configuration script for Hobbit client
This script asks a few questions and builds a Makefile to compile Hobbit
Checking your make-utility
Hobbit normally keeps all of the client configuration files on the Hobbit server. If you prefer, it is possible to use a local client configuration file instead - if so, answer 'client' to the next question. NB: Local configuration requires the PCRE libs on each host.
Server side client configuration, or client side [server] ? client
Checking for the PCRE libraries Checking for PCRE ... Found PCRE include files in /opt/sfw/include Found PCRE libraries in /opt/sfw/lib
Checking for Large File Support ... ERROR: LFS support check failed for standard file support
What userid will be running Hobbit [hobbit] ? xymon
Found passwd entry for user xymon:x:60040:1::/export/home/xymon:/bin/bash
Where do you want the Hobbit installation [/export/home/xymon] ?
OK, will configure to use /export/home/xymon as the Hobbit toplevel directory
What is the IP-address of your Hobbit server [127.0.0.1] ? xxx.xxx.xx.x6
Using SunOS Makefile settings
Created Makefile with the necessary information to build Hobbit Some defaults are used, so do look at the Makefile before continuing.
Configuration complete - now run gmake (GNU make) to build the tools bash-3.00#
bash-3.00# gmake bash-3.00# gmake install
bash-3.00# vi etc/hobbitclient.cfg "etc/hobbitclient.cfg" 52 lines, 1690 characters
Environment settings for the Hobbit client.
BBDISP="xxx.xxx.xx.xx9" # IP address of the Hobbit server
bash-3.00# ./runclient.sh start Hobbit client for sunos started on pluto
-bash-3.00# vi /export/home/xymon/server/etc/bb-hosts xxx.xxx.xx.x6 APT-NCC-NSW-rhoSpluto
Let me know what all other information I can provide.
Thanks all for your help,
Srinu
[Colt Disclaimer] The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and may also be subject to legal privilege. If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security at colt.net and delete the message and any attachments without retaining any copies.
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.