Red X Not Running sfter install 4.2.4 Nagios Core
Posted: Mon Jan 30, 2017 6:19 pm
I went through the quickstart installation guide and everything looked good. But when I log onto the web browser for my Nagios installation I see a red X Not Running error on the main page.
When I do a check with the -v there shows no warning and no errors
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 8 services.
Checked 1 hosts.
Checked 1 host groups.
Checked 0 service groups.
Checked 1 contacts.
Checked 1 contact groups.
Checked 24 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
When I look at the nagios.log file I see that Core can't read the config file
[1485814400] Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios.cfg:' for reading!
[1485814400] Error: Failed to process config file '/usr/local/nagios/etc/nagios.cfg:'. Aborting
[1485817944] Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios.cfg:' for reading!
[1485817944] Error: Failed to process config file '/usr/local/nagios/etc/nagios.cfg:'. Aborting
Permissions are set to 777 for this file. (nagios.cfg)
I am running a Raspberry PI 3 model B with Raspbian Jesse with Pixel - latest download.
I went through all the steps and had no errors, I was hoping someone might have an idea for me to try to get this up and running, a permissions error or something maybe?
When I do a check with the -v there shows no warning and no errors
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 8 services.
Checked 1 hosts.
Checked 1 host groups.
Checked 0 service groups.
Checked 1 contacts.
Checked 1 contact groups.
Checked 24 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
When I look at the nagios.log file I see that Core can't read the config file
[1485814400] Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios.cfg:' for reading!
[1485814400] Error: Failed to process config file '/usr/local/nagios/etc/nagios.cfg:'. Aborting
[1485817944] Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios.cfg:' for reading!
[1485817944] Error: Failed to process config file '/usr/local/nagios/etc/nagios.cfg:'. Aborting
Permissions are set to 777 for this file. (nagios.cfg)
I am running a Raspberry PI 3 model B with Raspbian Jesse with Pixel - latest download.
I went through all the steps and had no errors, I was hoping someone might have an idea for me to try to get this up and running, a permissions error or something maybe?