linux - Nagios /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg -
when i'm running following command:
[root@ssbpops01 libexec]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
i got next error:
nagios core 4.0.4 copyright (c) 2009-present nagios core development team , 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: not open config directory '/usr/local/nagios/etc/servers' reading. error processing object config files!** ***> 1 or more problems encountered while processing config files... **check configuration file(s) ensure contain valid directives , data defintions. if upgrading previous version of nagios, should aware variables/definitions may have been removed or modified in version. make sure read html documentation regarding config files, 'whats new' section find out has changed.**
can please assist?
/usr/local/nagios/etc/servers not exist. create directory or find line in /usr/local/nagios/etc/nagios.cfg:
cfg_dir=/usr/local/nagios/etc/servers
and comment it:
#cfg_dir=/usr/local/nagios/etc/servers
Comments
Post a Comment