<div>Thanks Henrik, the second bb-hosts file was the piece I was missing.  </div>
<div>Do you still have a wishlist on <a href="http://amazon.co.uk">amazon.co.uk</a>?  I looked for your name but didn't find anything.<br><br> </div>
<div><span class="gmail_quote">On 12/7/05, <b class="gmail_sendername">Henrik Stoerner</b> <<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Wed, Dec 07, 2005 at 11:13:15AM -0500, Bill Perez wrote:<br><br>> I am looking for some more information on the SLA reporting options within
<br>> Hobbit (running 4.1.2 on Fedora Core 4).  In the past I used the SLA Report<br>> script from <a href="http://deadcat.net">deadcat.net</a> for Big Brother where anyone could go to the report<br>> page, select their date range and the SLA Report button.  Within the
<br>> SLAreport script I had specified the servers we wanted to report on,<br>> options, timeframe.<br>> I have read the man pages for bbgen, bb-hosts and bb-replog but<br>> am not sure how to get this same functionality out of Hobbit.  I would like
<br>> our metrics person to be able to access the URL to select the date range and<br>> have it return on only our production servers from 7am-7pm.  I tried using<br>> hobbitreports.sh and modified the time, but it still showed up as 24x7 when
<br>> I generated the report and also wasn't sure where to specify only specific<br>> hosts within that file.  Any suggestions would be greatly appreciated.<br><br>Hobbit basically reads the hostlist from the bb-hosts file - any host
<br>listed there is included in the report. So if you want a report with<br>only a select set of hosts, you'll need to generate a special bb-hosts<br>file with only those hosts in it.<br><br>To use this special bb-hosts file, setup a script to run the report:
<br><br>  #!/bin/sh<br><br>  BBHOSTS=/home/hobbit/server/etc/report-hosts<br>  export BBHOSTS<br>  bbgen --reportopts=.....<br><br>and run it with "bbcmd myreportscript". You may want to look at the<br>hobbitreports.sh
 script included in Hobbit - it lets you pre-generate<br>reports on a daily/weekly/monthly basis.<br><br>Inside the bb-hosts file, you can then use the REPORTTIME parameter for<br>each host to define the time-of-day included where outages count in the
<br>SLA calculations that the report provides. If you use the same period<br>for all hosts, it's probably easiest to define this using a ".default."<br>host at the top of the bb-hosts file. E.g.<br><br><a href="http://0.0.0.0">
0.0.0.0</a> .default. # REPORTTIME=W:0700:1900<br><br>defines the default report-time to be weekdays from 7AM to 7PM. These<br>parameters and the ".default." hosts are described in the bb-hosts<br>man-page.<br><br>
<br>Regards,<br>Henrik<br><br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br>