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
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
Comment