Problem starting Nagios
John Oliver
joliver at john-oliver.net
Mon Nov 9 22:41:19 CET 2009
I installed Nagios from Dag Wieers' RPMForge site
[joliver at mda-services4 ~]$ rpm -q nagios
nagios-3.2.0-1.el5.rf
When I try to start it:
[joliver at mda-services4 ~]$ sudo /etc/init.d/nagios start
Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios
configuration.
But:
[joliver at mda-services4 ~]$ ls -la /var/log/nagios/
total 24
drwxr-xr-x 3 nagios nagios 4096 Nov 9 12:49 .
drwxr-xr-x 12 root root 4096 Nov 9 12:49 ..
drwxr-xr-x 2 nagios nagios 4096 Aug 27 06:35 archives
And:
[joliver at mda-services4 ~]$ sudo /usr/bin/nagios -v
/etc/nagios/nagios.cfg
Nagios Core 3.2.0
Copyright (c) 2009 Nagios Core Development Team and Community
Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2009
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config file '/etc/nagios/objects/commands.cfg'...
Processing object config file '/etc/nagios/objects/contacts.cfg'...
Processing object config file
'/etc/nagios/objects/timeperiods.cfg'...
Processing object config file '/etc/nagios/objects/templates.cfg'...
Processing object config file '/etc/nagios/objects/localhost.cfg'...
Processing object config file '/etc/nagios/objects/windows.cfg'...
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Checked 15 services.
Checking hosts...
Checked 2 hosts.
Checking host groups...
Checked 2 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 24 commands.
Checking time periods...
Checked 5 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
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
So, how do I find what it's unhappy about, with no logs and a manual
check that indicates no problems?
--
***********************************************************************
* John Oliver http://www.john-oliver.net/ *
* *
***********************************************************************
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list