2007/11/8, Mathieu Grzybek <<a href="mailto:grzybek.mathieu@ig2i.fr">grzybek.mathieu@ig2i.fr</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I submitted PgSQL code + nagios 2.x patches a few months ago. I don't know if<br>Ethan read it or not.<br><br>Ethan told me that it should be more interesting to wait for the final db<br>scheme version.</blockquote>
<div><br>I found your post today, but I couldn't access the referenced URL. After downloading and trying the 1.4b7 version without success, I thought the effort had not evolved.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Le jeudi 08 novembre 2007, Andreas Ericsson a écrit:<br>> Antonio Grassi wrote:<br>> > Hi list. Maybe this message should have been sent to nagiosplug-devel,<br>> > sorry if that is the case.<br>> ><br>
> > I've been trying NDOUtils, and got it working with MySQL. I've also seen<br>> > that there are plans to add support for PostgreSQL storage, and browsing<br>> > the code I see there is already some work in that direction. I've also
<br>> > seen there are a couple of messages in nagios-devel and nagiosplug-devel<br>> > about versions with certain support for PostgreSQL, using 1.4b2 and 1.4b3<br>> > versions of NDOUtils.<br>> >
<br>> > I tried Nagios 3.0b5 and NDOUtils 1.4b6. The scripts for the creation of<br>> > the database schema are only for MySQL. I converted the script to<br>> > PostgreSQL format, and modified ndo2db.c to enable PostgreSQL. But when I
<br>> > turn everything up, I see that there are also hardcoded queries with<br>> > MySQL SQL format.<br>><br>> I thought most queries were in ANSI SQL. In what way are the queries<br>> incompatible with PostgreSQL (or any other sql-engine, for that matter)?
<br>><br><br>I should check the queries again.</blockquote><div><br>In particular, I've seen the query in src/db.c, line 317:<br><br>"INSERT INTO %s SET instance_name='%s'"<br><br>The INSERT INTO table SET column = value ... is a MySQL extension, as described in
<br><a href="http://dev.mysql.com/doc/refman/6.0/en/extensions-to-ansi.html">http://dev.mysql.com/doc/refman/6.0/en/extensions-to-ansi.html</a><br><br>I don't know if there are other non standard queries. <br></div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> > - is there a brach or something I'm missing, with a better grade of<br>> > support for PostgreSQL?
<br>><br>> Shouldn't think so. I haven't found one anyways.<br>><br>> > - is there somebody working in PostgreSQL support for NDOUtils (if yes,<br>> > who)?<br>><br><br>I am waiting for the final db scheme version to work on it.
<br><br>> Not that I know of. Did google turn up blank?<br><br><br>Mathieu<br><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by: Splunk Inc.<br>Still grepping through log files to find problems? Stop.
<br>Now Search log events and configuration files using AJAX and a browser.<br>Download your FREE copy of Splunk now >> <a href="http://get.splunk.com/">http://get.splunk.com/</a><br>_______________________________________________
<br>Nagios-devel mailing list<br><a href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-devel">https://lists.sourceforge.net/lists/listinfo/nagios-devel
</a><br></blockquote></div><br>Thanks for your reply.<br><br>Antonio<br>