<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Icinga</title>
	
	<link>http://www.icinga.org</link>
	<description>Open Source Monitoring</description>
	<lastBuildDate>Wed, 11 Nov 2009 22:24:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/icinga-org" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Fixes for Icinga IDOUtils MySQL</title>
		<link>http://feedproxy.google.com/~r/icinga-org/~3/di_2dVreCDE/</link>
		<comments>http://www.icinga.org/2009/11/12/fixes-for-icinga-idoutils-mysql/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 22:24:16 +0000</pubDate>
		<dc:creator>Michael Friedrich</dc:creator>
				<category><![CDATA[Core]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Icinga]]></category>
		<category><![CDATA[IDOUtils]]></category>
		<category><![CDATA[tracker]]></category>

		<guid isPermaLink="false">http://www.icinga.org/?p=1487</guid>
		<description><![CDATA[Hi there,
just wanted to give you some updates regarding several fixes for Icinga IDOUtils. There were reports about doubled rows within several tables, where data only gets inserted and not updated. During my analysis it came up that there are several mistaken unique constraint definitions within the table creation for MySQL.
The unique constraint makes sure [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there,</p>
<p>just wanted to give you some updates regarding several fixes for Icinga IDOUtils. There were reports about <strong>doubled rows within several tables</strong>, where <strong>data only gets inserted and not updated</strong>. During my analysis it came up that there are several <strong>mistaken unique constraint definitions</strong> within the table creation for MySQL.</p>
<p>The unique constraint makes sure that if an <em>INSERT</em> will try to insert updated data, that this will create an internal exception which is caught within the <em>ON DUPLICATE KEY</em> clause. If caught, an <em>UPDATE</em> will be issued and everything is fine.</p>
<p>Regarding the table <strong>servicecheck</strong>, this was missing. So the start time of the servicecheck was inserted to the database, and when the servicecheck was complete, the end time also was inserted as own row into the database. Kind of useless 2 rows isn&#8217;t it? ;-)</p>
<p>Today i did some further investigations on that since this happened with <strong>systemcommands</strong> too. It came up that tables <strong>timedevents</strong> and <strong>timedeventqueue</strong> had that &#8220;feature&#8221; too.</p>
<p><strong>This is really bad</strong> because there are lots of those queries issued and <strong>data will grow fast</strong>. Not this time because there has been another modification to idomod.cfg &#8211; the data processing options haven been modified to ignore timedevents by default. It will improve IDOUtils a bit, but your <a href="http://www.icinga.org/community/" target="_blank">feedback</a> is as always very welcome!</p>
<p>Back to topic &#8211; those <strong>missing unique constraints have been added to <a href="https://git.icinga.org/index?p=icinga-core.git;a=summary" target="_blank">actual GIT Master</a></strong> (fixing <a href="https://dev.icinga.org/issues/show/173" target="_blank">#173</a> and <a href="https://dev.icinga.org/issues/show/181" target="_blank">#181</a> &#8211; check for analysis and comparison) so make sure you get the latest and the greatest! :-)</p>
<p>For those who are using Postgresql or Oracle &#8211; I have implemented and debugged them in deep. And they have own <em>WHERE</em> clauses for <em>UPDATE</em> &#8211; so no worries about that, everything is fine! =)</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.icinga.org%2F2009%2F11%2F12%2Ffixes-for-icinga-idoutils-mysql%2F&amp;linkname=Fixes%20for%20Icinga%20IDOUtils%20MySQL"><img src="http://www.icinga.org/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/icinga-org/~4/di_2dVreCDE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icinga.org/2009/11/12/fixes-for-icinga-idoutils-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.icinga.org/2009/11/12/fixes-for-icinga-idoutils-mysql/</feedburner:origLink></item>
		<item>
		<title>Playing with Oracle, ocilib and parameter bindings</title>
		<link>http://feedproxy.google.com/~r/icinga-org/~3/UA5MJys6W24/</link>
		<comments>http://www.icinga.org/2009/11/09/playing-with-oracle-ocilib-and-parameter-bindings/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 23:13:49 +0000</pubDate>
		<dc:creator>Michael Friedrich</dc:creator>
				<category><![CDATA[Core]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Icinga]]></category>
		<category><![CDATA[IDOUtils]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[libdbi]]></category>
		<category><![CDATA[mailinglist]]></category>
		<category><![CDATA[ocilib]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[tracker]]></category>

		<guid isPermaLink="false">http://www.icinga.org/?p=1365</guid>
		<description><![CDATA[Hi there,
IDOUtils queries differ quite a lot &#8211; some of the are just executed during startup, while others happen all the time. By analyzing the performance on our Oracle database with grid  it came to the top queries just like for

servicechecks, servicestatus
hostchecks, hoststatus
timedevents
programstatus

But how to improve the performance of those queries when they are called [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there,</p>
<p>IDOUtils queries differ quite a lot &#8211; some of the are just executed during startup, while others happen all the time. By analyzing the performance on our Oracle database with grid  it came to the top queries just like for</p>
<ul>
<li>servicechecks, servicestatus</li>
<li>hostchecks, hoststatus</li>
<li>timedevents</li>
<li>programstatus</li>
</ul>
<p>But how to <strong>improve the performance</strong> of those queries when they are called all the time?</p>
<p>Well, the query as is is always the same, only the values happen to change. So the basic idea is to <strong>prepare the statements with value place holders</strong> and if it comes to the query, just to <strong>bind the paramaters</strong> (values) <strong>to the prepared statement</strong> and <strong>execute that</strong>. This is a real performance boost compared to putting the query within the rdbm cache all the time.</p>
<p>Generally speaking the query statements are prepared after database connection and the statement handle is stored within the global dbinfo object (where the connection handler resides too).</p>
<p><code>dbinfo.oci_statement_programstatus = OCI_StatementCreate(dbinfo.oci_connection);<br />
OCI_Prepare(dbinfo.oci_statement_programstatus, MT("MERGE INTO table USING DUAL ON (v1=:X1) WHEN MATCHED THEN UPDATE SET v2=:X2 WHEN NOT MATCHED THEN INSERT (v1, v2) VALUES (:X1, :X2)"))</code></p>
<p>When a query should be executed, all values will be binded (X1, X2) to the statement.</p>
<p><code>OCI_BindUnsignedBigInt(dbinfo.oci_statement_programstatus, MT(":X1"), (big_uint *) value1)<br />
OCI_BindString(dbinfo.oci_statement_programstatus, MT(":X2"), (char *) value2)</code></p>
<p>Then the query gets executed.</p>
<p><code>OCI_Execute(dbinfo.oci_statement_programstatus);</code></p>
<p>Well it sounds quite simple but regarding the architecture of *DOUtils it was a hard nut to crack. The most common problem was the query buffer building &#8211; each unixtimestamp conversion is done before query building and sending the query. That does not fit for prepared statements where the whole query is pushed into the database cache.</p>
<p>Within the code, there is an char* array which gets the SQL-code from ndo2db_db_timet_to_sql and this is then printed to the whole statements. Not very useful since you may paste that right within each query. For the prepared statements, I&#8217;ve added all plain unixtimestamps to the data[] array and then binding the values directly.</p>
<p><code>(SELECT unixts2date(:X3) FROM DUAL)</code></p>
<p>So the <strong>bind param task has been done for the initial steps</strong>, improved delete statements and other improvements need to be implemented.</p>
<p>Another thing which was quite nasty is that Oracle support was dependant on libdbi, but it was not even used. So I decided to split the code completely and change configure. If you use &#8211;enable-oracle it will only require ocilib to work, it does not complain about a missing libdbi. The other way around it also works fine just like it was.</p>
<p>Conclusion to that &#8211; <strong>you won&#8217;t need libdbi to get Oracle support for Icinga IDOUtils &#8211; just <a href="http://orclib.sourceforge.net/" target="_blank">ocilib</a></strong>.</p>
<p>Those improvements have been pushed to <a href="https://git.icinga.org/index?p=icinga-core.git;a=summary" target="_blank">actual GIT master</a> und you are very welcome to test and report bugs! =)</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.icinga.org%2F2009%2F11%2F09%2Fplaying-with-oracle-ocilib-and-parameter-bindings%2F&amp;linkname=Playing%20with%20Oracle%2C%20ocilib%20and%20parameter%20bindings"><img src="http://www.icinga.org/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/icinga-org/~4/UA5MJys6W24" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icinga.org/2009/11/09/playing-with-oracle-ocilib-and-parameter-bindings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.icinga.org/2009/11/09/playing-with-oracle-ocilib-and-parameter-bindings/</feedburner:origLink></item>
		<item>
		<title>Icinga Web UI installer (testing)</title>
		<link>http://feedproxy.google.com/~r/icinga-org/~3/2atJrG-gIWo/</link>
		<comments>http://www.icinga.org/2009/11/06/icinga-web-ui-installer-testing/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 05:07:57 +0000</pubDate>
		<dc:creator>Scott Evans</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Icinga]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.icinga.org/?p=1356</guid>
		<description><![CDATA[Recently work has been started on setting up an installer for the new Icinga-web UI. This is currently available via the git repository located at https://git.icinga.org/index (git clone git://git.icinga.org/icinga-web.git to get a fresh branch) then simply follow the instructions in the text file /doc/install-fromscratch.txt this will talk you through the remainder of the process.
Listed below [...]]]></description>
			<content:encoded><![CDATA[<p>Recently work has been started on setting up an installer for the new Icinga-web UI. This is currently available via the git repository located at <a title="https://git.icinga.org/index" href="https://git.icinga.org/index" target="_blank">https://git.icinga.org/index</a> (git clone git://git.icinga.org/icinga-web.git to get a fresh branch) then simply follow the instructions in the text file /doc/install-fromscratch.txt this will talk you through the remainder of the process.</p>
<p>Listed below are the configure options&#8230;</p>
<pre>./configure --help
`configure' configures this package to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
 -h, --help              display this help and exit/
 --help=short        display options specific to this package
 --help=recursive    display the short help of all the included packages
 -V, --version           display version information and exit
 -q, --quiet, --silent   do not print `checking...' messages
 --cache-file=FILE   cache test results in FILE [disabled]
 -C, --config-cache      alias for `--cache-file=config.cache'
 -n, --no-create         do not create output files
 --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
 --prefix=PREFIX         install architecture-independent files in PREFIX
 [/usr/local/icinga-web]
 --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 [PREFIX]

By default, `make install' will install all the files in
`/usr/local/icinga-web/bin', `/usr/local/icinga-web/lib' etc.  You can specify
an installation prefix other than `/usr/local/icinga-web' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
 --bindir=DIR            user executables [EPREFIX/bin]
 --sbindir=DIR           system admin executables [EPREFIX/sbin]
 --libexecdir=DIR        program executables [EPREFIX/libexec]
 --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 --libdir=DIR            object code libraries [EPREFIX/lib]
 --includedir=DIR        C header files [PREFIX/include]
 --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 --infodir=DIR           info documentation [DATAROOTDIR/info]
 --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 --mandir=DIR            man documentation [DATAROOTDIR/man]
 --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 --htmldir=DIR           html documentation [DOCDIR]
 --dvidir=DIR            dvi documentation [DOCDIR]
 --pdfdir=DIR            pdf documentation [DOCDIR]
 --psdir=DIR             ps documentation [DOCDIR]

Optional Packages:
 --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
--with-web-user=&lt;user&gt; sets user name to run icinga
--with-web-group=&lt;group&gt; sets group name to run icinga
--with-bin-user=&lt;user&gt; sets user name for common webfiles
--with-bin-group=&lt;group&gt; sets group for common webfiles

Some influential environment variables:
 CC          C compiler command
 CFLAGS      C compiler flags
 LDFLAGS     linker flags, e.g. -L&lt;lib dir&gt; if you have libraries in a
 nonstandard directory &lt;lib dir&gt;
 LIBS        libraries to pass to the linker, e.g. -l&lt;library&gt;
 CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I&lt;include dir&gt; if
 you have headers in a nonstandard directory &lt;include dir&gt;

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to the package provider.</pre>
<p>So at this stage the installer is just placing the files and setting the permissions for the Icinga-web UI it is not setting up Apache nor checking the necessary prerequisites this still needs to be done manually.</p>
<p>Please report any bug/issues to the Icinga development team at icinga-devel@lists.sourceforge.net</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.icinga.org%2F2009%2F11%2F06%2Ficinga-web-ui-installer-testing%2F&amp;linkname=Icinga%20Web%20UI%20installer%20%28testing%29"><img src="http://www.icinga.org/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/icinga-org/~4/2atJrG-gIWo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icinga.org/2009/11/06/icinga-web-ui-installer-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.icinga.org/2009/11/06/icinga-web-ui-installer-testing/</feedburner:origLink></item>
		<item>
		<title>Genotec choosing Icinga for monitoring solution!</title>
		<link>http://feedproxy.google.com/~r/icinga-org/~3/xAwrKxVO-3Q/</link>
		<comments>http://www.icinga.org/2009/10/31/genotec-choosing-icinga-for-monitoring-solution/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 02:25:11 +0000</pubDate>
		<dc:creator>Scott Evans</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Genotec]]></category>
		<category><![CDATA[Icinga]]></category>

		<guid isPermaLink="false">http://www.icinga.org/?p=1336</guid>
		<description><![CDATA[
With recent correspondence from Thomas Spycher of Genotec.ch, He has informed us that they (Genotec.ch) have chosen to utilise Icinga for the monitoring (appropriately 500 hosts!) of their server equipment.
Here are some extracts from a recent Blog from Thomas with his thoughts on Icinga, and how he will be implementing it throughout Genotec.ch

Original  post [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.genotec.ch/"><img class="aligncenter size-medium wp-image-1337" title="Genotec-Icinga" src="http://www.icinga.org/wp-content/uploads/2009/10/Genotec-Icinga-300x83.png" alt="Genotec-Icinga" width="300" height="83" /></a></p>
<p>With recent correspondence from Thomas Spycher of Genotec.ch, He has informed us that they (Genotec.ch) have chosen to utilise Icinga for the monitoring (appropriately 500 hosts!) of their server equipment.</p>
<p>Here are some extracts from a recent Blog from Thomas with his thoughts on Icinga, and how he will be implementing it throughout Genotec.ch</p>
<blockquote>
<h6 style="text-align: center;"><em>Original  post from: <a title="http://www.genotec.ch/blog/index.php/2009/10/27/netzwerk-und-server-monitoring-mit-icinga/" href="http://www.genotec.ch/blog/index.php/2009/10/27/netzwerk-und-server-monitoring-mit-icinga/" target="_blank">netzwerk-und-server-monitoring-mit-icinga</a></em></h6>
<p>&#8230; Icinga still is quite young but my first tests ran extremely stable. The text-based configuration is more complex but provides a lot of possibilities for automated solutions.</p>
<p>&#8230; First Tests were very successful and we are thinking about replacing the current productive monitoring system by icinga. Due to the great flexibility, extensions are set up extremely fast.</p>
<p>&#8230; That&#8217;s why Genotec doesn&#8217;t use just sms and e-mail for notification but also Prowl to push notifications directly to iphones. For documentation of outages, internal tracker items for the internal system are automatically generated. There are endless opportunities. It takes 5 minutes to set up notifications via twitter.</p>
<p>&#8230; Contact to the developers of Icinga is great! We and Icinga are looking forward to complete the go-live of our instance and to release the first Icinga stable. Furthermore we are confident about the teamwork with Icinga and we are sure Gentotec and Icinga can benefit from it.</p>
<p>&#8230; It looks like Gentoc is the first provider who relies on Icinga. I am confident this direction is the right one and I am looking forward to keep you informed about further steps of this project.</p></blockquote>
<p>Also I have to add,   Thomas informed us via twitter, that he had the released 1.0 RC1 up and running within 10 minutes of the release hitting SourceForge!</p>
<p>So thank you Thomas and Genotec.ch for both choosing Icinga for your monitoring solution &amp; for making contact with us. Your feedback is encouraging for the hard working development team who have spent many hours to achieve (what  has been a remarkable job in 5 months!) the first Release Candidate of Icinga&#8230;</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.icinga.org%2F2009%2F10%2F31%2Fgenotec-choosing-icinga-for-monitoring-solution%2F&amp;linkname=Genotec%20choosing%20Icinga%20for%20monitoring%20solution%21"><img src="http://www.icinga.org/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/icinga-org/~4/xAwrKxVO-3Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icinga.org/2009/10/31/genotec-choosing-icinga-for-monitoring-solution/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.icinga.org/2009/10/31/genotec-choosing-icinga-for-monitoring-solution/</feedburner:origLink></item>
		<item>
		<title>Icinga Presentation – OSMC</title>
		<link>http://feedproxy.google.com/~r/icinga-org/~3/7rhlu7jPEyY/</link>
		<comments>http://www.icinga.org/2009/10/30/icinga-presentation-osmc/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 14:52:49 +0000</pubDate>
		<dc:creator>Bernd Erk</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[osmc]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.icinga.org/?p=1326</guid>
		<description><![CDATA[Two days ago we presented the actual 1.0 Release an an early demo of the new webinterface at Open Source Monitoring Conference in Nuremberg here.
Here you can have a look on the presentation.

Demo for the alpha version will be available soon.
Nice weekend.
]]></description>
			<content:encoded><![CDATA[<p>Two days ago we presented the actual 1.0 Release an an early demo of the new webinterface at <a href="http://www.netways.de/osmc" target="_blank">Open Source Monitoring Conference</a> in Nuremberg here.</p>
<p><a href="http://www.icinga.org/wp-content/uploads/2009/10/osmc_icinga.pdf" target="_blank">Here</a> you can have a look on the presentation.</p>
<p style="text-align: center;"><a href="http://www.icinga.org/wp-content/uploads/2009/10/osmc_icinga.pdf"><img class="aligncenter size-medium wp-image-1327" title="osmc_icinga" src="http://www.icinga.org/wp-content/uploads/2009/10/osmc_icinga-300x211.jpg" alt="osmc_icinga" width="300" height="211" /></a></p>
<p>Demo for the alpha version will be available soon.</p>
<p>Nice weekend.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.icinga.org%2F2009%2F10%2F30%2Ficinga-presentation-osmc%2F&amp;linkname=Icinga%20Presentation%20%26%238211%3B%20OSMC"><img src="http://www.icinga.org/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/icinga-org/~4/7rhlu7jPEyY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icinga.org/2009/10/30/icinga-presentation-osmc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.icinga.org/2009/10/30/icinga-presentation-osmc/</feedburner:origLink></item>
		<item>
		<title>Icinga Web 0.9.0 alpha is revealed!</title>
		<link>http://feedproxy.google.com/~r/icinga-org/~3/zblEsZXD9gU/</link>
		<comments>http://www.icinga.org/2009/10/29/icinga-web-0-9-0-alpha-is-reveiled/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 03:55:03 +0000</pubDate>
		<dc:creator>Michael Friedrich</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Webinterface]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Icinga]]></category>
		<category><![CDATA[osmc]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[Sourceforge]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.icinga.org/?p=1319</guid>
		<description><![CDATA[Sorry for the delay on the release, we had to catch several technical issues next to OSMC.
We decided to split the releases into Icinga Core and Icinga Web. Therefore you will find two several packages to download and install.
The Core contains the Icinga API and IDOUtils which are needed for a functional Web this time. [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry for the delay on the release, we had to catch several technical issues next to <a href="http://www.netways.de/osmc" target="_blank">OSMC</a>.</p>
<p>We decided to split the releases into Icinga Core and Icinga Web. Therefore you will find two several packages to <a href="https://sourceforge.net/projects/icinga" target="_blank">download</a> and install.</p>
<p>The Core contains the Icinga API and IDOUtils which are needed for a functional Web this time. Make sure to <a href="https://sourceforge.net/projects/icinga/files/" target="_blank">download Icinga 1.0 RC1</a> and install it with IDOUtils for MySQL, the API will be installed automatically in share/icinga-api/</p>
<p>The Icinga Web depends on the API &#8211; you have to point the config to the actual install path. There are also several prerequisites and dependencies to resolve, so please catch on the instructions in doc/install-fromscratch.txt and do not hesitate to ask questions on the <a href="http://www.icinga.org/community/" target="_blank">mailinglists</a> and/or report any issues/bugs on our<a href="https://dev.icinga.org" target="_blank"> dev tracker</a>.</p>
<p>Please keep in mind that this is an alpha release and be patient while we are working on future versions! :-)</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.icinga.org%2F2009%2F10%2F29%2Ficinga-web-0-9-0-alpha-is-reveiled%2F&amp;linkname=Icinga%20Web%200.9.0%20alpha%20is%20revealed%21"><img src="http://www.icinga.org/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/icinga-org/~4/zblEsZXD9gU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icinga.org/2009/10/29/icinga-web-0-9-0-alpha-is-reveiled/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		<feedburner:origLink>http://www.icinga.org/2009/10/29/icinga-web-0-9-0-alpha-is-reveiled/</feedburner:origLink></item>
		<item>
		<title>Where to get help ???</title>
		<link>http://feedproxy.google.com/~r/icinga-org/~3/GDZtI_4fK3I/</link>
		<comments>http://www.icinga.org/2009/10/29/where-to-get-help/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 00:43:50 +0000</pubDate>
		<dc:creator>Scott Evans</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[1.0 RC1]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[Icinga]]></category>
		<category><![CDATA[Support]]></category>

		<guid isPermaLink="false">http://www.icinga.org/?p=1246</guid>
		<description><![CDATA[So you have just downloaded Icinga 1.0RC?  Do you need a little help in getting it configured?  Where to start looking for help? &#8230;
Here&#8217;s a list of resources to assist you in your journey&#8230;
http://docs.icinga.org/
http://www.icinga-portal.org/
http://www.monitoringexchange.org/
http://en.irc-monitor.com/Icinga
http://en.irc-monitor.com/Icinga-devel
https://lists.sourceforge.net/lists/listinfo/icinga-users
https://lists.sourceforge.net/lists/listinfo/icinga-devel
Remember that the Icinga-core is backward compatible with Nagios, so you will notice that some of the resources above have shared content.
]]></description>
			<content:encoded><![CDATA[<p>So you have just downloaded Icinga 1.0RC?  Do you need a little help in getting it configured?  Where to start looking for help? &#8230;</p>
<p>Here&#8217;s a list of resources to assist you in your journey&#8230;</p>
<p><a title="http://docs.icinga.org/" href="http://docs.icinga.org/" target="_blank">http://docs.icinga.org/</a></p>
<p><a title="http://www.icinga-portal.org/" href="http://www.icinga-portal.org/" target="_blank">http://www.icinga-portal.org/</a></p>
<p><a title="http://www.monitoringexchange.org/" href="http://www.monitoringexchange.org/" target="_blank">http://www.monitoringexchange.org/</a></p>
<p><a title="http://en.irc-monitor.com/channels-webchat-1156565" href="http://en.irc-monitor.com/channels-webchat-1156565" target="_blank">http://en.irc-monitor.com/Icinga</a></p>
<p><a title="http://en.irc-monitor.com/channels-webchat-1172413" href="http://en.irc-monitor.com/channels-webchat-1172413" target="_blank">http://en.irc-monitor.com/Icinga-devel</a></p>
<p><a title="https://lists.sourceforge.net/lists/listinfo/icinga-users" href="https://lists.sourceforge.net/lists/listinfo/icinga-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/icinga-users</a></p>
<p><a title="https://lists.sourceforge.net/lists/listinfo/icinga-devel" href="https://lists.sourceforge.net/lists/listinfo/icinga-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/icinga-devel</a></p>
<p>Remember that the Icinga-core is backward compatible with Nagios, so you will notice that some of the resources above have shared content.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.icinga.org%2F2009%2F10%2F29%2Fwhere-to-get-help%2F&amp;linkname=Where%20to%20get%20help%20%3F%3F%3F"><img src="http://www.icinga.org/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/icinga-org/~4/GDZtI_4fK3I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icinga.org/2009/10/29/where-to-get-help/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.icinga.org/2009/10/29/where-to-get-help/</feedburner:origLink></item>
		<item>
		<title>Icinga 1.0 RC1 awaits you!</title>
		<link>http://feedproxy.google.com/~r/icinga-org/~3/mhZsMjJbqNw/</link>
		<comments>http://www.icinga.org/2009/10/28/icinga-1-0-rc1-awaits-you/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 12:34:36 +0000</pubDate>
		<dc:creator>Scott Evans</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[1.0 RC1]]></category>
		<category><![CDATA[Icinga]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.icinga.org/?p=1277</guid>
		<description><![CDATA[The much awaited release of Icinga 1.0 RC1  is now available for download!
New features/updates implemented in this release are&#8230; (see Changelog for more detail)

Oracle support with oclilib
 SSL support
idoutils: fix typecast bug &#8211; unsigned long is bigger then int
 idoutils: fix oracle notif_timeperiod_object_id (30 chars max)
 idoutils: fix oracle table serviceescalationcontactgroups (30 chars max)
 idoutils: [...]]]></description>
			<content:encoded><![CDATA[<p>The much awaited release of Icinga 1.0 RC1  is now available for <a title="http://sourceforge.net/projects/icinga/" href="http://sourceforge.net/projects/icinga/" target="_blank">download!</a></p>
<p>New features/updates implemented in this release are&#8230; (see Changelog for more detail)</p>
<ul>
<li>Oracle support with oclilib</li>
<li> SSL support</li>
<li>idoutils: fix typecast bug &#8211; unsigned long is bigger then int</li>
<li> idoutils: fix oracle notif_timeperiod_object_id (30 chars max)</li>
<li> idoutils: fix oracle table serviceescalationcontactgroups (30 chars max)</li>
<li> idoutils: fix hoststatus/servicestatus/servicecheck unique constraint updating mismatch</li>
<li> idoutils: fix insert_or_update queries where update violates unique constraint</li>
<li> idoutils: remove and ignore oracle table_prefix (30 chars max)</li>
<li> idoutils: workaround to handle more than 4k Data which may exceed service outputs incl. long perf_data</li>
<li> core init: delete &#8217;su&#8217; usage since all previously su touched files were created by the icinga user</li>
<li> idoutils: fix unescape bug during tabstops</li>
<li> idoutils: fix idomod/icinga segfault while try to use ssl on unix sockets</li>
<li> core configure: set INIT_OPTS depending on detected host OS (no more root:root on FreeBSD?)</li>
<li> idoutils: fix case insensitive comparison in MySQL using BINARY</li>
<li> idoutils: change ido2db.cfg: ndo2db_[user|group] to ido2db_[user|group]</li>
<li> core web: fix missing gif icon copy</li>
</ul>
<p><strong>Please Note: </strong>if you are upgrading from an earlier release, you will need to update the user config in <strong>ido2db.cfg</strong> from <strong>ndo2db_[user|group]</strong> to <strong>ido2db_[user|group] </strong></p>
<p style="text-align: left;">
<p style="text-align: left;">As always your feedback is welcome! if you have suggestions or improvements please communicate these via the <a title="https://lists.sourceforge.net/lists/listinfo/icinga-devel" href="https://lists.sourceforge.net/lists/listinfo/icinga-devel" target="_blank">icinga-devel</a></p>
<p>mailing list and should you have any trouble with installing/compiling then please use the <a title="https://lists.sourceforge.net/lists/listinfo/icinga-users" href="https://lists.sourceforge.net/lists/listinfo/icinga-users" target="_blank">icinga-users</a> mailing list.</p>
<p>More details to follow soon about the new Icinga-web UI&#8230;</p>
<p>From the Icinga Team &#8230; Enjoy! <strong><br />
</strong></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.icinga.org%2F2009%2F10%2F28%2Ficinga-1-0-rc1-awaits-you%2F&amp;linkname=Icinga%201.0%20RC1%20awaits%20you%21"><img src="http://www.icinga.org/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/icinga-org/~4/mhZsMjJbqNw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icinga.org/2009/10/28/icinga-1-0-rc1-awaits-you/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://www.icinga.org/2009/10/28/icinga-1-0-rc1-awaits-you/</feedburner:origLink></item>
		<item>
		<title>Teasers, for future Web-UI</title>
		<link>http://feedproxy.google.com/~r/icinga-org/~3/lfzoWVL2MFE/</link>
		<comments>http://www.icinga.org/2009/10/26/teasers-for-future-web-ui/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 13:11:55 +0000</pubDate>
		<dc:creator>Scott Evans</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Icinga]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.icinga.org/?p=1254</guid>
		<description><![CDATA[As the release of Icinga 1.0RC draws closer, here are a few more screen shots of the new web-ui&#8230;
This web ui will be available soon&#8230;
]]></description>
			<content:encoded><![CDATA[<p>As the release of Icinga 1.0RC draws closer, here are a few more screen shots of the new web-ui&#8230;</p>

<a href='http://www.icinga.org/2009/10/26/teasers-for-future-web-ui/screenshot-icinga-mozilla-firefox/' title='Screenshot-icinga - Mozilla Firefox'><img width="150" height="150" src="http://www.icinga.org/wp-content/uploads/2009/10/Screenshot-icinga-Mozilla-Firefox-150x150.png" class="attachment-thumbnail" alt="" title="Screenshot-icinga - Mozilla Firefox" /></a>
<a href='http://www.icinga.org/2009/10/26/teasers-for-future-web-ui/screenshot-icinga-mozilla-firefox-1/' title='Screenshot-icinga - Mozilla Firefox-1'><img width="150" height="150" src="http://www.icinga.org/wp-content/uploads/2009/10/Screenshot-icinga-Mozilla-Firefox-1-150x150.png" class="attachment-thumbnail" alt="" title="Screenshot-icinga - Mozilla Firefox-1" /></a>
<a href='http://www.icinga.org/2009/10/26/teasers-for-future-web-ui/screenshot-icinga-mozilla-firefox-2/' title='Screenshot-icinga - Mozilla Firefox-2'><img width="150" height="150" src="http://www.icinga.org/wp-content/uploads/2009/10/Screenshot-icinga-Mozilla-Firefox-2-150x150.png" class="attachment-thumbnail" alt="" title="Screenshot-icinga - Mozilla Firefox-2" /></a>
<a href='http://www.icinga.org/2009/10/26/teasers-for-future-web-ui/screenshot-icinga-mozilla-firefox-3/' title='Screenshot-icinga - Mozilla Firefox-3'><img width="150" height="150" src="http://www.icinga.org/wp-content/uploads/2009/10/Screenshot-icinga-Mozilla-Firefox-3-150x150.png" class="attachment-thumbnail" alt="" title="Screenshot-icinga - Mozilla Firefox-3" /></a>
<a href='http://www.icinga.org/2009/10/26/teasers-for-future-web-ui/screenshot-icinga-mozilla-firefox-4/' title='Screenshot-icinga - Mozilla Firefox-4'><img width="150" height="150" src="http://www.icinga.org/wp-content/uploads/2009/10/Screenshot-icinga-Mozilla-Firefox-4-150x150.png" class="attachment-thumbnail" alt="" title="Screenshot-icinga - Mozilla Firefox-4" /></a>
<a href='http://www.icinga.org/2009/10/26/teasers-for-future-web-ui/screenshot-icinga-mozilla-firefox-5/' title='Screenshot-icinga - Mozilla Firefox-5'><img width="150" height="150" src="http://www.icinga.org/wp-content/uploads/2009/10/Screenshot-icinga-Mozilla-Firefox-5-150x150.png" class="attachment-thumbnail" alt="" title="Screenshot-icinga - Mozilla Firefox-5" /></a>
<a href='http://www.icinga.org/2009/10/26/teasers-for-future-web-ui/screenshot-icinga-mozilla-firefox-7/' title='Screenshot-icinga - Mozilla Firefox-7'><img width="150" height="150" src="http://www.icinga.org/wp-content/uploads/2009/10/Screenshot-icinga-Mozilla-Firefox-7-150x150.png" class="attachment-thumbnail" alt="" title="Screenshot-icinga - Mozilla Firefox-7" /></a>
<a href='http://www.icinga.org/2009/10/26/teasers-for-future-web-ui/screenshot-icinga-mozilla-firefox-6/' title='Screenshot-icinga - Mozilla Firefox-6'><img width="150" height="150" src="http://www.icinga.org/wp-content/uploads/2009/10/Screenshot-icinga-Mozilla-Firefox-6-150x150.png" class="attachment-thumbnail" alt="" title="Screenshot-icinga - Mozilla Firefox-6" /></a>
<a href='http://www.icinga.org/2009/10/26/teasers-for-future-web-ui/screenshot-icinga-mozilla-firefox-8/' title='Screenshot-icinga - Mozilla Firefox-8'><img width="150" height="150" src="http://www.icinga.org/wp-content/uploads/2009/10/Screenshot-icinga-Mozilla-Firefox-8-150x150.png" class="attachment-thumbnail" alt="" title="Screenshot-icinga - Mozilla Firefox-8" /></a>
<a href='http://www.icinga.org/2009/10/26/teasers-for-future-web-ui/screenshot-appkit-logviewer-icinga-mozilla-firefox/' title='Screenshot-AppKit logviewer - icinga - Mozilla Firefox'><img width="150" height="150" src="http://www.icinga.org/wp-content/uploads/2009/10/Screenshot-AppKit-logviewer-icinga-Mozilla-Firefox-150x150.png" class="attachment-thumbnail" alt="" title="Screenshot-AppKit logviewer - icinga - Mozilla Firefox" /></a>

<p>This web ui will be available soon&#8230;</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.icinga.org%2F2009%2F10%2F26%2Fteasers-for-future-web-ui%2F&amp;linkname=Teasers%2C%20for%20future%20Web-UI"><img src="http://www.icinga.org/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/icinga-org/~4/lfzoWVL2MFE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icinga.org/2009/10/26/teasers-for-future-web-ui/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.icinga.org/2009/10/26/teasers-for-future-web-ui/</feedburner:origLink></item>
		<item>
		<title>Icinga IDOUtils will support Oracle RDBM in 1.0 RC</title>
		<link>http://feedproxy.google.com/~r/icinga-org/~3/Af8L-4mNFJk/</link>
		<comments>http://www.icinga.org/2009/10/20/icinga-idoutils-will-support-oracle-rdbm-in-1-0-rc/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 15:48:29 +0000</pubDate>
		<dc:creator>Michael Friedrich</dc:creator>
				<category><![CDATA[Core]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[1.0 RC]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Icinga]]></category>
		<category><![CDATA[IDOUtils]]></category>
		<category><![CDATA[libdbi]]></category>
		<category><![CDATA[mailinglist]]></category>
		<category><![CDATA[ocilib]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[osmc]]></category>
		<category><![CDATA[tracker]]></category>

		<guid isPermaLink="false">http://www.icinga.org/?p=1213</guid>
		<description><![CDATA[Hi there,
work was not getting better and getting Oracle to work was on hold. So I decided to push a night of coding after I had prepared the MERGE queries.
And yes, it was successful &#8211; initial support for Oracle is done!
Oracle driver requirements
You&#8221;ll catch the problems with libdbi and Oracle in older blog posts. The [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there,</p>
<p>work was not getting better and getting Oracle to work was on hold. So I decided to push a night of coding after I had prepared the MERGE queries.</p>
<p>And yes, it was successful &#8211; initial support for Oracle is done!</p>
<p><strong>Oracle driver requirements</strong></p>
<p>You&#8221;ll catch the problems with libdbi and Oracle in older blog posts. The new driver proposed by myself was <a href="http://orclib.sourceforge.net/" target="_blank">ocilib</a>, developed by Vincent Rogier. Currently it&#8217;s kind of a break up, so you need to have the libdbi installed and then install ocilib as an add-on (and Oracle libs and includes i.e. the Oracle Instant Client). As far as I know ocilib is not in the repositories right now so get the latest version and compile them yourself (documentation is really good!).</p>
<p><strong>Modifying Configure for Oracle</strong></p>
<p>If you enable IDOUtils during configure you now have the opportunity to use the flag &#8211;enable-oracle &#8211; if you didn&#8217;t install ocilib to default path /usr/local/ [lib/include] you can use</p>
<p><code>--with-ocilib-lib=/path/to/ocilib/lib<br />
--with-ocilib-inc=/path/to/ocilib/include</code></p>
<p>to point configure to ocilib. It will be linked at runtime so you do not need to tell configure where $ORACLE_HOME and $LD_LIBRARY_PATH relays. Configure will output the following</p>
<ul>
<li>export LD_LIBRARY_PATH in ido2db Initscript where ocilib resides (OCI_IMPORT_RUNTIME)</li>
<li>enable #define USE_ORACLE and ocilib.h for the compiler</li>
<li>create ido2db.cfg-sample with Oracle support</li>
</ul>
<p>After that you can perform a normal install.</p>
<p>Whencompiling the code  it heavily depends on #define USE_ORACLE &#8211; if you plan to change back to another RDBM using libdbi you&#8217;ll have to issue<br />
<code># make distclean<br />
# make clean<br />
# ./configure --enable-idoutils</code></p>
<p><strong>Oracle Database Setup</strong></p>
<p>In module/idoutils/db/ you will find oracle.sql and oracle-drop.sql. The first one creates the table definitions, a time conversion function and all the triggers and sequences needed for commonly used insert ids. oracle-drop.sql is just for testing purposes and cleans the database scheme.<br />
Make sure you setup the Oracle DB with an appropriate scheme with username/password. Then copy oracle.sql to your $ORACLE_HOME at the db server and import it e.g. by using sqlplus<br />
<code># su - oracle<br />
$ sqlplus dbuser/dbpass<br />
SQL&gt; @oracle.sql</code></p>
<p>Then edit your ido2db.cfg for using Oracle. Please note that Oracle ignores the db_host, instead point db_name to //DBSERVER/DBNAME</p>
<p><code>db_servertype=oracle<br />
db_port=1521<br />
db_user=icinga<br />
db_pass=icinga</code></p>
<p>That should do the trick. If you are experiencing problems turn the debug_level=-1 and debug_verbosity=2 and make sure the max_debug_file_size is set to at least 100 MB &#8211; the improved debug output will put a lot of output into that file.</p>
<p><strong>Changes to the code</strong></p>
<p>The biggest part has been done already getting Postgres to work &#8211; rewrite the INSERT OR UPDATE queries and extract the unique constraints for UPDATE conditions. Those queries have been adapted to use the <a href="http://blogs.sun.com/cmar/entry/using_merge_to_do_an" target="_blank">MERGE trick</a>. Some queries tried to issue an UPDATE where the unique constraint contained a value to be updated too. That failed heavily but introduces a really nice feature of ocilib.</p>
<p>By using OCI_Initialize it is possible to register an error handler function. This function simply gets the last OCI error and writes that to syslog and debug output. So it is really easy to find out why queries will fail and the nice thing is &#8211; the function doesn&#8217;t need to be called everywhere, just register it to ocilib.</p>
<p>Another heavy task was getting the insert id &#8211; MySQL supports last_insert_id but Postgres and Oracle don&#8217;t. In Postgres it&#8217;s rather easy defining the PK as SERIAL and getting the sequence id in order to get the last insert id. For Oracle, there are several ON INSERT TRIGGERs defined in oracle.sql which auto increment the id (primary key). Given that a specified function reads that values from the opened session.</p>
<p>Simply said, you do the following for an Oracle DB query in IDOUtils</p>
<ul>
<li>OCI_Initialize(ido2db_ocilib_err_handler, NULL, OCI_ENV_DEFAULT)</li>
<li>oci_connection = OCI_ConnectionCreate(dbname,username, password, OCI_SESSION_DEFAULT);</li>
<li>oci_statement = OCI_StatementCreate(oci_connection);</li>
<li>OCI_ExecuteStmt(oci_statement, MT(&#8221;SELECT * FROM &#8230;.&#8221;));</li>
<li>OCI_Commit(oci_connection);</li>
<li>oci_resultset = OCI_GetResultset(oci_statement);</li>
<li>instance_id = OCI_GetUnsignedInt(idi-&gt;dbinfo.oci_resultset, 1);</li>
<li>OCI_ConnectionFree(oci_connection);</li>
<li>OCI_Cleanup();</li>
</ul>
<p>There were some other minor and major changes to the code&#8230;</p>
<ul>
<li>changed NOW() to SYSDATE</li>
<li>modify table serviceescalation_contactgroups to serviceescalationcontactgroups (30 chars max in Oracle)</li>
<li>primary key only is id anstead of [tablename]_id (30 chars max in Oracle)</li>
<li>dropped table_prefix &#8211; ido2db.cfg setting will be ignored</li>
<li>long_output uses CLOB (Character Large Object) since varchar2 supports 4000 bytes at maximum</li>
</ul>
<p>I&#8217;ve also added a runtime version check for ocilib &#8211; if the library contains errors and does not export symbols correctly ido2db will quit correctly.</p>
<p><strong>Conclusion</strong></p>
<p>This is the initial version of Oracle support for Icinga IDOUtils. It was a bunch of work but there are many things to follow:</p>
<ul>
<li>rewrite heavily used queries (host/service/check/status, timedevents) to prepared statements and parameter bindings</li>
<li>improve housekeeping DELETE queries with partitioned COMMITs</li>
<li>improve getting the insert ids</li>
<li>do not depend on libdbi if &#8211;enable-oracle is used</li>
</ul>
<p>Oracle support for IDOUtils will be in Icinga 1.0 RC &#8211; watch out for the upcoming release and have fun testing! Please report any bugs or feature requests to the <a href="http://www.icinga.org/community/" target="_blank">mailinglists</a> and/or our <a href="https://dev.icinga.org/projects/show/icinga-core" target="_blank">dev tracker</a>!</p>
<p>Many thanks to David Schmidt for implementing the first version of NDOUtils Oracle, many ideas have been improved within here. And also many many many thanks to Vincent Rogier for implementing such a great Oracle driver within the project <a href="http://orclib.sourceforge.net/" target="_blank">ocilib</a>. It is a pleasure coding based on ocilib, reading the documentation meanwhile and getting instant support for free! :-)</p>
<p>Since this is the third RDBM to be maintained by only 2 Core team members, please contact us if you like to participate and/or help us improving more RDBM support! :)</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.icinga.org%2F2009%2F10%2F20%2Ficinga-idoutils-will-support-oracle-rdbm-in-1-0-rc%2F&amp;linkname=Icinga%20IDOUtils%20will%20support%20Oracle%20RDBM%20in%201.0%20RC"><img src="http://www.icinga.org/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a><img src="http://feeds.feedburner.com/~r/icinga-org/~4/Af8L-4mNFJk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.icinga.org/2009/10/20/icinga-idoutils-will-support-oracle-rdbm-in-1-0-rc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.icinga.org/2009/10/20/icinga-idoutils-will-support-oracle-rdbm-in-1-0-rc/</feedburner:origLink></item>
	</channel>
</rss>
