XML, JSON, Webservice or something new ?
Yann Jouanin
yann.jouanin.list at intelunix.fr
Tue Aug 18 19:58:08 CEST 2009
And I do remember it would be easy enough to write a sqlite backend (at
least for status)...
A good point would be to get Ethan input!
Yann
-----Message d'origine-----
De : Max [mailto:perldork at webwizarddesign.com]
Envoyé : mardi 18 août 2009 19:13
À : Nagios Developers List
Objet : Re: [Nagios-devel] XML, JSON, Webservice or something new ?
On Tue, Aug 18, 2009 at 12:31 PM, Sven-Göran Bergh<sgb at systemasis.com>
wrote:
> If we think of it as two parts, a filebased DB backend
> and a webservice. Wouldn't it make sense to take a
> look at the DB schema used by Merlin & Ninja, or is it
> too heavy? Possibly the same schema could be used and
> potentially open for the use of Ninja (the officially
> "new" Nagios GUI) without involving Merlin. Don't get
> me wrong here. I really like Merlin, it rocks, but if
> you do not need all its funtionality a lightweight
> DB only alternative whould be nice.
Definitely worth investigating and at the same time I really like the
idea of having an embedded / zero admin DB for Nagios for current
information, one that is not much heavier than the flat files :).
> I realize that some information will be missing, but
> the potential of code re-use is there.
Agreed.
> For the backend my vote is on SQLite. It supports more
> client apps any way.
Good point, tons of language bindings for it as well. need to learn
more about COB.
> I am not the man to judge pros & cons of JSON vs XML.
> But if we are talking web services, the client app
> does not need to be a web page. Is JSON suitable for
> other client apps as well? Just asking, I don't know.
Absolutely, it is lightweight and every language I know of has very
easy to use serialize / deserialize methods that turn JSON into
language specific structures.
- max
----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
__________ Information provenant d'ESET NOD32 Antivirus, version de la base
des signatures de virus 4343 (20090817) __________
Le message a été vérifié par ESET NOD32 Antivirus.
http://www.eset.com
__________ Information provenant d'ESET NOD32 Antivirus, version de la base
des signatures de virus 4343 (20090817) __________
Le message a été vérifié par ESET NOD32 Antivirus.
http://www.eset.com
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
More information about the Developers
mailing list