[Nagios-db-devel] Re: [Nagios-users] nagios-db problems
Status: Beta
Brought to you by:
bench23
From: Matthew K. <mk...@ma...> - 2005-03-01 18:26:47
|
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 |