No announcement yet.

Problems with DB NagiosExport

  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems with DB NagiosExport

    Hi @ all.

    First sorry for my english. Iīm a german and new in this forum.

    So my Problem. I installed Nagios 2.7 and Oreon 1.3.3 Itīs OK.

    I configured Host, services etc. and I want now export the config to nagios.

    Thatīs my problem:

    DB Error : SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'osl' : DB Error: insufficient permissions

    Fatal error: Call to undefined function: numrows() in /usr/local/oreon/www/include/configuration/configGenerate/DB-Func.php on line 235

    Who can help me? About an answer I would be pleased.


  • #2

    Hi, you can find the solution here:

    I had this problem a week ago, and export works fine now.
    Last edited by mck; 3 March 2007, 07:16.


    • #3
      thanks for your answer


      • #4
        OK, I have a new problem.

        I export the configuration and now you can see what it print.
        Hmm, my configurationdirectory for Nagios is /etc/nagios, not /usr/local/nagios/etc.

        Nagios 2.7
        Copyright (c) 1999-2007 Ethan Galstad (
        Last Modified: 01-19-2007
        License: GPL

        Reading configuration data...

        Error in configuration file '/usr/local/oreon/www/../filesGeneration/nagiosCFG/nagiosCFG.DEBUG' - Line 43 (UNKNOWN VARIABLE)

        ***> 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.