Open source monitoring software Icinga

Source: Internet
Author: User
Tags rsync icinga

common open source monitoring software Nagios,cacti,zabbix,ganglia,opennms.

Here is not much to say, next we do is Nagios variant Icinga, they are compatible with each other, just Icinga was Han.

I. Preparatory work:

1. Two virtual machines or servers, one monitoring side, one monitored side.

Here we define

192.168.137.250,hostname:server IP on the monitor side

The IP of the monitored side is 192.168.137.20,hostname:client

2. Software installation package icinga.tar.gz,nagios.tar.gz

Two. Start building (server) to have Gcc,iptables-f,setenforce 0

TAR-ZXVF icinga.tar.gz

CD Icinga

Yum install gd-* libdbi-*-y

Tar jxvf 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

Site Settings Password

Htpasswd-mc/usr/local/icinga/etc/htpasswd.users Icingaadmin

To restart the service, open a browser to access:

Service httpd Start

Service Icinga Restar

Open Browser access:

192.168.30.250/icinga

Three Client Agent Nrpe

Configuring the Nagios,yum Source

Tar zxvf nagios.tar.gz

Yum Install Createrepo-y

Createrepo-v Nagios

[BB]

Name=aa

Baseurl=file:///root/nagios

Enabled=1

Gpgcheck=0

Service-side Chattr-i/etc/yum.repos.d/

sync to server Rsync-az nagios 192.168.137.250:~ 

rsync-az/etc/yum.repos.d/aa.repo 192.168.137.250:/etc/yum.repos.d/

server chattr +i/etc/yum.repos.d/

install plugin  yum Install Nrpe nagios-plugin\*-y (Server client)







This article is from the Linux OPS blog, so be sure to keep this source http://wagskun.blog.51cto.com/5895496/1622183

Open source monitoring software Icinga

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.