nagios 4.1.1无法在Centos 6.0中启动

nagios 4.1.1无法在Centos 6.0中启动

运行后:

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Warning: use_embedded_perl_implicitly is deprecated and will be removed.
Warning: enable_embedded_perl is deprecated and will be removed.
Warning: p1_file is deprecated and will be removed.
Warning: sleep_time is deprecated and will be removed.
Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival
Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival
   Read main config file okay...
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/usr/local/nagios/etc/objects/templates.cfg', starting at line 52)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/usr/local/nagios/etc/objects/templates.cfg', starting at line 206)
   Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
        Checked 241 services.
        Checked 102 hosts.
        Checked 23 host groups.
        Checked 0 service groups.
        Checked 4 contacts.
        Checked 4 contact groups.
        Checked 37 commands.
        Checked 5 time periods.
        Checked 0 host escalations.
        Checked 0 service escalations.
Checking for circular paths...
        Checked 102 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

这是从 3.5 升级到 4.1.1,几乎是全新的配置,但我用的是旧命令。4.1.1 有什么技巧吗?

答案1

假设您已经在 /usr/local/nagios 下安装了 nagios,运行 service nagios start 后,nagios.log(/usr/local/nagios/var/nagios.log)会显示什么?

相关内容