nagios-db problems
Matthew Kent
mkent at magoazul.com
Tue Mar 1 19:25:45 CET 2005
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, at 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
nagios-db-devel at lists.sourceforge.net
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
-------------------------------------------------------
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-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list