nagios -->> ndo2db -->> centreon

Marc Powell marc at ena.com
Thu Jun 4 17:19:59 CEST 2009


On Jun 4, 2009, at 10:00 AM, James Pifer wrote:

> On Thu, 2009-06-04 at 09:21 -0500, Marc Powell wrote:

>> If you query the database directly, do you see data?
>>
>> SELECT * FROM nagios.nagios_hosts WHERE host_name = 'your host_name';
>>
>> SELECT * FROM nagios.nagios_services s, nagios.nagios_hosts h WHERE
>> h.display_name='your host_name' AND  
>> h.host_object_id=s.host_object_id;
>
> host_name is not a valid column (see below).

Sorry, I did mean display_name there...

> If I select * from
> nagios_hosts I only see localhost and Centreon-Server, not the host I
> added.

And nagios is showing this host in it's GUI?

event_broker_options is still -1? Have you restarted nagios since  
fixing the ndo2db issues? I've never used Centreon so I'm just trying  
to cover logical things...

--
Marc

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
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