Xymon Mailing List Archive search

Hobbit client doesn't report

8 messages in this thread

list Kevin Hanrahan · Sun, 30 Dec 2007 21:43:35 -0500 ·
Hello again all,
   To re-visit my question about the hobbit client, I have done the following:
 
 - downloaded and compiled the hobbit client on a SEPERATE machine from the hobbit server
   server = hercules
   client = castor
 - put an entry in bb-hosts on the server (hercules) for the client (castor) that looks like this:
     10.10.0.6           castor # trace 
 
- configured hobbitclient.cfg on the client to look like this:
    BBDISP="10.10.0.13"             # IP address of the Hobbit server
 
- started the hobbit client on the client machine (castor)
 
I get NO client data. All I get is the tests that are originated from the server (conn,info,trends)
 
 
Any ideas?
 
 
thank
 
kh
list Larry Barber · Sun, 30 Dec 2007 20:54:32 -0600 ·
Two things to check first, first can you connect on port 1984, try to telnet
from the client to the Hobbit server? Secondly, set the flag on hobbitd that
will cause it to report unknown hosts, I can't remember what it is off the
top of my head, look at the hobbitd man page.

Thanks,
Larry
quoted from Kevin Hanrahan

On Dec 30, 2007 8:43 PM, Kevin Hanrahan <user-80c5d6fed79a@xymon.invalid> wrote:
 Hello again all,
   To re-visit my question about the hobbit client, I have done the
following:

 - downloaded and compiled the hobbit client on a SEPERATE machine from
the hobbit server
   server = hercules
   client = castor
 - put an entry in bb-hosts on the server (hercules) for the client
(castor) that looks like this:
     10.10.0.6           castor # trace

- configured hobbitclient.cfg on the client to look like this:
    BBDISP="10.10.0.13"             # IP address of the Hobbit server

- started the hobbit client on the client machine (castor)

I get NO client data. All I get is the tests that are originated from the
server (conn,info,trends)


Any ideas?


thank

kh
list Josh Luthman · Sun, 30 Dec 2007 22:01:28 -0500 ·
Just to clarify, get on castor and do a telnet hercules 1984

I believe that ghost reporting is enabled by default.
quoted from Larry Barber

On 12/30/07, Larry Barber <user-6ef9c2864140@xymon.invalid> wrote:
Two things to check first, first can you connect on port 1984, try to
telnet from the client to the Hobbit server? Secondly, set the flag on
hobbitd that will cause it to report unknown hosts, I can't remember what it
is off the top of my head, look at the hobbitd man page.

Thanks,
Larry

On Dec 30, 2007 8:43 PM, Kevin Hanrahan <user-80c5d6fed79a@xymon.invalid>
wrote:
 Hello again all,
   To re-visit my question about the hobbit client, I have done the
following:

 - downloaded and compiled the hobbit client on a SEPERATE machine from
the hobbit server
   server = hercules
   client = castor
 - put an entry in bb-hosts on the server (hercules) for the client
(castor) that looks like this:
     10.10.0.6           castor # trace

- configured hobbitclient.cfg on the client to look like this:
    BBDISP="10.10.0.13"             # IP address of the Hobbit server

- started the hobbit client on the client machine (castor)

I get NO client data. All I get is the tests that are originated from
the server (conn,info,trends)


Any ideas?


thank

kh
-- 

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
list Larry Barber · Sun, 30 Dec 2007 21:02:56 -0600 ·
Another common problem, make sure the name in your bb-hosts file is exactly
the same as is being reported by the client, if the client is a *nix system
this will be the name returned by uname -n. If you don't want the fully
qualified name on the Hobbit web pages use the NAME: tag (see bb-hosts man
page) to change the display name.
quoted from Josh Luthman

Thanks,
Larry

On Dec 30, 2007 8:54 PM, Larry Barber <user-6ef9c2864140@xymon.invalid> wrote:
Two things to check first, first can you connect on port 1984, try to
telnet from the client to the Hobbit server? Secondly, set the flag on
hobbitd that will cause it to report unknown hosts, I can't remember what it
is off the top of my head, look at the hobbitd man page.

Thanks,
Larry


On Dec 30, 2007 8:43 PM, Kevin Hanrahan <user-80c5d6fed79a@xymon.invalid>
wrote:
 Hello again all,
   To re-visit my question about the hobbit client, I have done the
following:

 - downloaded and compiled the hobbit client on a SEPERATE machine from
the hobbit server
   server = hercules
   client = castor
 - put an entry in bb-hosts on the server (hercules) for the client
(castor) that looks like this:
     10.10.0.6           castor # trace

- configured hobbitclient.cfg on the client to look like this:
    BBDISP="10.10.0.13"             # IP address of the Hobbit server

- started the hobbit client on the client machine (castor)

I get NO client data. All I get is the tests that are originated from
the server (conn,info,trends)


Any ideas?


thank

kh
list Hobbit User in Richmond · Sun, 30 Dec 2007 22:10:02 -0500 (EST) ·
quoted from Kevin Hanrahan
On Sun, December 30, 2007 21:43, Kevin Hanrahan wrote:
Hello again all, To re-visit my question about the hobbit client, I have
done the following:

- downloaded and compiled the hobbit client on a SEPERATE machine from
the hobbit server server = hercules client = castor - put an entry in
bb-hosts on the server (hercules) for the client (castor) that looks like
this: 10.10.0.6           castor # trace

- configured hobbitclient.cfg on the client to look like this:
BBDISP="10.10.0.13"             # IP address of the Hobbit server

- started the hobbit client on the client machine (castor)

I get NO client data. All I get is the tests that are originated from the
 server (conn,info,trends)


Any ideas?
Anything in Reports-->Ghost Systems?  If the client's notion of the name
to report under doesn't match bb-hosts exactly, you may find it there.  If
so, fix bb-hosts and
bb 127.0.0.1 "rename <old-bb-hosts-hostname> <client-hostname>"
list Kevin Hanrahan · Mon, 31 Dec 2007 00:38:08 -0500 ·
Gentlemen,
  Thanks VERY much for your input. I found the problem. It was a naming convention. The example I sent did not have the original entry in the bb-hosts file. When I originally installed hobbit, I selected FQDN, so all my hosts had the FQDN. It looked like this:
 
10.10.0.6 castor.galaxy.prv # trace
however, I do not see an option in the client package to make the host report as a FQDN.
 
I changed the entry in the bb-hosts to use the short name while I was typing the entry to this forum. I looked later and found that 
it was now collecting data.
 
Is this a bug or just an oversight on my part?
 
Ideas?....and thanks for all your help.
 
Kevin> Date: Sun, 30 Dec 2007 22:10:02 -0500> From: user-24d6f8323faa@xymon.invalid> To: user-ae9b8668bcde@xymon.invalid> Subject: Re: [hobbit] Hobbit client doesn't report> > On Sun, December 30, 2007 21:43, Kevin Hanrahan wrote:> >> > Hello again all, To re-visit my question about the hobbit client, I have> > done the following:> >> > - downloaded and compiled the hobbit client on a SEPERATE machine from> > the hobbit server server = hercules client = castor - put an entry in> > bb-hosts on the server (hercules) for the client (castor) that looks like> > this: 10.10.0.6 castor # trace> >> > - configured hobbitclient.cfg on the client to look like this:> > BBDISP="10.10.0.13" # IP address of the Hobbit server> >> > - started the hobbit client on the client machine (castor)> >> > I get NO client data. All I get is the tests that are originated from the> > server (conn,info,trends)> >> >> > Any ideas?> >> > Anything in Reports-->Ghost Systems? If the client's notion of the name> to report under doesn't match bb-hosts exactly, you may find it there. If> so, fix bb-hosts and> bb 127.0.0.1 "rename <old-bb-hosts-hostname> <client-hostname>"> >  >
list Josh Luthman · Mon, 31 Dec 2007 00:54:01 -0500 ·
I believe that is a PEBKAC. =)
quoted from Kevin Hanrahan

On 12/31/07, Kevin Hanrahan <user-80c5d6fed79a@xymon.invalid> wrote:
 Gentlemen,
  Thanks VERY much for your input. I found the problem. It was a naming
convention. The example I sent did not have the original entry in the
bb-hosts file. When I originally installed hobbit, I selected FQDN, so all
my hosts had the FQDN. It looked like this:

10.10.0.6 castor.galaxy.prv # trace

however, I do not see an option in the client package to make the host
report as a FQDN.

I changed the entry in the bb-hosts to use the short name while I was
typing the entry to this forum. I looked later and found that
it was now collecting data.

Is this a bug or just an oversight on my part?

Ideas?....and thanks for all your help.

Kevin
Date: Sun, 30 Dec 2007 22:10:02 -0500
From: user-24d6f8323faa@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit client doesn't report

On Sun, December 30, 2007 21:43, Kevin Hanrahan wrote:
Hello again all, To re-visit my question about the hobbit client, I
have
done the following:

- downloaded and compiled the hobbit client on a SEPERATE machine from
the hobbit server server = hercules client = castor - put an entry in
bb-hosts on the server (hercules) for the client (castor) that looks
like
this: 10.10.0.6 castor # trace

- configured hobbitclient.cfg on the client to look like this:
BBDISP="10.10.0.13" # IP address of the Hobbit server

- started the hobbit client on the client machine (castor)

I get NO client data. All I get is the tests that are originated from
the
server (conn,info,trends)


Any ideas?
Anything in Reports-->Ghost Systems? If the client's notion of the name
to report under doesn't match bb-hosts exactly, you may find it there.
If
so, fix bb-hosts and
bb 127.0.0.1 "rename <old-bb-hosts-hostname> <client-hostname>"

-- 
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
list Padraig Lennon · Mon, 31 Dec 2007 10:57:46 -0000 ·
You could use something like this for the startup file.. This is what we
use here..
 
#!/bin/bash
#set -x
HOSTNAME=`hostname`
DOMAINNAME=xxx.yyy.com
 
if [ `echo ${HOSTNAME} | grep -ic "${DOMAINNAME}"` -eq 0 ]
then
    FQNAME=${HOSTNAME}"."${DOMAINNAME}
else
    FQNAME=${HOSTNAME}
fi
 
FQNAME=`echo $FQNAME | tr '[A-Z]' '[a-z]'`
 
case $1 in
'start')
        su - hobbit -c "/usr/local/hobbit/client/runclient.sh
--hostname=${FQNAME} start"
        ;;
'stop')
        su - hobbit -c "/usr/local/hobbit/client/runclient.sh
--hostname=${FQNAME} stop"
        ;;
'restart')
        su - hobbit -c "/usr/local/hobbit/client/runclient.sh
--hostname=${FQNAME} restart"
        ;;
*)
        echo "usage: $0 {start|stop|restart}"
        ;;
esac
 
 
Hope this helps
 
regards
 
 
Padraig Lennon
Senior Systems Engineer
Production Services
Pioneer Global Investments (Dublin)
5th Floor Georges Quay Plaza, Dublin 2
ext: XXXX
Direct dial: 00353 1 480 2081
quoted from Kevin Hanrahan
 

From: Kevin Hanrahan [mailto:user-80c5d6fed79a@xymon.invalid] 
Sent: 31 December 2007 05:38
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit client doesn't report


Gentlemen,
  Thanks VERY much for your input. I found the problem. It was a naming
convention. The example I sent did not have the original entry in the
bb-hosts file. When I originally installed hobbit, I selected FQDN, so
all my hosts had the FQDN. It looked like this:
 
10.10.0.6 castor.galaxy.prv # trace

however, I do not see an option in the client package to make the host
report as a FQDN.
 
I changed the entry in the bb-hosts to use the short name while I was
typing the entry to this forum. I looked later and found that 
it was now collecting data.
 
Is this a bug or just an oversight on my part?
 
Ideas?....and thanks for all your help.
 
Kevin
Date: Sun, 30 Dec 2007 22:10:02 -0500
From: user-24d6f8323faa@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit client doesn't report

On Sun, December 30, 2007 21:43, Kevin Hanrahan wrote:
Hello again all, To re-visit my question about the hobbit client, I
have
done the following:

- downloaded and compiled the hobbit client on a SEPERATE machine
from
the hobbit server server = hercules client = castor - put an entry
in
bb-hosts on the server (hercules) for the client (castor) that looks
like
this: 10.10.0.6 castor # trace

- configured hobbitclient.cfg on the client to look like this:
BBDISP="10.10.0.13" # IP address of the Hobbit server

- started the hobbit client on the client machine (castor)

I get NO client data. All I get is the tests that are originated
from the
server (conn,info,trends)


Any ideas?
Anything in Reports-->Ghost Systems? If the client's notion of the
name
to report under doesn't match bb-hosts exactly, you may find it there.
If
so, fix bb-hosts and
bb 127.0.0.1 "rename <old-bb-hosts-hostname> <client-hostname>"