On Mon, 23 Jan 2012, Michael Friedrich wrote: > On 22.01.2012 23:27, Carl R. Friend wrote: >> >> Yes, MySQL 5 is a prerequisite now due to the requirement of >> the "ON DUPLICATE KEY" syntax. [...] > > ah yes, that statement is in ~50 sql statements around the corner. > [...] > > https://www.icinga.org/2010/02/15/icinga-idoutils-more-improvements-part-i/
Interestingly, I got idoutils and libdbd working by linking to a set of MySQL libraries -- and it seems to work -- by gently hacking some bits out that look to be MySQL 5.0-specific and then pointing the results at a running MySQL 5.0 instance. The caveat here is that the MySQL 5 instance must have the icinga user credentialed using the "OLD_PASSWORD()" function so it soesn't try to use the newer hashes. As I say, this seems to be working -- there's about 24 hours on the run clock a of this writing, without any known errors, but I should also mention that I probably would not recommend it for a production instance. Michael -- I'll take another go at the git (why is it that every time I see that I want to put "stupid" in front of it?) documentation and see if I can get that built -- and working -- on my paleolithic iron here at home. Barring that, I'll bundle up the patches I made to ido2dc.c and send them off to you; they should be harmless at best to the casual user and helpful at worst to folks who need to do deep debugging. > it's a leftover from a previous try (and fail) of a multithreaded > circular buffer, which did not work out as expected. [...] > currently it doesn't hurt, but if you wanna provide a patch, appreciate it. I'm still studying the code to understand the author's intent; once I divine that, I'll see what I can do. > given a valid coding style, (null) pointers should always be checked. it > just happens that you hack around and "make it work" - on your platform > then. Yes, every once in a while expediency trumps rigour, which is understandable enough, but rigour in the long run tends to reduce the number of times one must do the expedient thing to make something work. > it would be interesting if you are capable of getting zeromq to run on > your platform. this will be a requirement for icinga-mq and i am curious > if this could be a problem on other than the "default linux" platform. I'll take a look. Cheers! +------------------------------------------------+---------------------+ | Carl Richard Friend (UNIX Sysadmin) | West Boylston | | Minicomputer Collector / Enthusiast | Massachusetts, USA | | mailto:crfri...@rcn.com +---------------------+ | http://users.rcn.com/crfriend/museum | ICBM: 42:22N 71:47W | +------------------------------------------------+---------------------+ ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users