Hobbit client doesn't report
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
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 <kevinmhanrahan at hotmail.com> 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
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 <lebarber at gmail.com> 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 <kevinmhanrahan at hotmail.com> 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: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
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 <lebarber at gmail.com> 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 <kevinmhanrahan at hotmail.com> 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
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>"
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: hobbit at epperson.homelinux.net> To: hobbit at hswn.dk> 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>"> > To unsubscribe from the hobbit list, send an e-mail to> hobbit-unsubscribe at hswn.dk> >
I believe that is a PEBKAC. =)
On 12/31/07, Kevin Hanrahan <kevinmhanrahan at hotmail.com> 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: hobbit at epperson.homelinux.net To: hobbit at hswn.dk 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>"
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
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: 2081 Direct dial: 00353 1 480 2081
From: Kevin Hanrahan [mailto:kevinmhanrahan at hotmail.com] Sent: 31 December 2007 05:38 To: hobbit at hswn.dk 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: hobbit at epperson.homelinux.net To: hobbit at hswn.dk 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>"
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (5)
-
hobbit@epperson.homelinux.net
-
josh@imaginenetworksllc.com
-
kevinmhanrahan@hotmail.com
-
lebarber@gmail.com
-
Padraig.Lennon@pioneerinvestments.com