Announcement

Collapse
No announcement yet.

Oreon not displaying live status information

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Oreon not displaying live status information

    Hello,

    I've used Nagios for some time, and recently decided to implement Oreon as the configuration is getting more and more complicated with numerious hosts and services.

    First of all, my versions:

    Ubuntu 2.6.15-28
    Lighttpd 1.4.11
    PHP 5.2.2
    MySQL 5.0.22
    Nagios 1.3
    Oreon 1.4

    All of the dependencies in the install scripts have been met, including binaries and PEAR modules. The install script ran fine.

    I had to make modifications to some paths to make things work. Current directores are as follows:

    Nagios logs: /var/log/nagios/
    Nagios config: /etc/nagios/
    Oreon: /usr/local/oreon
    Nagios binary: /usr/sbin/nagios
    Nagios.cmd: /var/run/nagios/nagios.cmd

    These are relatively standard Debian paths.

    I am at stage where:

    1) Nagios works 100% on its own, including its own web interface.
    2) I can login to Oreon.
    3) Oreon generates and exports a valid nagios config.
    4) The Oreon nagios config changes display in the Nagios web interface.
    5) Montoring > Event Log > Event Logs > All Logs displays the nagios.log

    However, the host status information at the top swaps between all '0' and '?'. Also, Monitoring > Event Log > Advanced Logs > All Logs is blank. I have run the cron script manually, and nothing seems to happen:

    [email protected]:/usr/local/oreon/cron# ./parsing_log.pl
    [email protected]:/usr/local/oreon/cron#

    The ODS seems to be running:

    ps -ef | grep ods
    root 13100 1 0 12:39 ? 00:00:00 /usr/bin/perl -w /usr/local/oreon/ODS/ods.pl

    However I am getting an error in the following log:

    [email protected]:/usr/local/oreon# cat log/ods_parsing_log
    /etc/cron.d/oreon: line 1: 0: command not found
    /etc/cron.d/oreon: line 2: 0: command not found
    /etc/cron.d/oreon: line 4: apache.conf: command not found

    What I am wondering is:

    1) Where/how does Oreon get the status information from Nagios for the top bar and the Monitoring > Hosts pages?
    2) Does this have anything to do with the Advanced Logs being blank?
    3) Are the advanced logs parsed from the current Nagios log, or only when they are archived?
    4) Does the advanced log take everything from the Nagios log, or only certain things?

    I really appreciate everyone's help. It is so frustrating to be sooo close, but for this one little problem. Unforuntely not being able to read status information makes it rather useless as a whole!

    Thanks
    James

  • #2
    Substance of log/ods_parsing_log

    The log/ods_parsing_log contains an error, even though Nagios' config is 100% fine.



    [email protected]:/usr/local/oreon# cat log/ods_parsing_log

    Nagios 1.3
    Copyright (c) 1999-2004 Ethan Galstad ([email protected])
    Last Modified: 10-24-2004
    License: GPL

    Error in configuration file '/usr/local/oreon/cron/parsing_log.pl' - Line 23 (NULL value)
    Nagios 1.3 starting... (PID=25354)
    Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=25354)

    Nagios 1.3
    Copyright (c) 1999-2004 Ethan Galstad ([email protected])
    Last Modified: 10-24-2004
    License: GPL

    Error in configuration file '/usr/local/oreon/cron/parsing_log.pl' - Line 23 (NULL value)
    Nagios 1.3 starting... (PID=25809)
    Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=25809)

    Comment


    • #3
      maybe ODS is not made for nagios 1.x
      Intel(R) Xeon(TM) CPU 3.4GHz - MemTotal : 1034476 kB
      Centreon 2.4.1 - Nagios 3.2.1 - Nagios Plugins 1.4.15 - Manubulon Plugins tuné
      Fedora Core 5 - 2.6.20-1.2320

      Comment


      • #4
        What version of nagios release is oreon configured for?
        options->general options->nagios

        Comment

        Working...
        X