Installation not working

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
erlendur
Posts: 1
Joined: Sat Oct 05, 2019 9:37 am

Installation not working

Post by erlendur »

Hi,

I have installed Nagios Core on a Raspberry Pi.

I have PHP version: PHP 5.6.40-0+deb8u2 (cli) (built: Mar 31 2019 12:18:11)
I have Nagios Core version: 4.4.3


The main page (http://192.168.1.103/nagios/) shows this text:
Not Found

The requested URL /nagios/< was not found on this server.

The home page (http://192.168.1.103/nagios/main.php) shows this text on top of the page (note that no version appears):

Nagios® Core™
Version
January 15, 2019
Check for updates
When I click Check for updates I get this page that shows this text:

Nagios Update Check

Update Required

Your installation of Nagios Core <?php echo $this_version; ?> is outdated and should be upgraded. The latest version of Nagios Core is 4.4.5 was released on 2019-08-20.

Download the latest version of Nagios Core
Please take a look into this and advice what might be the problem here.

Best regards, Erlendur
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Installation not working

Post by mbellerue »

The first thing I would look at is PHP. Right now Apache doesn't seem to be running the pages through the PHP parser, and that's why you see <?php on some of the pages. I'm not sure what the Apache configuration looks like on Raspbian, but there should be a configuration file for the PHP module that tells Apache to use the PHP parser even for regular .html and .htm files.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked