Nagios2JSON

Yann JOUANIN yann.jouanin.list at intelunix.fr
Sun Jun 15 20:31:05 CEST 2008


Thanks a lot Thomas.

I will try to deploy it on high load test platform, if anyone could test it
and give some feedback ...
I will send to version for Nagios3 in a few time.


Yann Jouanin
http://www.yannj.fr



-----Message d'origine-----
De : nagios-devel-bounces at lists.sourceforge.net
[mailto:nagios-devel-bounces at lists.sourceforge.net] De la part de Thomas
Guyot-Sionnest
Envoyé : dimanche 15 juin 2008 18:52
À : Nagios Developers List
Objet : Re: [Nagios-devel] Nagios2JSON

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14/06/08 11:16 PM, Yann JOUANIN wrote:
> I finished coding the XSDJSON backend for Nagios, it works on Nagios 2 
> (I'm finishing the Nagios3 version).
> Now by enabling USE_XSDJSON, the file status.dat is formatted in JSON 
> format and the CGI are reading status from this format.
> 
> For the ones who want to test it, file are available on : 
> 
> http://nagios2json.svn.sourceforge.net/viewvc/nagios2json/XSDJSON/trun
> k/NAGI
> OS2/

Awesome work!

I made it as a single patch for 2.x-cvs which also includes configure.in
modifications.

After applying the patch, be sure to run "autoconf" then you can configure
Nagios with JSON routines with:

./configure --enable-xsdjson

Configure will print the following near the end:
We'll use JSON routines (in xdata/xsdjson.*) for status data I/O...

Then usual make and make install to get everything installed.

I haven't tested it yet (lack of time) but it does build successfully with
JSON routines.

Enjoy :)

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIVUi26dZ+Kt5BchYRAqWcAJ40Eco7ZBoYPZMRb5y++rCSBey8TQCg4k0c
nQv0AzVIcDBDUIeptwoTLGg=
=oDjl
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php




More information about the Developers mailing list