В ps и top пусто.
В rc.conf:
Код: Выделить всё
[#root] cat /etc/rc.conf | grep nagios
nagios_enable="YES"
Код: Выделить всё
[#root] /usr/local/etc/rc.d/nagios start
Performing sanity check of nagios configuration: OK
Starting nagios.
Код: Выделить всё
[#root] /usr/local/etc/rc.d/nagios status
nagios is not running.
Код: Выделить всё
[#root] cat /var/spool/nagios/nagios.lock
5774
Код: Выделить всё
[#root] tail /var/spool/nagios/nagios.log
[1279450633] Finished daemonizing... (New PID=5453)
[1279450635] Nagios 2.9 starting... (PID=5485)
[1279450635] LOG VERSION: 2.0
[1279450635] Finished daemonizing... (New PID=5486)
[1279450790] Nagios 2.9 starting... (PID=5518)
[1279450790] LOG VERSION: 2.0
[1279450790] Finished daemonizing... (New PID=5519)
[1279453232] Nagios 2.9 starting... (PID=5773)
[1279453232] LOG VERSION: 2.0
[1279453232] Finished daemonizing... (New PID=5774)
Код: Выделить всё
[#root] nagios -v /usr/local/etc/nagios/nagios.cfg
Nagios 2.9
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 04-10-2007
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
Checked 381 services.
Checking hosts...
Checked 381 hosts.
Checking host groups...
Checked 4 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 6 contacts.
Checking contact groups...
Checked 4 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 28 commands.
Checking time periods...
Checked 4 time periods.
Checking extended host info definitions...
Checked 381 extended host info definitions.
Checking extended service info definitions...
Checked 0 extended service info definitions.
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