[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] reporting
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] reporting
- From: "Larry Barber" <lebarber (at) gmail.com>
- Date: Wed, 7 Nov 2007 17:07:11 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=Nh6ICuR5lOxVz1MxmYg2EGHXhdzkAU2azRyO5WxjcqI=; b=dTuPEBvoDfe6pe/5/0Pcm7aUcL3EZCIBHtDeJOUYTFtG/ELQfdn90+6ujqkBxGASDEr6DZIm1z4hsYsbrunXqcpeBUo1714U/wrTWkBc3vsNDZftaALYprAgmSVFNT3nz46VyzHat+8B8ARZp7zbBH7v66p5Gz+d/gFj6m+qwHg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Il1usaB9bs3rDdxIwFwd2e1WXEm6SumTG8cy1uRgM5Kv38bWQYiqwRWjn/gQbhacZhBkK1/LRRdMhDTTNqpk9vdOxyxSpfH/N6oO3eirjrCpmWBHWz6BuZDTp5CsE9b4/fadmd6Pej2bcp/8y0LGCMP9sCV8lJVyvoG3WIFmt6c=
- References: <199afa060711071219m6cdf73fdv3796cc9d0092781f (at) mail.gmail.com> <20071107223830.GA18657 (at) hswn.dk>
Thanks, that sounds workable.
Larry
On Nov 7, 2007 4:38 PM, Henrik Stoerner <henrik (at) hswn.dk> wrote:
> On Wed, Nov 07, 2007 at 02:19:08PM -0600, Larry Barber wrote:
> > What would it take to get the availability and snapshot reports to
> behave
> > the same way the event log, configuration and metrics report do when
> > invoked from other than the top page? That is, when invoked from a given
> > page only the servers listed on that page, or below, would be included
> in
> > the report. I work in a data center that has several different customers
> who
> > would like to use these reports, but we cannot let them since they would
> be
> > able to view data for other peoples machines.
>
> It would take some major reworking of the report generator, which is the
> same program that generates the regular Hobbit overall status webpages.
> This is the absolutely oldest part of Hobbit (it dates back to version
> 1.0 of Hobbit's predecessor, bbgen) - 5 years old on Nov 22nd.
>
> In my "master plan" I would like to rip out these static webpages, and
> have everything generated dynamically, which would make this a very
> simple thing to do.
>
> Meanwhile, what I've done at work - we have the exact same issue as You
> do - is to pre-generate reports with daily, weekly and monthly
> availability figures. Thanks to some Apache group-access controls I can
> then restrict peoples access to only those pages that they are allowed
> to see - it goes like this:
>
> <DirectoryMatch
> /var/lib/hobbit/www/periodic/(daily|weekly|monthly)/.*/Customer1>
> Require group admins customer1
> </DirectoryMatch>
>
> "admins" is ourselves, we can access everything. "customer1" is an
> Apache group, which then holds the web logins that the customer uses.
>
> Combined with putting these menu items in the "menu_items.js" file
>
> ['Daily Availability', '
> http://hobbit.foo.com/hobbit-cgi/bb-datepage.sh?type=day'<http://hobbit.foo.com/hobbit-cgi/bb-datepage.sh?type=day%27>
> ],
> ['Weekly Availability', '
> http://hobbit.foo.com/hobbit-cgi/bb-datepage.sh?type=week'<http://hobbit.foo.com/hobbit-cgi/bb-datepage.sh?type=week%27>
> ],
> ['Monthly Availability', '
> http://hobbit.foo.com/hobbit-cgi/bb-datepage.sh?type=month'<http://hobbit.foo.com/hobbit-cgi/bb-datepage.sh?type=month%27>
> ],
>
> you get the result than when you pick one of these pre-built availability
> reports from a web page, you're automatically directed to the same
> customer page.
>
>
> Henrik
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>