阅读背景:

nagios无法启动,语法检查不过关

来源:互联网 


[root@mode objects]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 3.4.3
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 11-30-2012
License: GPL

Website: https://www.nagios.org
Reading configuration data...
   Read main config file okay...
Processing object config file "/usr/local/nagios/etc/objects/commands.cfg"...
Processing object config file "/usr/local/nagios/etc/objects/contacts.cfg"...
Processing object config file "/usr/local/nagios/etc/objects/timeperiods.cfg"...
Processing object config file "/usr/local/nagios/etc/objects/templates.cfg"...
Processing object config file "/usr/local/nagios/etc/objects/hosts.cfg"...
Processing object config file "/usr/local/nagios/etc/objects/services.cfg"...
Processing object config directory "/usr/local/nagios/etc/objects/services"...
Error: Could not open config directory "/usr/local/nagios/etc/objects/services" for reading.
   Error processing object config files!


***> 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.

[root@mode objects]# /usr/local/nagios/bin/nagio




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: