Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install centos6.4 x86x64 Icinga1.9

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly shows you "centos6.4 x86x64 Icinga1.9 how to install", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn how to install centos6.4 x86x64 Icinga1.9 "this article.

1. System settings before installation

Close selinuxvi / etc/sysconfig/selinuxselinux=diabled close iptableschkconfig iptabels offreboot

two。 Prerequisites for installation:

Yum-y install httpd gcc gcc-c++ gd gd-develyum-y intall install httpd gcc glibc glibc-common gd gd-develyum-y install libjpeg libjpeg-devel libpng libpng-develyum-y install net-snmp net-snmp-devel net-snmp-utilsyum-y install libdbi-devel libdbi libdbi-drivers libdbi-dbd-mysql

3. Create a user

Useradd icingapasswd icingauseradd wwwgroupadd icinga-cmdusermod-a-G icinga-cmd icingausermod-a-G icinga-cmd www

4. Download software

Wget http://sourceforge.net/projects/icinga-cn/files/icinga-cn/icinga-cn-1.9/icinga-cn-1.9.4.tar.bz2wget http://sourceforge.net/projects/icinga-cn/files/icinga%20plugins/icinga-nrpe-2.14.tar.gzwget http://assets.nagios.com/downloads/nagiosplugins/nagios-plugins-1.5.tar.gz

5. Start installing icinga-cn-1.9

Tar jxvf icinga-cn-1.9.4.tar.bz2cd icinga-cn-1.9./configure-- with-command-group=icinga-cmdmake allmake fullinstallmake install-configmake cgismake install-cgismake install-htmlmake install-webconfhtpasswd-c / usr/local/icinga/etc/htpasswd.users icingaadmin service httpd restart after completion

6. Start installing nagios-plugins

Tar zxvf nagios-plugins-1.5.tar.gzcd nagios-plugins-1.5./configure-prefix=/usr/local/icinga-with-cgiurl=/icinga/cgi-bin--with-nagios-user=icinga-with-nagios-group=icingamakemake install

7. Start icinga

Chkconfig-add icingachkconfig icinga onservice icinga start

8. Start installing icinga-nrpe-2.14

Yum-y install gcc openssl openssl-develtar zxvf icinga-nrpe-2.14.tar.gzcd icinga-nrpe-2.14./configuremake allmake install-plugin

9. Start icinga-nrpe and test

Cd nagios-nrpe-2.14cp src/nrpe / usr/local/icinga/bincp sample-config/nrpe.cfg / usr/local/icinga/etc launch: / usr/local/icinga/bin/nrpe-n-c / usr/local/icinga/etc/nrpe.cfg-d Test: / usr/local/icinga/libexec/check_nrpe-H 127.0.0.1

10. Install icinga-nrpe and test on the client

Host

The installation method is the same as above, modify the setting of vi / usr/local/icinga/etc/nrpe.cfgallowed_hosts=x.x.x.x / * to IP startup / usr/local/icinga/bin/nrpe-n-c / usr/local/icinga/etc/nrpe.cfg-d of icinga server, test on icinga server, execute the following command: / usr/local/icinga/libexec/check_nrpe-H-n, reverse the nrpe version number The above are all the contents of the article "how to install centos6.4 x86x64 Icinga1.9". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report