Re: [Nagios-devel] XML, JSON, Webservice or something new ?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] XML, JSON, Webservice or something new ?

Post by Guest »

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=A0: Max [mailto:[email protected]]=20
Envoy=E9=A0: mardi 18 ao=FBt 2009 19:13
=C0=A0: Nagios Developers List
Objet=A0: Re: [Nagios-devel] XML, JSON, Webservice or something new ?

On Tue, Aug 18, 2009 at 12:31 PM, Sven-G=F6ran Bergh
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=20
trial. Simplify your report design, integration and deployment - and =
focus
on=20
what you do best, core application coding. Discover what's new with=20
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/lis ... gios-devel
=20

__________ Information provenant d'ESET NOD32 Antivirus, version de la =
base
des signatures de virus 4343 (20090817) __________

Le message a =E9t=E9 v=E9rifi=E9 par ESET NOD32 Antivirus.

http://www.eset.com
=20
=20

__________ Information provenant d'ESET NOD32 Antivirus, version de la =
base
des signatures de virus 4343 (20090817) __________

Le message a =E9t=E9 v=E9rifi=E9 par ESET NOD32 Antivirus.

http://www.eset.com
=20






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked