- 注册时间
- 2010-4-20
- 最后登录
- 2011-11-10
- 在线时间
- 25 小时
- 阅读权限
- 20
- 积分
- 159
- 帖子
- 43
- 主题
- 0
- 精华
- 0
- UID
- 8954

 - 注册时间
- 2010-4-20
- 最后登录
- 2011-11-10
- 在线时间
- 25 小时
- 阅读权限
- 20
- 积分
- 159
- 帖子
- 43
- 主题
- 0
- 精华
- 0
- UID
- 8954
|
发表于 2010-9-12 19:23:40
|显示全部楼层
[root@nagios-S bin]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg -d
Nagios Core 3.2.0
Copyright (c) 2009 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2009
License: GPL
Website: http://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/localhost.cfg'...
Processing object config directory '/usr/local/nagios/etc/linux'...
Error: Template ' host-pnp' specified in host definition could not be not found (config file '/usr/local/nagios/etc/objects/templates.cfg', starting on line 204)
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. |
|