如何部署Icinga服务端(2)

Icinga 1.12.2 Copyright (c) 2009-2015 Icinga Development Team (http://) Copyright (c) 2009-2013 Nagios Core Development Team and Community Contributors Copyright (c) 2009-2014 icinga-cn中文化组 Copyright (c) 1999-2009 Ethan Galstad Last Modified: 02-14-2015 License: GPL 读取配置数据... 警报: 未知 'event_profiling_enabled' 配置设置. 将其从配置中移除! Read main config file okay... Processing object config directory '/usr/local/icinga/etc/conf.d'... Processing object config file '/usr/local/icinga/etc/objects/commands.cfg'... Processing object config file '/usr/local/icinga/etc/objects/contacts.cfg'... Processing object config file '/usr/local/icinga/etc/objects/notifications.cfg'... Processing object config file '/usr/local/icinga/etc/objects/timeperiods.cfg'... Processing object config file '/usr/local/icinga/etc/objects/templates.cfg'... Processing object config file '/usr/local/icinga/etc/objects/localhost.cfg'... Processing object config file '/usr/local/icinga/etc/objects/linux.cfg'... Processing object config directory '/usr/local/icinga/etc/modules'... Processing object config file '/usr/local/icinga/etc/modules/idoutils.cfg'... Read object config files okay... Running pre-flight check on configuration data... Checking services... 已检查17服务. 检查主机... 已检查2主机. 检查主机组... 已检查2主机组. 检查服务组... 已检查2服务组. 检查联系人... 已检查1联系人. 检查联系人组... 已检查1联系人组. 检查服务升级... 已检查0服务升级. 检查服务依赖关系... 已检查0服务依赖关系. 检查主机升级... 已检查0主机升级. 检查主机依赖关系... 已检查0主机依赖关系. 检查命令... 已检查36命令. 检查时间段... 已检查6时间段. 检查模块... 已检查1模块. 检查主机之间的回路... 检查回路主机和服务的依赖性... 检查全局事件处理... 检查强迫性处理命令... 检查杂项设置... 总计警报s: 0 总计错误: 0 Things look okay - No serious problems were detected during the pre-flight check

启动Icinga服务

# service icinga start

设置开机自启动

# chkconfig ido2db on

# chkconfig icinga on

十一、登录WEB界面进行测试

登录地址:

登录用户名为:icingaadmin

登录密码为第六步通过htpasswd命令设置的密码。

如何部署Icinga服务端

总结:

1. 在上述方案中,IDOUtils和NRPE并不是必需的,如果只需搭建一个简单的Icinga服务端,只需要Icinga内核和Nagios插件。具体可参考:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/42dd4122a0b39c3c70322834c21a8a0f.html