Nagios Fusion installed php 5.1.6
Posted: Tue Nov 20, 2012 4:40 pm
Hi,
I am currently trying to figure out why my Nagios Fusion instance is not displaying the Recent Alerts and the Top Alert Producers information for any of my Nagios Core instances. I am running Nagios Fusion on a fresh CentOS 5.5 base install. ( Please see image attached. )
After checking the /usr/local/nagiosfusion/var/poller.log and finding this message:
I google the last line in the log and basically found out that it is because the php version was not built with the proper flags. The nagiosfusion fullinstall script installed php 5.1.6 according to my /tmp/nagiosfusion/install.log:
My questions are:
I am currently trying to figure out why my Nagios Fusion instance is not displaying the Recent Alerts and the Top Alert Producers information for any of my Nagios Core instances. I am running Nagios Fusion on a fresh CentOS 5.5 base install. ( Please see image attached. )
After checking the /usr/local/nagiosfusion/var/poller.log and finding this message:
Code: Select all
PHP Notice: Undefined index: query in /usr/local/nagiosfusion/html/includes/utilsx.inc.php on line 77
Saving Tac Data to DB: Nagios1
PHP Notice: Undefined index: query in /usr/local/nagiosfusion/html/includes/utilsx.inc.php on line 77
Saving Tac Data to DB: Nagios2
Polling Recent Alerts...
NAGIOSCORE ALERT FETCHNagios1
PHP Fatal error: Class 'DateTime' not found in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 128
Code: Select all
Dependency Installed:
fakeroot.x86_64 0:1.12.2-21.el5.2
.
.
.
php-devel.x86_64 0:5.1.6-39.el5_8
Updated:
bind-utils.x86_64 30:9.3.6-20.P1.el5_8.5
.
.
.
php.x86_64 0:5.1.6-39.el5_8
My questions are:
- Is php 5.1.6 required for Nagios Fusion to work properly or will things start breaking if upgrade to php 5.2.x which apparently builds with the DateTime class by default which I believe will help me solve my error.
- Is this an error other people are having?