开源Linux监控系统:Icinga
2014-08-15 18:37
441 查看
Blog: http://www.simlinux.com其实Icinga是Nagios监控的一个分支,有两个分支版本Icinga1和Icinga2;Icinga除了完全兼容Nagios的插件和扩展甚至配置文件,在web接口和报告上有很大的改进,并且简化了插件的开发;Icinga1和Nagios的基础监控类似,增加了一些新的特性和修复了Nagios的一些bug
详细可参考:
https://www.icinga.org/icinga/icinga-1/features/
https://www.icinga.org/icinga/icinga-2/architecture/
下面基于Centos7来安装Icinga1:
一、安装LAMP环境
1.安装apache和php
yum -y install httpd php php-pear php-xmlrpc php-xsl php-soap php-mysql php-pdo php-gd php-mbstring
防火墙放行httpd服务
firewall-cmd —add-service=http (临时放行)
firewall-cmd —permanent —add-service=http(永久放行,写入配置文件,系统重启后依然有效)
systemctl start http.service
相关资源:Icinga官方文档 :http://docs.icinga.org
Icinga EPEL :http://packages.icinga.org/epel
Icinga安装包及vagrant box下载 :https://www.icinga.org/download
Centos7网络配置和服务管理参考: http://simlinux.com/blog/2014/08/12/centos7wang-luo-pei-zhi-he-fu-wu-guan-li/
详细可参考:
https://www.icinga.org/icinga/icinga-1/features/
https://www.icinga.org/icinga/icinga-2/architecture/
下面基于Centos7来安装Icinga1:
一、安装LAMP环境
1.安装apache和php
yum -y install httpd php php-pear php-xmlrpc php-xsl php-soap php-mysql php-pdo php-gd php-mbstring
防火墙放行httpd服务
firewall-cmd —add-service=http (临时放行)
firewall-cmd —permanent —add-service=http(永久放行,写入配置文件,系统重启后依然有效)
systemctl start http.service
vim /var/www/html/info.php <?php phpinfo(); ?> <br> 测试php解析是否正常 vim /etc/php.ini date.timezone= PRC2.安装Mariadb
yum -y install mariadb-server mariadb mysql_secure_installation systemctl start mariadb systemctl status mariadb二、安装icinga监控工具
wget http://packages.icinga.org/epel/ICINGA-release.repo -O /etc/yum.repod/icinga.repo rpm --import http://packages.icinga.org/icinga.key yum -y install icinga icinga-doc icinga-gui htpasswd -cm /etc/icinga/passwd geekwolf systemctl start icinga systemctl start httpd三、安装Nagios插件
rpm -Uvh http://ftp.ines.lug.ro/fedora/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm yum -y install nagios-plugins nagios-plugins-all 配置文件路径/etc/icinga,配置方式和nagios一样 vim /etc/icinga/cgi.cfg authorized_for_system_information=geekwolf authorized_for_configuration_information=geekwolf authorized_for_full_command_resolution=geekwolf authorized_for_system_commands=geekwolf authorized_for_all_services=geekwolf authorized_for_all_hosts=geekwolf authorized_for_all_service_commands=geekwolf authorized_for_all_host_commands=geekwolf访问Web:http://192.168.117.129/icinga
相关资源:Icinga官方文档 :http://docs.icinga.org
Icinga EPEL :http://packages.icinga.org/epel
Icinga安装包及vagrant box下载 :https://www.icinga.org/download
Centos7网络配置和服务管理参考: http://simlinux.com/blog/2014/08/12/centos7wang-luo-pei-zhi-he-fu-wu-guan-li/
相关文章推荐
- Linux-系统运维监控工具-开源监控产品1
- Linux-系统运维监控工具-开源监控产品2
- 网络监控软件Nagios, Nagios是一款开源的免费网络监视工具,能有效监控Windows、Linux和Unix的主机状态,交换机路由器等网络设备,打印机等。在系统或服务状态异常时发出邮件或短信报
- linux系统基于cacti的监控和报警
- Linux服务器系统监控框架与MSN、E-mail、手机短信报警的实现
- Linux全攻略--系统性能、进程监控和日志管理 推荐
- 用Logwatch工具监控Linux系统Log日志
- 开源Linux系统成为微软Vista竞争对手
- linux系统整体监控脚本
- Linux系统整体性能监控工具详解
- LoadRunner监控Linux系统资源的准备工作
- 系统监控:linux命令行-飞信客户端发送免费报警短信
- [原创]LoadRunner如何监控Linux系统资源
- 使用 inotify 监控 Linux 文件系统事件
- Linux 系统信息监控统计命令小结
- Linux全攻略--系统性能、进程监控和日志管理
- 开源Linux系统成为微软Vista竞争对手
- 开源Linux系统成为微软Vista竞争对手
- 监控服务器状态(LINUX系统)
- Linux全攻略--系统性能、进程监控和日志管理