Xymon Mailing List Archive search

pulling data via hobbitdxboard

list Buchan Milne
Thu, 16 Nov 2006 18:45:00 +0200
Message-Id: <user-e6085c17f37d@xymon.invalid>

On Thursday 16 November 2006 18:18, Aiello, Steve (GE, Corporate, consultant) 
wrote:
Hello all,

I have been tasked with working a client app for users. Currently it is
basically a yahoo widget that feeds off the bbgen nstab page. We monitor
alot of sevices, and from that we have configured a good number of
Alternate PageSets. basically providing a focused Hobbit/BBGen display
for each group.

Now those groups can run a yahoo widget that parses the nstab.html for
all Critical alerts. And that seems to be working rather well. But this
got me to thinking. There is alot more data contained in the
hobbitdxboard output, that is much easier to use. Plus by using the
hobbitdxboard, users/groups can customize their query much more.

So basic questions I have:
1. is there a way to get to the hobbitdxboard data, other than using the
bb command ? Would be great if there was a web cgi for this.  If there
isn't I am sure I can whip up something using perl.

2. The question of load, should it be a concern ? I know all of the
hobbit data is stored in memory, so I didn't think this would be a
problem. Also I was thinking, that if I write a perl cgi, I could cache
the output of the query for 1 minute or so.  Since normal client update
period is 5 minutes...  caching the hobbitdxboard output for a minute
could save on any load.

Thoughts ?

After reading Henrik's mail on the architecture, specifically:
But it should be possible for an adventurous
programmer to use the core Hobbit daemons with their own web front-end
tools and come up with a completely different user-interface.
I wondered about writing a frontend in Catalyst 
(http://www.catalystframework.org/).

A Hobbit model plugin might be an idea ...

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)