Xymon Mailing List Archive search

purple clients problem

13 messages in this thread

list Rich Smrcina · Wed, 28 Dec 2005 08:11:53 -0600 ·
Check your MRTG configuration.  It can not write to a file due to a permission problem.  I think I have mine writing to a directory that the hobbit user owns (eg: /home/hobbit/...).

Longina Przybyszewska wrote:
I have a problem with clients turning purple after reboot.
Client processes run, tmp/msg.txt is updated on client.
Display shows GREEN on conn|info|trends, and PURPLE on the rest  - cpu|disk|memory|procs.

I set debug option on hobbit client in hobbitlaunch.cfg -
but I don't quite understand output in clientdata.log:

CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/clientdata.log --debug hobbitd_client

from hobbitlaunch.log  on the server
2005-12-28 14:10:31 Task mrtg terminated, status 13
2005-12-28 14:14:21 hobbitlaunch starting
2005-12-28 14:14:21 Loading tasklist configuration from /opt/hobbit/server/etc/hobbitlaunch.cfg
2005-12-28 14:14:21 Loading hostnames
2005-12-28 14:14:21 Loading saved state
2005-12-28 14:14:21 Setting up network listener on 0.0.0.0:1984
2005-12-28 14:14:21 Setting up signal handlers
2005-12-28 14:14:21 Setting up hobbitd channels
2005-12-28 14:14:21 Setting up logfiles
ERROR: writing /etc/mrtg.ok.ok: Permission denied at /usr/local/bin/../lib/mrtg2/MRTG_lib.pm line 1477.
2005-12-28 14:14:27 Task mrtg terminated, status 13
ERROR: writing /etc/mrtg.ok.ok: Permission denied at /usr/local/bin/../lib/mrtg2/MRTG_lib.pm line 1477.
2005-12-28 14:19:28 Task mrtg terminated, status 13

from clientdata.log
2005-12-28 14:14:11 Semaphore wait aborted: Interrupted system call
2005-12-28 14:14:26 Setting up client channel (id=7)
2005-12-28 14:14:26 calling ftok('/opt/hobbit/server',7)
2005-12-28 14:14:26 ftok() returns: 0x7004344
2005-12-28 14:14:26 shmget() returns: 0x1712

What test should I make to find out what is wrong?

Thanks in advance for any ideas!

regards
Longina
-- 
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
-- 

-- 
Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (XXX)XXX-XXXX
Ans Service:  (360)715-2467
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2006 - Chattanooga, TN - April 7-11, 2006
list Longina Przybyszewska · Wed, 28 Dec 2005 15:12:35 +0100 (CET) ·
I have a problem with clients turning purple after reboot.
Client processes run, tmp/msg.txt is updated on client.
Display shows GREEN on conn|info|trends, and PURPLE on the rest  - 
cpu|disk|memory|procs.

I set debug option on hobbit client in hobbitlaunch.cfg -
but I don't quite understand output in clientdata.log:

CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/clientdata.log 
--debug hobbitd_client

from hobbitlaunch.log  on the server
2005-12-28 14:10:31 Task mrtg terminated, status 13
2005-12-28 14:14:21 hobbitlaunch starting
2005-12-28 14:14:21 Loading tasklist configuration from 
/opt/hobbit/server/etc/hobbitlaunch.cfg
2005-12-28 14:14:21 Loading hostnames
2005-12-28 14:14:21 Loading saved state
2005-12-28 14:14:21 Setting up network listener on 0.0.0.0:1984
2005-12-28 14:14:21 Setting up signal handlers
2005-12-28 14:14:21 Setting up hobbitd channels
2005-12-28 14:14:21 Setting up logfiles
ERROR: writing /etc/mrtg.ok.ok: Permission denied at 
/usr/local/bin/../lib/mrtg2/MRTG_lib.pm line 1477.
2005-12-28 14:14:27 Task mrtg terminated, status 13
ERROR: writing /etc/mrtg.ok.ok: Permission denied at 
/usr/local/bin/../lib/mrtg2/MRTG_lib.pm line 1477.
2005-12-28 14:19:28 Task mrtg terminated, status 13

from clientdata.log
2005-12-28 14:14:11 Semaphore wait aborted: Interrupted system call
2005-12-28 14:14:26 Setting up client channel (id=7)
2005-12-28 14:14:26 calling ftok('/opt/hobbit/server',7)
2005-12-28 14:14:26 ftok() returns: 0x7004344
2005-12-28 14:14:26 shmget() returns: 0x1712

What test should I make to find out what is wrong?

Thanks in advance for any ideas!

regards
Longina
--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--
list Longina Przybyszewska · Thu, 29 Dec 2005 15:01:28 +0100 (CET) ·
I have it as well defined as WorkDir: /opt/hobbit/data/rrd
in /etc/mrtg.cfg.

The point is, that clients turn on purple after reboot.
Now it drives me crazy, because more and more worksations stay PURPLE.
It can't be mrtg problem - there are some machines which stay GREEN.

I started bb on the PURPLE client in debugging mode.
It seems that on the client is everything OK:

fra hobbitclient.log
----
2005-12-29 14:55:23 Transport setup is:
2005-12-29 14:55:23 bbdportnumber = 1984
2005-12-29 14:55:23 bbdispproxyhost = NONE
2005-12-29 14:55:23 bbdispproxyport = 0
2005-12-29 14:55:23 Recipient listed as '130.225.128.14'
2005-12-29 14:55:23 Standard BB protocol on port 1984
2005-12-29 14:55:23 Will connect to address 130.225.128.14 port 1984
2005-12-29 14:55:23 Connect status is 0
2005-12-29 14:55:23 Sent 12003 bytes
2005-12-29 14:55:23 Closing connection
----

How kan I debug server side to see where is the black whole for all the 
client information?
quoted from Longina Przybyszewska

Longina

--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--

On Wed, 28 Dec 2005, Rich Smrcina wrote:
Check your MRTG configuration.  It can not write to a file due to a 
permission problem.  I think I have mine writing to a directory that the 
hobbit user owns (eg: /home/hobbit/...).

Longina Przybyszewska wrote:
I have a problem with clients turning purple after reboot.
Client processes run, tmp/msg.txt is updated on client.
Display shows GREEN on conn|info|trends, and PURPLE on the rest  - 
cpu|disk|memory|procs.

I set debug option on hobbit client in hobbitlaunch.cfg -
but I don't quite understand output in clientdata.log:

CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/clientdata.log 
--debug hobbitd_client

from hobbitlaunch.log  on the server
2005-12-28 14:10:31 Task mrtg terminated, status 13
2005-12-28 14:14:21 hobbitlaunch starting
2005-12-28 14:14:21 Loading tasklist configuration from 
/opt/hobbit/server/etc/hobbitlaunch.cfg
2005-12-28 14:14:21 Loading hostnames
2005-12-28 14:14:21 Loading saved state
2005-12-28 14:14:21 Setting up network listener on 0.0.0.0:1984
2005-12-28 14:14:21 Setting up signal handlers
2005-12-28 14:14:21 Setting up hobbitd channels
2005-12-28 14:14:21 Setting up logfiles
ERROR: writing /etc/mrtg.ok.ok: Permission denied at 
/usr/local/bin/../lib/mrtg2/MRTG_lib.pm line 1477.
2005-12-28 14:14:27 Task mrtg terminated, status 13
ERROR: writing /etc/mrtg.ok.ok: Permission denied at 
/usr/local/bin/../lib/mrtg2/MRTG_lib.pm line 1477.
2005-12-28 14:19:28 Task mrtg terminated, status 13

from clientdata.log
2005-12-28 14:14:11 Semaphore wait aborted: Interrupted system call
2005-12-28 14:14:26 Setting up client channel (id=7)
2005-12-28 14:14:26 calling ftok('/opt/hobbit/server',7)
2005-12-28 14:14:26 ftok() returns: 0x7004344
2005-12-28 14:14:26 shmget() returns: 0x1712

What test should I make to find out what is wrong?

Thanks in advance for any ideas!

regards
Longina
-- 
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: 
user-db0a93c0e294@xymon.invalid
-- 

-- 
Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (XXX)XXX-XXXX
Ans Service:  (360)715-2467
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2006 - Chattanooga, TN - April 7-11, 2006

list Henrik Størner · Thu, 29 Dec 2005 15:14:11 +0100 ·
quoted from Longina Przybyszewska
On Thu, Dec 29, 2005 at 03:01:28PM +0100, Longina Przybyszewska wrote:
I started bb on the PURPLE client in debugging mode.
It seems that on the client is everything OK:

fra hobbitclient.log
----
2005-12-29 14:55:23 Transport setup is:
2005-12-29 14:55:23 bbdportnumber = 1984
2005-12-29 14:55:23 bbdispproxyhost = NONE
2005-12-29 14:55:23 bbdispproxyport = 0
2005-12-29 14:55:23 Recipient listed as '130.225.128.14'
2005-12-29 14:55:23 Standard BB protocol on port 1984
2005-12-29 14:55:23 Will connect to address 130.225.128.14 port 1984
2005-12-29 14:55:23 Connect status is 0
2005-12-29 14:55:23 Sent 12003 bytes
2005-12-29 14:55:23 Closing connection
----

How kan I debug server side to see where is the black whole for all the 
client information?
On the server, login as the hobbit user and run 
    bbcmd hobbitd_channel --channel=client cat

When the client sends a message, you should see it dumped to the screen.
If it does, then at least the client message arrives OK on the Hobbit
server, and the server recognizes the client hostname OK.

If you don't see any such message, then the hostname that the client 
reports is not listed in bb-hosts - you can see the "ghost" hostname
in the status for the hobbit servers' "hobbitd" column.

The first line you see when dumping the client message should look like
this:
   @@client#24|1135865239.108541|127.0.0.1|localhost|linux
where "localhost" is the hostname, and "linux" is the operating system
that the client reports. The OS must be one of the recognized OS'es:
solaris, sunos, linux, aix, hp-ux, freebsd etc.

If you get that far and still haven't found the problem, add the "--debug" 
option to the hobbitd_client command in hobbitlaunch.cfg, and check the
clientdata.log logfile for any errors.


Regards,
Henrik
list Longina Przybyszewska · Mon, 9 Jan 2006 14:24:38 +0100 (CET) ·
hi again,
I did the test, and I could see that the purple machines were not polled 
by the server!
So, I made another test, where in  bb-hosts file were _only _ servers 
and purple worksations . All  purple workstations turned green now.
The one failed to show (cpu|disk|memory|procs) -  and only showed green on 
network tests (conn|info|trends).
Hobbitlaunch run on that workstation, and pickuped data to ../tmp/msg.txt
regularly.

Now, I am back to my big bb-hosts file with about 80 computers - and 
about 25 workstations stopped  to show (cpu|disk|memory|procs).
They are not polled by a server. They pickup data to ../tmp/msg.txt
regularly and say that they contact the server  and everything is OK.

hobbitd_client runs with --debug option, and the clientdata.log says:
----
2006-01-09 11:35:17 Semaphore wait aborted: Interrupted system call
2006-01-09 11:35:49 Setting up client channel (id=7)
2006-01-09 11:35:49 calling ftok('/opt/hobbit/server',7)
2006-01-09 11:35:49 ftok() returns: 0x7004344
2006-01-09 11:35:49 shmget() returns: 0x1A32
2006-01-09 11:52:20 Semaphore wait aborted: Interrupted system call
2006-01-09 11:52:45 Setting up client channel (id=7)
2006-01-09 11:52:45 calling ftok('/opt/hobbit/server',7)
2006-01-09 11:52:45 ftok() returns: 0x7004344
2006-01-09 11:52:45 shmget() returns: 0x1A96
----

Server is a sparc/Solaris9.
Could it be resource/timing problem on the server?
quoted from Henrik Størner


regards
Longina

--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--

On Thu, 29 Dec 2005, Henrik Stoerner wrote:
On Thu, Dec 29, 2005 at 03:01:28PM +0100, Longina Przybyszewska wrote:
I started bb on the PURPLE client in debugging mode.
It seems that on the client is everything OK:

fra hobbitclient.log
----
2005-12-29 14:55:23 Transport setup is:
2005-12-29 14:55:23 bbdportnumber = 1984
2005-12-29 14:55:23 bbdispproxyhost = NONE
2005-12-29 14:55:23 bbdispproxyport = 0
2005-12-29 14:55:23 Recipient listed as '130.225.128.14'
2005-12-29 14:55:23 Standard BB protocol on port 1984
2005-12-29 14:55:23 Will connect to address 130.225.128.14 port 1984
2005-12-29 14:55:23 Connect status is 0
2005-12-29 14:55:23 Sent 12003 bytes
2005-12-29 14:55:23 Closing connection
----

How kan I debug server side to see where is the black whole for all the
client information?
On the server, login as the hobbit user and run
   bbcmd hobbitd_channel --channel=client cat

When the client sends a message, you should see it dumped to the screen.
If it does, then at least the client message arrives OK on the Hobbit
server, and the server recognizes the client hostname OK.

If you don't see any such message, then the hostname that the client
reports is not listed in bb-hosts - you can see the "ghost" hostname
in the status for the hobbit servers' "hobbitd" column.

The first line you see when dumping the client message should look like
this:
  @@client#24|1135865239.108541|127.0.0.1|localhost|linux
where "localhost" is the hostname, and "linux" is the operating system
that the client reports. The OS must be one of the recognized OS'es:
solaris, sunos, linux, aix, hp-ux, freebsd etc.

If you get that far and still haven't found the problem, add the "--debug"
option to the hobbitd_client command in hobbitlaunch.cfg, and check the
clientdata.log logfile for any errors.


Regards,
Henrik

list Henrik Størner · Thu, 12 Jan 2006 07:49:31 +0100 ·
quoted from Longina Przybyszewska
On Mon, Jan 09, 2006 at 02:24:38PM +0100, Longina Przybyszewska wrote:
On the server, login as the hobbit user and run
  bbcmd hobbitd_channel --channel=client cat

When the client sends a message, you should see it dumped to the screen.
If it does, then at least the client message arrives OK on the Hobbit
server, and the server recognizes the client hostname OK.

If you don't see any such message, then the hostname that the client
reports is not listed in bb-hosts - you can see the "ghost" hostname
in the status for the hobbit servers' "hobbitd" column.
I did the test, and I could see that the purple machines were not polled 
by the server!
Please try setting BBGHOSTS to "2" in hobbitserver.cfg. Restart Hobbit,
and after 10 minutes check the "hobbitd" column on the Hobbit server.
Are there any hosts listed there ?
quoted from Longina Przybyszewska
So, I made another test, where in  bb-hosts file were _only _ servers 
and purple worksations . All  purple workstations turned green now.
The one failed to show (cpu|disk|memory|procs) -  and only showed green on 
network tests (conn|info|trends).
Which indicates that your workstations are either not sending data to 
Hobbit, or they are sending it with the wrong hostname.
quoted from Longina Przybyszewska
hobbitd_client runs with --debug option, and the clientdata.log says:
----
2006-01-09 11:35:17 Semaphore wait aborted: Interrupted system call
2006-01-09 11:35:49 Setting up client channel (id=7)
I think you put the "--debug" on the wrong part of the command in
hobbitlaunch.cfg. It must be at the end, like this:

CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/clientdata.log hobbitd_client --debug

Because this is debug output from the hobbitd_channel tool, not
hobbitd_client.

But do the ghost-check first.


Regards,
Henrik
list Longina Przybyszewska · Thu, 12 Jan 2006 14:08:32 +0100 (CET) ·
quoted from Henrik Størner
If you don't see any such message, then the hostname that the client
reports is not listed in bb-hosts - you can see the "ghost" hostname
in the status for the hobbit servers' "hobbitd" column.
I did the test, and I could see that the purple machines were not polled
by the server!
Please try setting BBGHOSTS to "2" in hobbitserver.cfg. Restart Hobbit,
and after 10 minutes check the "hobbitd" column on the Hobbit server.
Are there any hosts listed there ?
Yes, all my missig clients are listed as ghost + 2 clients which are 
at both places (as ghosts and showing green dimonds)+ 1 client that just 
turned to purple.

in ghosts file IP numbers are translated to nonqualified names - if 
compared with bb-hosts:

in bb-hosts:
----
130.225.128.126   sieglinde.imada.sdu.dk
130.225.128.167   zaira.imada.sdu.dk

----
in ghosts:
130.225.128.126 reported host sieglinde
130.225.128.167 reported host zaira

I checked bb-hosts for special characters, and there are places where I 
use tabs instead of spaces - but it doesn't seem to have an influence.
quoted from Henrik Størner
hobbitd_client runs with --debug option, and the clientdata.log says:
----
2006-01-09 11:35:17 Semaphore wait aborted: Interrupted system call
2006-01-09 11:35:49 Setting up client channel (id=7)
I think you put the "--debug" on the wrong part of the command in
hobbitlaunch.cfg. It must be at the end, like this:

CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/clientdata.log hobbitd_client --debug
That's right! Now data i log ar quite different!

Is it something special I have to look for?
quoted from Longina Przybyszewska

Regards
Longina

--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: 
user-db0a93c0e294@xymon.invalid
--
list Henrik Størner · Thu, 12 Jan 2006 14:40:02 +0100 ·
quoted from Longina Przybyszewska
On Thu, Jan 12, 2006 at 02:08:32PM +0100, Longina Przybyszewska wrote:
Please try setting BBGHOSTS to "2" in hobbitserver.cfg. Restart Hobbit,
and after 10 minutes check the "hobbitd" column on the Hobbit server.
Are there any hosts listed there ?
Yes, all my missig clients are listed as ghost + 2 clients which are at both places (as ghosts and showing green dimonds)+ 1 client that just turned to purple.

in ghosts file IP numbers are translated to nonqualified names - if compared with bb-hosts:

in bb-hosts:
----
130.225.128.126   sieglinde.imada.sdu.dk
130.225.128.167   zaira.imada.sdu.dk

----
in ghosts:
130.225.128.126 reported host sieglinde
130.225.128.167 reported host zaira
The hostname you see in the "ghosts" list is the hostname the the
clients use when they report data. This *must* match the one found
in the bb-hosts file, or Hobbit will simply discard the client message
because it doesn't know which host it belongs to.

So you can either change your clients to use the "--hostname" option (e.g. use "--hostname=sieglinde.imada.sdu.dk" when calling
runclient.sh), or add "CLIENT:sieglinde" to the entries in the bb-hosts file.


Regards,
Henrik
list Rolf Schrittenlocher · Thu, 12 Jan 2006 14:51:50 +0100 ·
Hi Henrik,
quoted from Henrik Størner
...
The hostname you see in the "ghosts" list is the hostname the the
clients use when they report data. This *must* match the one found
in the bb-hosts file, or Hobbit will simply discard the client message
because it doesn't know which host it belongs to.

So you can either change your clients to use the "--hostname" option (e.g. use "--hostname=sieglinde.imada.sdu.dk" when calling
runclient.sh), or add "CLIENT:sieglinde" to the entries in the bb-hosts file.
 
just before I start to create several client installations dynamically started: Is there any chance you will extend this feature to something like

"CLIENT:sieglinde:elfriede:kasimir"

so that messages are send once for each name? This would resolve our multiple hosts problem?

kind regards
Rolf

-- 
Mit freundlichen Gruessen
Rolf Schrittenlocher

HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX XXX XXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-6ea8e907e200@xymon.invalid
list Longina Przybyszewska · Fri, 13 Jan 2006 13:49:31 +0100 (CET) ·
quoted from Rolf Schrittenlocher
On Thu, 12 Jan 2006, Henrik Stoerner wrote:
in bb-hosts:
----
130.225.128.126   sieglinde.imada.sdu.dk
130.225.128.167   zaira.imada.sdu.dk

----
in ghosts:
130.225.128.126 reported host sieglinde
130.225.128.167 reported host zaira
The hostname you see in the "ghosts" list is the hostname the the
clients use when they report data. This *must* match the one found
in the bb-hosts file, or Hobbit will simply discard the client message
because it doesn't know which host it belongs to.

So you can either change your clients to use the "--hostname" option
(e.g. use "--hostname=sieglinde.imada.sdu.dk" when calling
runclient.sh), or add "CLIENT:sieglinde" to the entries in the
bb-hosts file.
It seems to partly(!) explain my puzzle:)
The way client presents to the server obviously was changed in the last upgrade (the day since my problems started).
The workstations which were down during my hobbit uprade could after restart continue with old hobbit_client until they become først PURPLE then '-' and were not upgraded.

Still I don't understand why my 2 servers (sparc/solaris9) stay GREEN on display even if there is an obvious name mismatch - AND there is no shade for incoming data from both servers in clientdata.log! (I am running hobbitd_client with --debug option)

in bb-hosts:
----
130.225.128.9      bach.imada.sdu.dk            # ssh dns rpc=mount,nfs
130.225.128.10     mozart.imada.sdu.dk          # http://www.imada.sdu.dk

in ghosts:
----
130.225.128.9   reported host bach
130.225.128.10  reported host mozart

in ...client/tmp/msg.txt:
----bach----
client bach.sunos
[date]
Fri Jan 13 13:37:05 MET 2006
....

----mozart----
client mozart.sunos
[date]
Fri Jan 13 12:43:58 CET 2006
....

on DISPLAY:
----
fredag 13 januar 2006, 13:39:17 CET - Disk partitions on mozart.imada.sdu.dk OK
  fredag 13 januar 2006, 13:39:17 CET up: 164 day(s), 4 users, 77 procs, load=11
quoted from Longina Przybyszewska

regards
Longina

--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--
list Longina Przybyszewska · Fri, 13 Jan 2006 14:10:05 +0100 (CET) ·
UPS. I have just noticed that there are bbrun processes running
on those 2 servers from old BB installation.
I think  it explains all my the troubles -... make upgrades carefully...

By the way , is there a special bb_channel for BBclient-Hobbitserver
communication?
quoted from Longina Przybyszewska

regards
Longina


--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--

On Fri, 13 Jan 2006, Longina Przybyszewska wrote:
On Thu, 12 Jan 2006, Henrik Stoerner wrote:
in bb-hosts:
----
130.225.128.126   sieglinde.imada.sdu.dk
130.225.128.167   zaira.imada.sdu.dk

----
in ghosts:
130.225.128.126 reported host sieglinde
130.225.128.167 reported host zaira
The hostname you see in the "ghosts" list is the hostname the the
clients use when they report data. This *must* match the one found
in the bb-hosts file, or Hobbit will simply discard the client message
because it doesn't know which host it belongs to.

So you can either change your clients to use the "--hostname" option
(e.g. use "--hostname=sieglinde.imada.sdu.dk" when calling
runclient.sh), or add "CLIENT:sieglinde" to the entries in the
bb-hosts file.
It seems to partly(!) explain my puzzle:)
The way client presents to the server obviously was changed in the last upgrade (the day since my problems started).
The workstations which were down during my hobbit uprade could after restart continue with old hobbit_client until they become først PURPLE then '-' and were not upgraded.

Still I don't understand why my 2 servers (sparc/solaris9) stay GREEN on display even if there is an obvious name mismatch - AND there is no shade for incoming data from both servers in clientdata.log! (I am running hobbitd_client with --debug option)

in bb-hosts:
----
130.225.128.9      bach.imada.sdu.dk            # ssh dns rpc=mount,nfs
130.225.128.10     mozart.imada.sdu.dk          # http://www.imada.sdu.dk

in ghosts:
----
130.225.128.9   reported host bach
130.225.128.10  reported host mozart

in ...client/tmp/msg.txt:
----bach----
client bach.sunos
[date]
Fri Jan 13 13:37:05 MET 2006
....

----mozart----
client mozart.sunos
[date]
Fri Jan 13 12:43:58 CET 2006
....

on DISPLAY:
----
fredag 13 januar 2006, 13:39:17 CET - Disk partitions on mozart.imada.sdu.dk OK
fredag 13 januar 2006, 13:39:17 CET up: 164 day(s), 4 users, 77 procs, load=11

regards
Longina

--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--
list Longina Przybyszewska · Fri, 13 Jan 2006 15:11:05 +0100 (CET) ·
still I have some linux clients that use single name instead of FQname -
they run the same software now ;)
I wouldn't like to mess the bb-hosts file since all our workstations suppose to be identical!

So, how is made the first line in client's msg.txt:

client aida.linux
  or
client ariadne,imada,sdu,dk.linux
quoted from Longina Przybyszewska

Regards
Longina

--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--

On Fri, 13 Jan 2006, Longina Przybyszewska wrote:
UPS. I have just noticed that there are bbrun processes running
on those 2 servers from old BB installation.
I think  it explains all my the troubles -... make upgrades carefully...

By the way , is there a special bb_channel for BBclient-Hobbitserver
communication?

regards
Longina


--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--

On Fri, 13 Jan 2006, Longina Przybyszewska wrote:
On Thu, 12 Jan 2006, Henrik Stoerner wrote:
in bb-hosts:
----
130.225.128.126   sieglinde.imada.sdu.dk
130.225.128.167   zaira.imada.sdu.dk

----
in ghosts:
130.225.128.126 reported host sieglinde
130.225.128.167 reported host zaira
The hostname you see in the "ghosts" list is the hostname the the
clients use when they report data. This *must* match the one found
in the bb-hosts file, or Hobbit will simply discard the client message
because it doesn't know which host it belongs to.

So you can either change your clients to use the "--hostname" option
(e.g. use "--hostname=sieglinde.imada.sdu.dk" when calling
runclient.sh), or add "CLIENT:sieglinde" to the entries in the
bb-hosts file.
It seems to partly(!) explain my puzzle:)
The way client presents to the server obviously was changed in the last upgrade (the day since my problems started).
The workstations which were down during my hobbit uprade could after restart continue with old hobbit_client until they become først PURPLE then '-' and were not upgraded.

Still I don't understand why my 2 servers (sparc/solaris9) stay GREEN on display even if there is an obvious name mismatch - AND there is no shade for incoming data from both servers in clientdata.log! (I am running hobbitd_client with --debug option)

in bb-hosts:
----
130.225.128.9      bach.imada.sdu.dk            # ssh dns rpc=mount,nfs
130.225.128.10     mozart.imada.sdu.dk          # http://www.imada.sdu.dk

in ghosts:
----
130.225.128.9   reported host bach
130.225.128.10  reported host mozart

in ...client/tmp/msg.txt:
----bach----
client bach.sunos
[date]
Fri Jan 13 13:37:05 MET 2006
....

----mozart----
client mozart.sunos
[date]
Fri Jan 13 12:43:58 CET 2006
....

on DISPLAY:
----
fredag 13 januar 2006, 13:39:17 CET - Disk partitions on mozart.imada.sdu.dk OK
fredag 13 januar 2006, 13:39:17 CET up: 164 day(s), 4 users, 77 procs, load=11

regards
Longina

--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--
list Craig Whilding · Fri, 13 Jan 2006 14:20:57 -0000 ·
If you start the client with --hostname=MYHOSTNAME (e.g --hostname=ariadne.imada.sdu.dk) it will report using this FQDN and you wont have to change bb-hosts.

Craig 
quoted from Longina Przybyszewska
-----Original Message-----
From: Longina Przybyszewska [mailto:user-db0a93c0e294@xymon.invalid] Sent: 13 January 2006 14:11
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] purple clients problem

still I have some linux clients that use single name instead of FQname -
they run the same software now ;)
I wouldn't like to mess the bb-hosts file since all our workstations suppose to be identical!

So, how is made the first line in client's msg.txt:

client aida.linux
  or
client ariadne,imada,sdu,dk.linux

Regards
Longina

--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--

On Fri, 13 Jan 2006, Longina Przybyszewska wrote:
UPS. I have just noticed that there are bbrun processes running
on those 2 servers from old BB installation.
I think  it explains all my the troubles -... make upgrades carefully...

By the way , is there a special bb_channel for BBclient-Hobbitserver
communication?

regards
Longina


--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--

On Fri, 13 Jan 2006, Longina Przybyszewska wrote:
On Thu, 12 Jan 2006, Henrik Stoerner wrote:
in bb-hosts:
----
130.225.128.126   sieglinde.imada.sdu.dk
130.225.128.167   zaira.imada.sdu.dk

----
in ghosts:
130.225.128.126 reported host sieglinde
130.225.128.167 reported host zaira
The hostname you see in the "ghosts" list is the hostname the the
clients use when they report data. This *must* match the one found
in the bb-hosts file, or Hobbit will simply discard the client message
because it doesn't know which host it belongs to.

So you can either change your clients to use the "--hostname" option
(e.g. use "--hostname=sieglinde.imada.sdu.dk" when calling
runclient.sh), or add "CLIENT:sieglinde" to the entries in the
bb-hosts file.
It seems to partly(!) explain my puzzle:)
The way client presents to the server obviously was changed in the last upgrade (the day since my problems started).
The workstations which were down during my hobbit uprade could after restart continue with old hobbit_client until they become først PURPLE then '-' and were not upgraded.

Still I don't understand why my 2 servers (sparc/solaris9) stay GREEN on display even if there is an obvious name mismatch - AND there is no shade for incoming data from both servers in clientdata.log! (I am running hobbitd_client with --debug option)

in bb-hosts:
----
130.225.128.9      bach.imada.sdu.dk            # ssh dns rpc=mount,nfs
130.225.128.10     mozart.imada.sdu.dk          # http://www.imada.sdu.dk

in ghosts:
----
130.225.128.9   reported host bach
130.225.128.10  reported host mozart

in ...client/tmp/msg.txt:
----bach----
client bach.sunos
[date]
Fri Jan 13 13:37:05 MET 2006
....

----mozart----
client mozart.sunos
[date]
Fri Jan 13 12:43:58 CET 2006
....

on DISPLAY:
----
fredag 13 januar 2006, 13:39:17 CET - Disk partitions on mozart.imada.sdu.dk OK
fredag 13 januar 2006, 13:39:17 CET up: 164 day(s), 4 users, 77 procs, load=11

regards
Longina

--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--