Re: Nagios 4.0 and NDOUtils
Posted: Thu Oct 10, 2013 11:15 pm
Looks like the issue you ran into was because "UNIQUE_KEY" was used instead of "UNIQUE KEY":
http://sourceforge.net/p/nagios/ndoutil ... ql.sql#l41
The database differences between ndoutils 1.5.2 and 2.0 aren't very significant. The 2.0 version just added some additional indexes to help speed up the added database trimming options in 2.0. You can probably live without them. If you have a lot of data though you may see NDO slow down while it's trimming the tables if you've got those options turned on.
You can also probably get away with just running the update script which adds the indexes but as my fellow posters keep reiterating this all is very untested:
http://sourceforge.net/p/nagios/ndoutil ... -2.0.0.sql
http://sourceforge.net/p/nagios/ndoutil ... ql.sql#l41
The database differences between ndoutils 1.5.2 and 2.0 aren't very significant. The 2.0 version just added some additional indexes to help speed up the added database trimming options in 2.0. You can probably live without them. If you have a lot of data though you may see NDO slow down while it's trimming the tables if you've got those options turned on.
You can also probably get away with just running the update script which adds the indexes but as my fellow posters keep reiterating this all is very untested:
http://sourceforge.net/p/nagios/ndoutil ... -2.0.0.sql