1、概述
ICINGA项目是 由Michael Luebben、Hendrik Backer和JoergLinge等人发起的,他们都是现有的Nagios项目社区委员会的成员,他们承诺,新的开源项 目将完全兼容以前的Nagios应用程序及扩展功能。在新项目的网站上,他们是如此定义ICINGA的,这将是一个介于Nagios社区版和企业版间的产 品。特别将致力于解决Nagios项目现在的问题,比如不能及时处理Nagios项目的bug、新功能不能及时添加等。还有在新的ICINGA项目中,将 更好的实现数据库集成方面的功能,标准化第三发应用程序的接口等。
中文项目地址:http://icinga-cn.sourceforge.net/
2、安装基础环境apache+php+mysql,请注意php版本需求,要求5.2以上
系统环境,建议Centos6,因为Centos5的php版本低,会导致icinga-web界面无法显示。
1
2
|
[root@monitor ~] #yum install zlib libpng libjpeg fontconfig gd libxml2 libgd-devel libpng-devel libjpeg-devel zlib-devel gd-devel
[root@monitor ~] #yum install php-mysql php-gd php-bcmath php-mbstring mysql-server httpd php mysql-dev gcc net-snmp-devel curl-devel perl-DBI mysql-dev gcc net-snmp net-snmp-devel curl-devel perl-DBI php-xml
|
3、安装icinga
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
[root@monitor ~] #tar xjvf icinga-cn-1.6.1.tar.bz2
[root@monitor ~] #cd icinga-cn-1.6.1
[root@monitor ~] #useradd -M icinga -s /sbin/nologin
[root@monitor ~] #groupadd icingaadmin
[root@monitor ~] #usermod -G icingaadmin icinga
[root@monitor ~] #usermod -G icingaadmin apache
[root@monitor ~] #yum install libdbi libdbi-devel libdbi-dbd-mysql libdbi-drivers
[root@monitor ~] #./configure --prefix=/usr/local/icinga --with-command-group=icinga --enable-idoutils --with-web-apache-path=/etc/httpd/conf.d/ --enable-embedded-perl
[root@monitor ~] #make all
[root@monitor ~] #make install
[root@monitor ~] #make install-init
[root@monitor ~] #make install-commandmode
[root@monitor ~] #make install-idoutils
[root@monitor ~] #make install-api
[root@monitor ~] #make install-config
[root@monitor ~] #make install-webconf
[root@monitor ~] #ldd /usr/local/icinga/bin/ido2db
[root@monitor ~] #htpasswd -c /usr/local/icinga/etc/htpasswd.users icinga
[root@monitor ~] #vi /usr/local/icinga/etc/cgi.cfg
在所有含有icingaadmin的行后面添加icinga [root@monitor ~] #mysql -u root -p
[root@monitor ~] #mysql> CREATE DATABASE icinga;
[root@monitor ~] #mysql> GRANT USAGE ON *.* TO 'icinga'@'localhost' IDENTIFIED BY 'icinga' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0;
[root@monitor ~] #mysql> GRANT SELECT , INSERT , UPDATE , DELETE ON icinga.* TO 'icinga'@'localhost';
[root@monitor ~] #mysql> FLUSH PRIVILEGES;
[root@monitor ~] #mysql> quit
IDOUtils配置文件 [root@monitor ~] #vi /usr/local/icinga/etc/ido2db.cfg
db_servertype=mysql db_port=3306 db_user=icinga db_pass=icinga [root@monitor ~] #mysql -uroot -p icinga < /opt/icinga/icinga-cn-1.6.1/module/idoutils/db/mysql/mysql.sql
配置数据库支持 [root@monitor ~] #vi /usr/local/icinga/etc/icinga.cfg
broker_module= /usr/local/icinga/bin/idomod .o config_file= /usr/local/icinga/etc/idomod .cfg
[root@monitor ~] #/usr/local/icinga/bin/icinga -v /usr/local/icinga/etc/icinga.cfg
[root@monitor ~] #/etc/init.d/ido2db start
[root@monitor ~] #/etc/init.d/icinga start
[root@monitor ~] #tar xjvf icinga-cn-web-1.5.2.tar.bz2
[root@monitor ~] #cd icinga-cn-web-1.5.2
[root@monitor ~] #./configure --prefix=/usr/local/icinga-web --with-web-user=apache --with-web-group=apache --with-db-type=mysql --with-db-host=localhost --with-db-port=3306 --with-db-name=icinga_web --with-db-user=icinga --with-db-pass=icinga --with-icinga-api=/usr/local/icinga/share/icinga-api --with-web-apache-path=/etc/httpd/conf.d
[root@monitor ~] #make
[root@monitor ~] #make install
[root@monitor ~] #make install-apache-config
[root@monitor ~] #mysql -u root -p
[root@monitor ~] #mysql> CREATE DATABASE icinga_web;
[root@monitor ~] #mysql> GRANT USAGE ON *.* TO 'icinga'@'localhost' IDENTIFIED BY 'icinga' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0;
[root@monitor ~] #mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, INDEX ON icinga_web.* TO 'icinga'@'localhost';
[root@monitor ~] #mysql> quit
[root@monitor ~] #make db-initialize
[root@monitor ~] #tar xjvf icinga\(nagios\)-cn-plugins-1.4.15.tar.bz2
[root@monitor ~] #cd icinga-cn-plugins-1.4.15/
[root@monitor ~] #./configure
[root@monitor ~] #make
[root@monitor ~] #make install
[root@monitor ~] #/etc/init.d/icinga restart
[root@monitor ~] #/etc/init.d/httpd restart
|
相关推荐
icinga 中文化项目,icinga主程序,配合icinga-nrpe-2.14.tar.gz 和nagios-plugins-2.0.3.tar.gz,搭建icinga监控服务器端
icinga-nrpe.2.14.tar.gz icinga客户端安装包 安装在被检测服务器端 service icinga-nrpe start
icinga-cn-1.7.1.tar.bz2中文版
icinga-cn-1.12.2.tar.xz icinga服务端中文版安装包 service icinga start service icinga reload
要切换到PostgreSQL,请使用交互式模式(icinga-installer -i)。 默认情况下,安装程序包括Icinga和EPEL存储库。 Icinga Web 2的默认管理员帐户是“ icingaadmin”和“ icinga”作为密码。 $ icinga-installer ...
icinga-nrpe-2.14.tar.gz,安装icinga监控系统需要用的一个插件。
icinga-aws-selfregister 这将包含我的 shell 脚本,这些脚本使用 aws 命令行工具将 ec2 实例和 elb loadballancers 自行注册到 icinga 监控服务器。 假设您在 icinga 中配置了相关的主机组 这不是作为最终产品,...
editor 网络拓扑图监视traceroute ping的工具每天晚上设备自动停机计划(主机是服务器交换机) 主机图标下载器安装方式Debian 8+ 自行安装Icinga apt install icinga-cgi icinga-cgi-bin icinga-idoutils然后编辑器...
icinga-checkcql 该脚本针对节点的系统键空间执行简单查询。 它符合 ,可用于执行更强大的服务检查。 用法 安装依赖项。 $ npm install 输出帮助。 $ ./check.js -h Usage: /usr/bin/nodejs check.js -H HOST [-P...
nagios-cn-plugins-2.0.3.tar.xz icinga检测功能插件 service icinga-nrpe start 客户端启动
service icinga_service_apply icinga_service_template icinga_servicegroup icinga_timeperiod icinga_user_template icinga_user icinga_zone安装这些模块作为 分发。 要安装它们,请运行: ansible-galaxy ...
您必须在/usr/lib/nagios/plugins文件夹中克隆该插件,然后安装它: git clone https://github.com/egodigital/icinga2-mongo-plugin.git cd icinga2-mongo-plugin npm install 首先定义一个新命令: object ...
一个简单的vagrant up完全安装了这些VM,您就可以开始探索Icinga生态系统和可能的集成。 您可以将这些框用于自己的本地演示,或了解如何在环境中使用Icinga。 Puppet供应商使用官方的上游模块,包括和 。 概述 ,...
Icinga Ansible业务流程集合 该集合包含Ansible角色,该角色的确为Icinga业务流程扩展生成配置。...安装 TBA 使用角色的例子 请参阅角色的。 执照 GPLv3 作者信息 克里斯多夫·西伯 丹尼尔·乌尔曼
截屏安装备份/etc/icinga2/scripts的现有文件,并将此新脚本复制到其中编辑mail-service-notification.sh中的“ HTML模板变量”部分SUBJECT="$SERVICEDISPLAYNAME $SERVICESTATE! - $HOSTDISPLAYNAME"TITLE="Icinga ...
信息 这是我编写或改编的Icinga / Nagios插件的集合。 联系人: 主页: :
Icinga 1.x 目录 关于 Icinga 1.x最初是Nagios的分支,并且向后兼容。 因此,Nagios配置,插件和插件都可以与Icinga 1.x一起使用。 尽管Icinga 1.x保留了其前任产品的所有现有功能,但仍在其基础上添加了许多用户...
该项目包含一些著名的监控系统Nagios和Icinga的插件。 该项目不隶属于Nagios或Icinga。
我已经在他们较新的 Web UI 旁边安装了 Icinga Classic Web,这样我就可以在我的 Android 设备上使用进行远程监控。 Classic Web 很像传统的 Nagios UI,包括一个方便的 CGI 界面,用于从可定制的查询生成 JSON ...
为Icinga存储库构建的所有软件包都具有自己的RPM和Debian / Ubuntu构建软件包的存储库。 尽管由于我们使用GitLab CI进行构建,所以GitHub上不再存在。 该存储库是提交问题和请求的地方,请。 如果您有一般性问题,...