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.
[1444166797] Nagios 3.5.1 starting... (PID=995)
[1444166797] Local time is Tue Oct 06 16:26:37 CDT 2015
[1444166797] LOG VERSION: 2.0
[1444166797] Finished daemonizing... (New PID=1105)
[1444167232] Caught SIGTERM, shutting down...
[1444167232] Successfully shutdown... (PID=1105)
[1444167232] Nagios 3.5.1 starting... (PID=2112)
[1444167232] Local time is Tue Oct 06 16:33:52 CDT 2015
[1444167232] LOG VERSION: 2.0
[1444167232] Finished daemonizing... (New PID=2113)
[1444167312] SERVICE ALERT: localhost;HTTP;OK;HARD;4;HTTP OK: HTTP/1.1 200 OK - 353 bytes in 0.001 second response time
[1444167658] Caught SIGTERM, shutting down...
[1444167658] Successfully shutdown... (PID=2113)
[1444167658] Nagios 3.5.1 starting... (PID=2252)
[1444167658] Local time is Tue Oct 06 16:40:58 CDT 2015
[1444167658] LOG VERSION: 2.0
[1444167658] Finished daemonizing... (New PID=2253)
[1444167664] Caught SIGTERM, shutting down...
[1444167664] Successfully shutdown... (PID=2253)
[1444167681] Nagios 3.5.1 starting... (PID=898)
[1444167681] Local time is Tue Oct 06 16:41:21 CDT 2015
[1444167681] LOG VERSION: 2.0
[1444167681] Finished daemonizing... (New PID=1029)
[1444167911] SERVICE ALERT: localhost;HTTP;WARNING;SOFT;1;HTTP WARNING: HTTP/1.1 403 Forbidden - 5179 bytes in 0.009 second response time
[1444167971] SERVICE ALERT: localhost;HTTP;WARNING;SOFT;2;HTTP WARNING: HTTP/1.1 403 Forbidden - 5179 bytes in 0.001 second response time
[1444168031] SERVICE ALERT: localhost;HTTP;WARNING;SOFT;3;HTTP WARNING: HTTP/1.1 403 Forbidden - 5179 bytes in 0.001 second response time
[1444168091] SERVICE ALERT: localhost;HTTP;WARNING;HARD;4;HTTP WARNING: HTTP/1.1 403 Forbidden - 5179 bytes in 0.001 second response time
[1444168391] SERVICE ALERT: localhost;HTTP;OK;HARD;4;HTTP OK: HTTP/1.1 200 OK - 350 bytes in 0.001 second response time
[1444168748] Caught SIGTERM, shutting down...
[1444168748] Successfully shutdown... (PID=1029)
[1444168748] Nagios 3.5.1 starting... (PID=2196)
[1444168748] Local time is Tue Oct 06 16:59:08 CDT 2015
[1444168748] LOG VERSION: 2.0
[1444168749] Finished daemonizing... (New PID=2197)
[1444169951] Caught SIGTERM, shutting down...
[1444169951] Successfully shutdown... (PID=2197)
[1444169967] Nagios 3.5.1 starting... (PID=965)
[1444169967] Local time is Tue Oct 06 17:19:27 CDT 2015
[1444169967] LOG VERSION: 2.0
[1444169967] Finished daemonizing... (New PID=1176)
[1444170497] SERVICE ALERT: localhost;HTTP;WARNING;SOFT;1;HTTP WARNING: HTTP/1.1 403 Forbidden - 5179 bytes in 0.013 second response time
[1444170557] SERVICE ALERT: localhost;HTTP;WARNING;SOFT;2;HTTP WARNING: HTTP/1.1 403 Forbidden - 5179 bytes in 0.001 second response time
[1444170617] SERVICE ALERT: localhost;HTTP;OK;SOFT;3;HTTP OK: HTTP/1.1 200 OK - 338 bytes in 0.001 second response time
Just some warnings about you http service. Thats why there were entries in your error.log file. Nagios was trying to go to the default webpage.
So now you created the index.html file the service check should be ok.
Could you post a screenshot of your nagios webpage to show us what goes wrong now?
Nagios Core 3.5.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-30-2013
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios.conf' for reading!
Error processing main config file!
***> The name of the main configuration file looks suspicious...
Make sure you are specifying the name of the MAIN configuration file on
the command line and not the name of another configuration file. The
main configuration file is typically '/usr/local/nagios/etc/nagios.cfg'
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
Interesting that this is saying it's nagios core 3.5.1 when I downloaded nagios-4.1.1...