I installed Nagios from Dag Wieers’ RPMForge site
[quote][joliver@mda-services4 ~]$ rpm -q nagios
nagios-3.2.0-1.el5.rf[/quote]
When I try to start it:
[quote][joliver@mda-services4 ~]$ sudo /etc/init.d/nagios start
Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.[/quote]
But:
[quote][joliver@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[/quote]
And:
[quote][joliver@mda-services4 ~]$ sudo /usr/bin/nagios -v /etc/nagios/nagios.cfg
Nagios Core 3.2.0
Copyright © 2009 Nagios Core Development Team and Community Contributors
Copyright © 1999-2009 Ethan Galstad
Last Modified: 08-12-2009
License: GPL
Website: 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[/quote]
So, how do I find what it’s unhappy about, with no logs and a manual check that indicates no problems?