Hobbit client doesn't report
list Kevin Hanrahan
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
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 Josh Luthman
Just to clarify, get on castor and do a telnet hercules 1984 I believe that ghost reporting is enabled by default.
▸
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
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.
▸
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
▸
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
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
I believe that is a PEBKAC. =)
▸
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. KevinDate: 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.Ifso, 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
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
▸
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>"