In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Open source monitoring software icinga how to use, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
Common open source monitoring software
Nagios,cacti,zabbix,ganglia,openNMS .
There is not much to say here, the next thing we do is the variant icinga of nagios, they are compatible with each other, but icinga is the second development version of nagios.
one。 Preparatory work:
1. Two virtual machines or servers, one monitoring side, one being monitored side.
Here we define
The ip of the monitor side is 192.168.137.75 scene hostname Vista server
The ip of the monitored terminal is 192.168.137.76 camera hostname Vista station.
two。 Software installation package icinga.tar.gz,nagios.tar.gz
two。 Start building.
Useradd icinga
Tar zxvf icinga.tar.gz
Cd icinga
Yum install gd-* libdbi-*-y
Tar xjvf icinga-cn.1.9.3.tar.gz
Cd icinga-cn-1.9.3
. / configure
Make all
User add icinga
Make fullinstall
Cd / usr/local/icinga/
Rm-rf etc
Make install-config
Set a password for the website:
Htpasswd-mc htpasswd.users icingaadmin
Restart the service and open the browser to access:
Service httpd start
Service icinga restar
Open a browser to access:
192.168.30.250/icinga
Modify page refresh time
Cd / usr/local/icinga/etc
Vim cgi.cfg
Refresh_rate=90
Three client client install agent nrpe
Configure nagios,yum Feed
Tar zxvf nagios.tar.gz
Yum install createrepo-y
Createrepo-v nagios
[bb]
Name=aa
Baseurl= file:///root/nagios
Enabled=1
Gpgcheck=0
Server chattr-I / etc/yum.repos.d/
Synchronize to server rsync-az nagios 192.168.137.75
Rsync-az / etc/yum.repos.d/aa.repo 192.168.137.75:/etc/yum.repos.d/
Server chattr + I / etc/yum.repos.d/
Install the plug-in yum install nrpe nagios-plugin\ *-y (server client)
Open the daemon and view:
/ etc/init.d/nrpe restart
Chkconfig nrpe on
Cd / usr/lib64/nagios/plugins/
/ usr/lib64/nagios/plugins/check_nrpe-H localhost
Cd / etc/nagios/
Vim nrpe.cfg
Service nrpe restart
Vim / etc/nagios/nrpe.cfg
Allowed_hosts=127.0.0.1192.168.137.75
Fuwuduan
Cd / usr/local/icinga/etc/objects
Cp linux.cfg.. / conf.d/
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.