Xymon Mailing List Archive search

Purple Colours

list Sanu Mathew
Fri, 31 Oct 2008 11:38:21 +0800
Message-Id: <user-d974c2d1dab6@xymon.invalid>

Hi Jarrod,

Restart the client on the Client servers which are being monitored by the
Hobbit Server.
/home/hobbituser/client/runsclient.sh stop (this command preferably needs to
be run by the hobbituser account)
ps -ef | grep hobbituser
Kill any orphaned processes
/home/hobbituser/client/runsclient.sh start

Now, check on the monitor if the purples are gone. Purples usually come if
there is no propagation of data from the client to server and server to
client (conn and ssh).

I think that should help, have often come with this issue and the above fix
worked like a charm

On Fri, Oct 31, 2008 at 10:20 AM, Jarrod Hodder <
user-fbeec196ecf6@xymon.invalid> wrote:
 I copied the runclient.sh to the client directory and re ran it. It
started fine.

Still got purples, so that wasn't the issue.


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Friday, 31 October 2008 1:02 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Purple Colours


That is correct - I am wrong.


~hobbituser/client/runclient.sh

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

 On Thu, Oct 30, 2008 at 9:45 PM, Hobbit User in Richmond <
user-24d6f8323faa@xymon.invalid> wrote:

I don't think you'll ever get satisfactory results trying to run
hobbitclient.sh as such.  It's launched from runclient.sh, which sets
HOBBITCLIENTHOME to the directory path of runclient.sh itself (`dirname
$0`), and that's used in hobbitclient.sh as the path prefix for
/bin/clientupdate, etc.  Without the variable set, hobbitclient.sh is
trying to launch them with a path of /bin, and they are not in /bin.  So
what you're seeing when you do that is normal and not indicative of what's
broke.


/etc/init.d/hobbit restart

should work, it calls runclient.sh after setting some other stuff.


On Thu, October 30, 2008 21:28, Josh Luthman wrote:
I think you want to...

/etc/init.d/hobbit restart

Try this otherwise:

cd /usr/lib/hobbit/client/ && ./bin/hobbitclient.sh

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer


On Thu, Oct 30, 2008 at 9:14 PM, Jarrod Hodder <
user-fbeec196ecf6@xymon.invalid> wrote:
 Hey,


I have noticed that on my monitor that a lot of the tests are turning
purple.

I read in this thread (
http://www.hobbitmon.com/hobbiton/2007/08/msg00051.html) that I should
check the status of my hobbitclient.sh.


I ran the status and it returned.


/runclient.sh status

Hobbit client (clientlaunch) does not appear to be running


So I thought that would be my problem, I navigated to my hobbitclient.sh
and tried to run it. This is the error I am getting.


root at Hobbits:/usr/lib/hobbit/client/bin# ./hobbitclient.sh

./hobbitclient.sh: 45: /bin/clientupdate: not found

./hobbitclient.sh: 52: /bin/hobbitclient-linux.sh: not found

./hobbitclient.sh: 63: /bin/logfetch: not found

./hobbitclient.sh: 79: @: not found

root at Hobbits:/usr/lib/hobbit/client/bin#


This is a list of files in my /client/bin/ directory


bb        bbhostgrep    hobbitclient-aix.sh      hobbitclient-hp-ux.sh
hobbitclient-netbsd.sh   hobbitclient-sco_sv.sh  hobbitlaunch
orcahobbit

bbcmd     bbhostshow    hobbitclient-darwin.sh   hobbitclient-irix.sh
hobbitclient-openbsd.sh  hobbitclient.sh         logfetch

bbdigest  clientupdate  hobbitclient-freebsd.sh  hobbitclient-linux.sh
hobbitclient-osf1.sh     hobbitclient-sunos.sh   msgcache


So from that I can see that the files are infact there, but it can't see
them.


Any help on where I went wrong would be appreciated.
-Jarrod**