Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use the open source monitoring software icinga

Shulou Source: shulou.com Published: 2022-06-02 03:45:25 10月03日 Update

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.

Tags: Monitoring services software monitoring software browsers help browsing clear next content variants just customers clients passwords for this common plug-ins articles novices Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Apple Xiaomi Shulou Information vpn