[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Access to Xymon data via library functions?
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Access to Xymon data via library functions?
- From: "Husemann, Harald" <Harald.Husemann (at) materna.de>
- Date: Mon, 30 Mar 2009 17:56:56 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=materna.de; s=mail; t=1238428617; bh=lbEN8xstTv5dxOMvG3cEOnmuSWrcMup0oHJ3vC1eHQI=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=C7Ml2tQNOpvk6vGS6Eevzbcx/ZhZq5NfKgpY9tJ1jIkOGbTkRaHXLpJEaoQx+eRKt AUiXzqC7SXnh44dw+ic064ukx3v0onnVqY7xMy4OyHSkbTq7QQLF0CeUotIJxT54I0 dxYjYV4TBzibCqY0cHunGNMdzrkSWI3R5xO3xuvk=
- References: <1F7B01020EC4D04DA17703634B9E888E09BFE985 (at) ULPGCTMVMAI003.EU.COLT> <1F7B01020EC4D04DA17703634B9E888E0A01CB4A (at) ULPGCTMVMAI003.EU.COLT> <200903301252.27882.bgmilne (at) staff.telkomsa.net> <1238419695.14074.118.camel (at) mcdonalddj-dc.austin-energy.net>
- User-agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724)
Hi,
for Perl, there is a library called "Hobbit_fd_lib". I found it along
with dbcheck.pl, which we use for database checking - I don't know if
it's only a part of dbcheck, or a stand-alone lib. Nevertheless, it
seems to be useful (although I never used it in my own scripts, since
these were all ported from old-style BB).
Another possible solution could be bbhostshow or bbhostgrep, or the
already mentioned hobbit dashboard.
Btw.: Nice idea to have the hobbit config in a database, I've also
thought about this...
hh
McDonald, Dan schrieb:
On Mon, 2009-03-30 at 12:52 +0200, Buchan Milne wrote:
On Monday 30 March 2009 08:43:35 Ward, Martin wrote:
Henrik/All,
I have spent the last few days writing a Perl script that reads through the
/hostdata/ files, extracts interface information for each server that I
monitor and writes/updates a MySQL database. I now want to extract other
information from the same file which brings up the question: Is there any
sort of library of functions that I could compile into a C program to make
access to this data any easier? I have had a poke through the sources for
Xymon 4.2.2 but can't find what I need 8-(
Actually, I was thinking about this, as it would be useful to be able to
access some configuration information in (e.g.) perl. Ideally, if there were a
shared library for Hobbit/Xymon that included the functions for reading
configuration, events, data, it could be exposed to scripting languages as
well.
bb localhost "hobbitdxboard..." ??
--
Harald Husemann
Netzwerk- und Systemadministrator
Operation Management Center (OMC)
MATERNA GmbH
Information & Communications
Westfalendamm 98
44141 Dortmund
Geschäftsführer: Dr. Winfried Materna, Helmut an de Meulen, Ralph Hartwig
Amtsgericht Dortmund HRB 5839
Tel: +49 231 9505 222
Fax: +49 231 9505 100
www.annyway.com <http://www.annyway.com/>
www.materna.com <http://www.materna.com/>