[Icinga-devel] other API than PHP planned?

Shane Webster swebster at pixius.com
Thu May 7 20:57:47 CEST 2009


Henning,
	That is an excellent point, My mind was thinking of the bottom line. REST would be my vote, haven't used it much, but from my reading and current experience with that style it would seem the most acceptable.

Shane Webster

-----Original Message-----
From: Henning Sprang [mailto:henning.sprang at gmail.com] 
Sent: Thursday, May 07, 2009 1:51 PM
To: icinga-devel at lists.sourceforge.net
Subject: Re: [Icinga-devel] other API than PHP planned?

On Thu, May 7, 2009 at 8:18 PM, Shane Webster <swebster at pixius.com> wrote:
> Using the database as the pure access point for all information and control of the nagios core would be ideal. This would allow for
> any language (with db support of course) to be used as a frontend

Sure, you always have that possibility to tinker directly on database
tables (or config file, or rrd-data, or whatever), as a user who
controls his own databases cannot be prevented from that.

The idea of an API made accessible via a programming library and/or
remote service, be it SOAP, XML-RPC or REST( I forgot to mention that
because I never worked with it, but sounds viable, too) is to simplify
as well as encapsulate access to this database.

That means, a programmer/integrator can act on the data and maybe also
configuration without knowing too much details of the database design,
and by encapsulating it, you can save the data from being manipulated
in a way that breaks the whole system due to data insonsistency and
similar funny things.

Henning

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Icinga-devel mailing list
Icinga-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-devel






More information about the icinga-devel mailing list