Re: [Nagios-db-devel] Installing nagios-db
Status: Beta
Brought to you by:
bench23
From: Matthew K. <mk...@ma...> - 2005-03-11 15:17:24
|
On Fri, 2005-11-03 at 08:49 -0600, jl wrote: > I think I must be missing something obvious right in front of me since > I can't seem to find the answer to this question - how do you install > and configure neb modules? (This one in particular). > > I've gotten the module compiled by coping the neb/mysql directory into > the nagios directory and running make. Do I compile nagios after that > and it gets included in or does the .o (object?) file need to be copied > somewhere else. After I get this where it needs to be, how do I > configure the database parameters? I'm sorry if this is an obvious > question, but for the life of me I cannot find the answer. > > Thanks, > jl > Well first off, both the neb modules aren't quite feature complete. You have to actually edit the inserter.c code and change the database connection parameters by hand. You then have to edit the Makefile (in the same directory) to point it to your mysql header files (usually you'll need some kind of mysql-dev mysql-devel package installed) and the nagios sources. You then do a 'make' - it hopefully compiles and you edit your main nagios.cfg to point to the generated inserter.o file. -- Matthew Kent <mk...@ma...> http://magoazul.com |