Apr 172010
 

Let’s complete the installation process.

Connect to your web interface: by default, it’s http://YOUR_SERVER_IP_ADDRESS/centreon

Proceed as follow:

For picture 6 use mysqlcentaccess03 as Mysql Root password and mysqlcentdb03 for the mysql database password

For picture 8 use admin and actwebaccess03 for Centreon Web Access.

For a complete list of logins and passwords please refer to my previous post

Optimise your setup:

After saving prepare yourself for your first export 🙂

You should see no errors at all. This time export for real the settings:

Reboot your monitoring system. After loging back you should see Centreon monitoring itself (you’ll have to wait approximatively 5 minutes to see all graphs generated).

  3 Responses to “Ubuntu 8.04 LTS server and Centreon 2.1.5 (Part 2)”

  1. Hi, Dejan,

    I installed Centreon 2.1.8 and Nagios 3.2.1 on Ubuntu 8.04 LTS according to your post, and the installation process went well, but I got such a error message when tried to execute nagios configure files with Centreon GUI

    ############
    Configuration —> Nagios —> Generate

    (Yes) Generate Configuration Files
    (Yes) Run Nagios debug (-v)

    Export……

    Reading configuration data…
    Read main config file okay…
    Error Could not expand member contacts specified in contactgroup (config file ‘/usr/local/centreon/filesGeneration/nagiosCFG/1/contactgroups.cfg’, starting on line 18)
    Error processing object config files!

    ***> The name of the main configuration file looks suspicious…

    Make sure you are specifying the name of the MAIN configuration file on
    the command line and not the name of another configuration file. The
    main configuration file is typically ‘/usr/local/nagios/etc/nagios.cfg’

    ***> One or more problems was encountered while processing the config files…

    Check your configuration file(s) to ensure that they contain valid
    directives and data defintions. If you are upgrading from a previous
    version of Nagios, you should be aware that some variables/definitions
    may have been removed or modified in this version. Make sure to read
    the HTML documentation regarding the config files, as well as the
    ‘Whats New’ section to find out what has changed.
    ############

    It seemed there were some problems with the Contactgroup.cfg file.

    What can I do to fix it?

    Thanks a lot.

  2. Hi collin,

    well, I’m far from being an expert but exposed like that I suspect a problem in configuration file generation. A good start should be done by verifying your access rights on folder /usr/local/centreon/filesGeneration
    Here are mines:
    ##############
    ls -la /usr/local/centreon/filesGeneration
    drwxr-xr-x 3 www-data www-data 4096 2010-01-24 01:35 nagiosCFG
    ##############

    nagiosCFG folder should belong to ‘www-data:www-data’ and must be writable.

    Maybe you could try renaming your export directory like ‘/usr/local/centreon/filesGeneration/nagiosCFG/1.old/ and see if your export create without error the destination directory and your files.

    Regards

  3. Hi, Dejan,

    Thanks for your reply.

    I finally had this issue fixed by adding a contact in the ‘Supervisor’ contact group through “Configuration —> Users” menu. And now all the stuffs seem to run normally.

    BTW, have you tried to monitor the running condition of a virtual machine (running on Xen or other virtualized system) with Centreon plus Nagios?

    Thanks again.