Centreon Forum  

Go Back   Centreon Forum > Centreon Use > Setup

Setup For all questions about Centreon Setup

Reply
 
Thread Tools Display Modes
  #1  
Old 10th November 2008
dengruns dengruns is offline
Junior Member
Oreonistes
 
Join Date: Nov 2008
Location: Netherlands
Posts: 6
Question 2 hosts in monitoring 1 host in configuration

Hi,
I've installed Nagios 3.04, ndo-utils 1.4b7, and centreon 2 rc7. After I exported the settings from centreon to nagios, I see in centreon under monitoring 2 hosts: localhost and centreon-server. Under configuration, hosts, I see only the centreon-server. Also in Nagios I see only centreon-server and not localhost. How can I delete localhost?

I've also tried to import localhost settings from my Nagios installation, with a fresh install of both Nagios and Centreon. But then I get all checks double for the localhost.

I hope someone can help me with this.

Greetings,

Dennis
Reply With Quote
  #2  
Old 18th November 2008
dengruns dengruns is offline
Junior Member
Oreonistes
 
Join Date: Nov 2008
Location: Netherlands
Posts: 6
Default problem solved

Hi,

I've solved the problem. I've deleted the ndo database and recreated it. After that the problem was solved.

There was also a problem with ndo database. I got errors in /var/log/messages:
ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_configfilevariables SET instance_id='2', configfile_id='12', varname='cfg_file', varvalue='/usr/local/nagios/etc/meta_contact\.cfg''

I've solved this with on the ndo database:
Mysql> alter table nagios_configfilevariables drop index instance_id;
Mysql> alter table nagios_configfilevariables add index (instance_id, configfile_id, varname);

Greetings,
Dennis
Reply With Quote
  #3  
Old 7th January 2009
Jogarem's Avatar
Jogarem Jogarem is offline
Member
Apprentice
 
Join Date: May 2007
Location: Germany, Bavaria
Posts: 71
Default

Quote:
Originally Posted by dengruns View Post
Hi,
I've solved this with on the ndo database:
Mysql> alter table nagios_configfilevariables drop index instance_id;
Mysql> alter table nagios_configfilevariables add index (instance_id, configfile_id, varname);

Greetings,
Dennis
Many thanks Dennis!
I had the same problem and this fixed it for me..

Jogarem
__________________
isyVmon 2.0 including Centreon 2.1.8, GSF, BAK
isyVmon 1.6 including Centreon 2.1.3
isyVmon 1.5 including Centreon 2.0.2
see http://www.isyVmon.net or for english version: http://translate.google.com/translat...g%2Fisyvmon%2F

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:31.