Thread: [Nagios-db-devel] nagios-db problems
Status: Beta
Brought to you by:
bench23
From: Joubin M. <jm...@sh...> - 2005-03-04 18:56:05
|
oops, so I mistakenly posted this to nagios-users... In response to Matt, yes, the config passes the preflight and in fact the Nagios UI shows everything's working and... but for some reason the mysql module can't initialize... would posting my configs help? On Tue, 2005-01-03 at 08:27 -0800, Joubin Moshrefzadeh wrote: > I'm having some challenges getting nagios-db working properly. > > I've installed Nagios 2.0b2, and nagios-db-0.91 on a Debian box, plus mysql-4.1.9 through apt, and using the minimal config shipped with version 2.0. > > For some reason I keep getting the following message in the nagios log when I start the process: > > [1109693638] Nagios 2.0b2 starting... (PID=1957) > [1109693638] LOG VERSION: 2.0 > [1109693638] initializing nagios-db mysql inserter... > [1109693638] nagios-db: inserter locked into db > [1109693638] Event broker module '/usr/local/nagios/modules/inserter_mysql.o' initialized successfully. > [1109693638] nagios-db: configured 0 hosts > [1109693638] nagios-db: configured 0 services > [1109693638] nagios-db: loaded 0 hostgroups > [1109693638] nagios-db: configuration complete. Registering for status notifications... > [1109693638] Finished daemonizing... (New PID=1959) > [1109693639] Can't find record in 'host_history' 1032 INSERT INTO host_history (hostid,started,lasted,soft_state,hard_state,current_attempt,plugin_output) VALUES (@hostid,@time,null,0,0,1,'PING OK - Packet loss = 0%, RTA = 0.38 ms') ON DUPLICATE KEY UPDATE current_attempt=VALUES(current_attempt),plugin_output=VALUES(plugin_output) > [1109693648] nagios-db: inserter unloading... > Well this is the wrong list for this, please continue this discussion on nag...@li... As for the problem, I'm not sure why it's not seeing your host/service data in the initialization phase. Does your config pass the pre-flight check (nagios -v nagios.cfg) ? - matt |
From: Matthew K. <mk...@ma...> - 2005-03-04 19:24:29
|
On Fri, 2005-04-03 at 10:55 -0800, Joubin Moshrefzadeh wrote: > oops, so I mistakenly posted this to nagios-users... > In response to Matt, yes, the config passes the preflight and in fact the Nagios UI shows everything's working and... but for some reason the mysql module can't initialize... would posting my configs help? > Interesting.. wonder why it's not seeing the nagios data like that. Did the module compile cleanly? And your using the 2.0 beta 2 from nagios.org or latest cvs release? And yeah if you could forward your configs to me off list I can take a stab at figuring it out. I'll try to make time on Sunday but I've just been getting bogged down with so much other stuff lately. - Matt |
From: Matthew K. <mk...@ma...> - 2005-03-08 03:13:27
|
Okay looks like commenting out the loading of the helloworld module in the main nagios config fixes the problem for me. Guess something in that module is getting in the way. I'll take a look at why sometime down the road. Give that a whirl. - Matt On Fri, 2005-03-04 at 14:24, Matthew Kent wrote: > On Fri, 2005-04-03 at 10:55 -0800, Joubin Moshrefzadeh wrote: > > oops, so I mistakenly posted this to nagios-users... > > In response to Matt, yes, the config passes the preflight and in fact the Nagios UI shows everything's working and... but for some reason the mysql module can't initialize... would posting my configs help? > > > > Interesting.. wonder why it's not seeing the nagios data like that. Did > the module compile cleanly? And your using the 2.0 beta 2 from > nagios.org or latest cvs release? > > And yeah if you could forward your configs to me off list I can take a > stab at figuring it out. I'll try to make time on Sunday but I've just > been getting bogged down with so much other stuff lately. > > - Matt > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-db-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagios-db-devel |
From: Ben <be...@si...> - 2005-03-08 04:28:17
|
Perhaps nagios doesn't gracefully handle multiple NEB modules if they register for the same callbacks? On Mar 7, 2005, at 5:13 PM, Matthew Kent wrote: > Okay looks like commenting out the loading of the helloworld module in > the main nagios config fixes the problem for me. Guess something in > that > module is getting in the way. I'll take a look at why sometime down the > road. > > Give that a whirl. > > - Matt > > On Fri, 2005-03-04 at 14:24, Matthew Kent wrote: >> On Fri, 2005-04-03 at 10:55 -0800, Joubin Moshrefzadeh wrote: >>> oops, so I mistakenly posted this to nagios-users... >>> In response to Matt, yes, the config passes the preflight and in >>> fact the Nagios UI shows everything's working and... but for some >>> reason the mysql module can't initialize... would posting my configs >>> help? >>> >> >> Interesting.. wonder why it's not seeing the nagios data like that. >> Did >> the module compile cleanly? And your using the 2.0 beta 2 from >> nagios.org or latest cvs release? >> >> And yeah if you could forward your configs to me off list I can take a >> stab at figuring it out. I'll try to make time on Sunday but I've just >> been getting bogged down with so much other stuff lately. >> >> - Matt >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real >> users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Nagios-db-devel mailing list >> Nag...@li... >> https://lists.sourceforge.net/lists/listinfo/nagios-db-devel > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-db-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagios-db-devel |