¡No te pierdas nuestro canal en Youtube!

Nuestras otras creaciones:
La-biblioteca.com | Cineactual.es | Dedemonios.shop

Installation Munin (Monitoring) in RHEL, CentOS and Fedora  Installation Munin (Monitoring) in RHEL, CentOS and Fedora

Valoración de éste post
4.83 / 5 de 1975 votos

Mensajes: 722

Puntos totales:



El contenido de este artículo o información está sujeto a una licencia Creative Commons BY (CC-BY), puedes divulgar públicamente este contenido pero deberás hacer mención del autor: Kernel e indicar la dirección web de esta página: https://www.exabyteinformatica.com/tienda/foro/installation-munin-monitoring-in-rhel-centos-and-fedora-t1380.html

The content of this article or any related information is under the Creative Commons license BY, you can republish this content freely but you must mention the author of this article: Kernel and indicate the URL of this page: https://www.exabyteinformatica.com/tienda/foro/installation-munin-monitoring-in-rhel-centos-and-fedora-t1380.html

Bajo licencia de Creative Commons

Munin (community Monitoring tool) is an open source internet based network monitoring application written in Perl that suggests community usage of servers and services in graphical kind the usage of RRDtool. With the assist of Munin that you could monitor the efficiency of your methods, networks, SANS’s and purposes.

It has a grasp/node structure the place grasp connects to each node consistently and pulls the information from them. It then makes use of RRDtool to log and generate up-to-date graphs.

Suggested read: 20 Command Line equipment to monitor Linux performance

In this article, we will stroll via you the steps in developing Munin (network Monitoring tool) with Munin Node in RHEL, CentOS and Fedora systems the usage of following atmosphere.

Munin Server:

hostname: munin.tecmint.com
IP tackle: 192.168.103

Munin client - hostname: munin-node.tecmint.com
IP address: 192.168.15 installation Munin in RHEL, CentOS & Fedora

Setting up Munin is awfully simple, just observe my beneath step-by-step instructions to deploy it for your server.

Step 1: deploy EPEL Repository

Munin will also be installed through the use of Fedora‘s EPEL repository below RHEL 7.x/6.x/5.x and CentOS 7.x/6.x/5.x.

Simply, run here instructions as root consumer to deploy and enable Epel repository the usage of wget.

RHEL/CentOS 7 ------------------ RHEL/CentOS 7 - sixty four-Bit ------------------ # wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm # rpm -ivh epel-unencumber-7-eight.noarch.rpm RHEL/CentOS 6 ------------------ RHEL/CentOS 6 - 32-Bit ------------------ # wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-eight.noarch.rpm # rpm -ivh epel-free up-6-eight.noarch.rpm ------------------ RHEL/CentOS 6 - sixty four-Bit ------------------ # http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-free up-6-eight.noarch.rpm # rpm -ivh epel-release-6-eight.noarch.rpm RHEL/CentOS 5 ------------------ RHEL/CentOS 5 - 32-Bit ------------------ # wget http://download.fedoraproject.org/pub/epel/5/i386/epel-liberate-5-4.noarch.rpm # rpm -ivh epel-liberate-5-four.noarch.rpm ------------------ RHEL/CentOS 5 - 64-Bit ------------------ # wget http://down load.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-four.noarch.rpm # rpm -ivh epel-liberate-5-4.noarch.rpm

Notice: Fedora users don’t need to deploy EPEL repository, as a result of munin is included in Fedora and might be installed the use of yum or dnf kit manager.

Recommended study: 20 Yum commands to manipulate Linux equipment management

Advised read: 27 Dnf commands to control Fedora equipment management

Next, do an equipment replace to make certain that the EPEL kit database is loaded before we going to installation Munin.

------------------ On RHEL and CentOS most effective ------------------ # yum -y replace

Step 2: install Apache internet Server

Munin needs a working internet server reminiscent of Apache or Nginx to reveal its data information. We will deploy Apache net server to serve Munin graphs here.

------------------ On RHEL, CentOS and Fedora ------------------ # yum install httpd ------------------ On Fedora 22+ Releases ------------------ # dnf install httpd

Once Apache installed, birth and permit the provider to immediately beginning at device boot time.

------------------ On RHEL, CentOS and Fedora ------------------ # service httpd beginning # chkconfig --level 35 httpd on ------------------ On RHEL/CentOS 7 and Fedora 22+ ------------------ # systemctl enable httpd # systemctl beginning httpd

Step 3: install Munin and Munin-Node

Now it’s time to deploy the Munin and Munin-Node as shown.

------------------ On RHEL, CentOS and Fedora ------------------ # yum -y deploy munin munin-node ------------------ On Fedora 22+ Releases ------------------ # dnf -y install munin munin-node

By default the above installation creates following directories.

/and so forth/munin/munin.conf : Munin master configuration file.
/and so forth/cron.d/munin : Munin cron file.
/and many others/httpd/conf.d/munin.conf : Munin Apache configuration file.
/var/log/munin : Munin log listing.
/var/www/html/munin : Munin web directory.
/and so on/munin/munin-node.conf : Munin Node master configuration file.
/etc/munin/plugins.conf : Munin plugins configuration file.

Step 3: Configure Munin and Password give protection to Munin

Here is step is not obligatory and handiest relevant if you wish to use munin.tecmint.com in its place localhost in HTML output as shown:

Open /and so on/munin/munin.conf configuration file and make the adjustments as counseled and don’t neglect to exchange munin.tecmint.com together with your server name.

# a simple host tree [munin.tecmint.com] tackle use_node_name sure [...]

Next password offer protection to Munin facts with username and password the usage of Apache simple auth module as shown:

# htpasswd /and so on/munin/munin-htpasswd admin Munin Password Protect

Visita Exaforo.com

Subsequent restart Munin and permit it to start at boot time immediately.

------------------ On RHEL, CentOS and Fedora ------------------ # provider munin-node delivery # chkconfig --stage 35 munin-node on ------------------ On RHEL/CentOS 7 and Fedora 22+ ------------------ # systemctl permit munin-node # systemctl birth munin-node

Step 4: accessing Munin web Interface

Wait for 30 minutes so that Munin can generate graphs and displayed it. To see first output of graphs, open your browser and navigate to http://munin-monitoring.org/ and enter login credentials.

If it didn’t on the spot for username and password, open /and many others/httpd/conf.d/munin.conf and alter the username from Munin to admin and restart Apache.

AuthUserFile /and many others/munin/munin-htpasswd AuthName "admin" AuthType simple require legitimate-person

Visita Exaforo.com

Visita Exaforo.com

Step 5: Add Linux customer to Munin Server

Login into Linux client computing device and installation only munin-node kit as shown:

# yum installation munin-node # dnf installation munin-node [On Fedora 22+ versions] # apt-get install munin-node [On Debian based systems]

Now open /and so on/munin/munin-node.conf configuration file and add the munin server IP tackle to allow facts fetching from the client.

# vi /etc/munin/munin-node.conf

Add the IP tackle of Munin sever in here format as shown:

# a listing of addresses that are allowed to join. Enable ^127\.0\.0\.1$ allow ^::1$ allow ^192\.168\.0\.103$

Ultimately, restart the munin customer:

------------------ On RHEL, CentOS and Fedora ------------------ # carrier munin-node start # chkconfig --degree 35 munin-node on ------------------ On RHEL/CentOS 7 and Fedora 22+ ------------------ # systemctl allow munin-node # systemctl start munin-node

Step 6: Configure Munin Server to connect customer Node

Open /etc/munin/munin.conf configuration file and add the following new portion of faraway Linux customer node with the server name and IP handle as shown:

# a simple host tree [munin.tecmint.com] tackle use_node_name sure [munin-node.tecmint.com] handle use_node_name sure

Subsequent, restart munin server and navigate to the http://munin-monitoring.org/ web page to look the brand new customer node graphs in action.

Visita Exaforo.com

Visita Exaforo.com

For greater assistance and usage please seek advice from at http://munin-monitoring.org/wiki/Documentation

No te pierdas el tema anterior: What people are asserting about Linux

Salta al siguiente tema: Linux Kernel Module – fundamentals

Quizás también te interese:

Volver a Unix/Linux