当我运行以下命令时:
[root@ssbpops01 libexec]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg 我发现了下一个错误:
Nagios Core 4.0.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-14-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
**Error: Could not open config directory '/usr/local/nagios/etc/servers' 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.** 你能帮忙吗?
发布于 2014-11-27 11:19:46
/usr/local/nagios/etc/servers不存在。在/usr/local/nagios/etc/nagios.cfg中创建目录或找到行
cfg_dir=/usr/local/nagios/etc/servers并对此发表评论:
#cfg_dir=/usr/local/nagios/etc/servershttps://stackoverflow.com/questions/27167145
复制相似问题