<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>

<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=357005410-31122007>You could use something like this for the startup 
file.. This is what we use here..</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN 
class=357005410-31122007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><EM>#!/bin/bash<BR>#set 
-x<BR>HOSTNAME=`hostname`<BR>DOMAINNAME=<SPAN 
class=357005410-31122007>xxx</SPAN>.<SPAN 
class=357005410-31122007>yyy</SPAN>.com</EM></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff><EM></EM></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><EM>if [ `echo 
${HOSTNAME} | grep -ic "${DOMAINNAME}"` -eq 0 ]<BR>then<BR>    
FQNAME=${HOSTNAME}"."${DOMAINNAME}<BR>else<BR>    
FQNAME=${HOSTNAME}<BR>fi</EM></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff><EM></EM></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff><EM>FQNAME=`echo $FQNAME 
| tr '[A-Z]' '[a-z]'`</EM></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff><EM></EM></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><EM>case $1 
in<BR>'start')<BR>        su - <SPAN 
class=357005410-31122007>hobbit</SPAN> -c "/usr/local/hobbit/client/runclient.sh 
--hostname=${FQNAME} start"<BR>        
;;<BR>'stop')<BR>        su - <SPAN 
class=357005410-31122007>hobbit</SPAN> -c "/usr/local/hobbit/client/runclient.sh 
--hostname=${FQNAME} stop"<BR>        
;;<BR>'restart')<BR>        su - <SPAN 
class=357005410-31122007>hobbit</SPAN> -c "/usr/local/hobbit/client/runclient.sh 
--hostname=${FQNAME} restart"<BR>        
;;<BR>*)<BR>        echo "usage: $0 
{start|stop|restart}"<BR>        ;;<BR><SPAN 
class=357005410-31122007>esac</SPAN></EM></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><SPAN 
class=357005410-31122007></SPAN></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><SPAN 
class=357005410-31122007></SPAN></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><SPAN 
class=357005410-31122007>Hope this helps</SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><SPAN 
class=357005410-31122007></SPAN></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><SPAN 
class=357005410-31122007>regards</SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><SPAN 
class=357005410-31122007></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff></FONT> </DIV>
<DIV align=left>
<DIV align=left><SPAN class=530594715-28092007><FONT face=Arial><STRONG>Padraig 
Lennon</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=530594715-28092007><FONT face=Arial><STRONG>Senior Systems 
Engineer</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=530594715-28092007><STRONG><FONT face=Arial>Production 
Services</FONT></STRONG></SPAN></DIV>
<DIV><SPAN class=530594715-28092007><FONT face=Arial><STRONG>Pioneer Global 
Investments (Dublin)</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=530594715-28092007><FONT face=Arial><STRONG><SPAN 
class=530594715-28092007><FONT face=Arial><STRONG>5th Floor Georges Quay Plaza, 
Dublin 2</STRONG></FONT></SPAN></STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=530594715-28092007><FONT face=Arial><STRONG>ext: 
2081</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=530594715-28092007><FONT face=Arial><STRONG>Direct dial: 00353 
1 480 2081</STRONG></FONT></SPAN></DIV></DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> Kevin Hanrahan 
[mailto:kevinmhanrahan@hotmail.com] <BR><B>Sent:</B> 31 December 2007 
05:38<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> RE: [hobbit] Hobbit client 
doesn't report<BR></FONT><BR></DIV>
<DIV></DIV>Gentlemen,<BR>  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:<BR> <BR>10.10.0.6 castor.galaxy.prv # trace<BR><BR>however, I do not 
see an option in the client package to make the host report as a 
FQDN.<BR> <BR>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 <BR>it 
was now collecting data.<BR> <BR>Is this a bug or just an oversight on my 
part?<BR> <BR>Ideas?....and thanks for all your 
help.<BR> <BR>Kevin<BR><BR>> Date: Sun, 30 Dec 2007 22:10:02 
-0500<BR>> From: hobbit@epperson.homelinux.net<BR>> To: 
hobbit@hswn.dk<BR>> Subject: Re: [hobbit] Hobbit client doesn't 
report<BR>> <BR>> On Sun, December 30, 2007 21:43, Kevin Hanrahan 
wrote:<BR>> ><BR>> > Hello again all, To re-visit my question about 
the hobbit client, I have<BR>> > done the following:<BR>> ><BR>> 
> - downloaded and compiled the hobbit client on a SEPERATE machine 
from<BR>> > the hobbit server server = hercules client = castor - put an 
entry in<BR>> > bb-hosts on the server (hercules) for the client (castor) 
that looks like<BR>> > this: 10.10.0.6 castor # trace<BR>> ><BR>> 
> - configured hobbitclient.cfg on the client to look like this:<BR>> > 
BBDISP="10.10.0.13" # IP address of the Hobbit server<BR>> ><BR>> > 
- started the hobbit client on the client machine (castor)<BR>> ><BR>> 
> I get NO client data. All I get is the tests that are originated from 
the<BR>> > server (conn,info,trends)<BR>> ><BR>> ><BR>> 
> Any ideas?<BR>> ><BR>> <BR>> Anything in Reports-->Ghost 
Systems? If the client's notion of the name<BR>> to report under doesn't 
match bb-hosts exactly, you may find it there. If<BR>> so, fix bb-hosts 
and<BR>> bb 127.0.0.1 "rename <old-bb-hosts-hostname> 
<client-hostname>"<BR>> <BR>> To unsubscribe from the hobbit list, 
send an e-mail to<BR>> hobbit-unsubscribe@hswn.dk<BR>> <BR>> 
<BR><BR></BODY></HTML>