<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Install Munin Monitoring tool i Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/install-munin-monitoring-tool-i/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 21 Feb 2019 22:36:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Install Munin Monitoring tool in RHEL 7/8, CentOS 7 and Fedora 28/29</title>
		<link>https://www.osradar.com/install-munin-monitoring-tool-in-rhel-7-8-centos-7-and-fedora-28-29/</link>
					<comments>https://www.osradar.com/install-munin-monitoring-tool-in-rhel-7-8-centos-7-and-fedora-28-29/#comments</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Thu, 21 Feb 2019 22:36:33 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Install Munin Monitoring tool i]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7827</guid>

					<description><![CDATA[<p>in this tutorial i will show you, how to install Munin on CentOS 7 or Fedora 28/29 . Munin is a networked resource monitoring tool written in Perl and uses RRDtool to create graphs accessable from web interface. this tool giving the possibility to monitor and get alerts  from all kind of services ,servers, switches, and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-munin-monitoring-tool-in-rhel-7-8-centos-7-and-fedora-28-29/">Install Munin Monitoring tool in RHEL 7/8, CentOS 7 and Fedora 28/29</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>in this tutorial i will show you, how to install Munin on CentOS 7 or Fedora 28/29 . Munin is a networked resource monitoring tool written in Perl and uses RRDtool to create graphs accessable from web interface. this tool giving the possibility to monitor and get alerts  from all kind of services ,servers, switches, and applications.</p>
<p>Information about my Munin Server</p>
<pre>[root@munin ~]# ip a | grep inet
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
inet 192.168.2.98/24 brd 192.168.2.255 scope global noprefixroute dynamic enp0s3
inet6 2a02:a455:37bd:1:e01f:6f17:6209:5424/64 scope global noprefixroute dynamic
inet6 fe80::14a3:f26a:e5d2:e74e/64 scope link noprefixroute
[root@munin ~]# uname -a
Linux munin.osradar.lan 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[root@munin ~]# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
[root@munin ~]#</pre>
<p><strong>1-update ur  Server</strong></p>
<p>For Centos  /RHEL Servers</p>
<pre>yum update -y</pre>
<p>For  Fedora 28/29</p>
<pre>dnf update -y</pre>
<p># yum update<br />
<strong>2. Install the EPEL repository</strong><br />
How to install the EPEL repository on Centos7 or Fedora 29:</p>
<pre># yum install epel-release -y
# dnf install epel-release  -y</pre>
<p><strong>3. Install Munin and Apache</strong><br />
How to install Install Munin and Apache  in Centos and Fedora</p>
<p>Please use the below command:</p>
<pre># yum install   munin munin-node httpd -y
# dnf install   munin munin-node httpd -y</pre>
<p>Here bellow you  find related munin files and  directories</p>
<ul>
<li>/etc/munin/munin.conf : Munin master configuration file.</li>
<li>/etc/cron.d/munin : Munin cron file.</li>
<li>/etc/httpd/conf.d/munin.conf : Munin Apache configuration file.</li>
<li>/var/log/munin : Munin log directory.</li>
<li>/var/www/html/munin : Munin web directory.</li>
<li>/etc/munin/munin-node.conf : Munin Node master configuration file.</li>
<li>/etc/munin/plugins.conf : Munin plugins configuration file.</li>
</ul>
<p><strong>4. Install  and Configure Munin</strong></p>
<p>Now   enable and , start Munin  on boot.</p>
<pre># systemctl enable munin-node
# systemctl start munin-node</pre>
<p><strong>5.Configuration</strong></p>
<p>Edit file <strong>/etc/httpd/conf.d/munin.conf</strong>,</p>
<pre># vi /etc/munin/munin.conf</pre>
<p>Add/Edit as shown below.</p>
<pre>#Uncomment the following lines
dbdir   /var/lib/munin
htmldir /var/www/html/munin
logdir /var/log/munin
rundir  /var/run/munin

[...]

# a simple host tree. Set your system name
[munin.osradar.lan]
address 127.0.0.1
use_node_name yes</pre>
<p>&nbsp;</p>
<p>Setup Apache  to be accessible from the local network</p>
<p>Edit file <strong>/etc/httpd/conf.d/munin.conf</strong>,</p>
<pre># vi /etc/httpd/conf.d/munin.conf</pre>
<p>Add the following lines at the end.</p>
<pre>&lt;Directory /var/www/html/munin/&gt;
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 192.168.2.0/24
&lt;/Directory&gt;</pre>
<p><strong>6. Configure Munin master user</strong><br />
Use the htpasswd utility to  create a username and password for basic authentication,</p>
<p>lets make osradar user be able to access the site</p>
<pre># htpasswd /etc/munin/munin-htpasswd  osradar
New password:
Re-type new password:</pre>
<p>The  HTTP munin configuration will be  like this</p>
<pre>#cat /etc/httpd/conf.d/munin.conf

&lt;Directory /var/www/html/munin/&gt;

AuthUserFile /etc/munin/munin-htpasswd
AuthName "osradar"
AuthType Basic
require valid-user

Order Deny,Allow
Deny from all
Allow from 127.0.0.1 192.168.2.0/24
&lt;/Directory&gt;</pre>
<p><img loading="lazy" class="alignnone size-full wp-image-11029" src="https://www.osradar.com/wp-content/uploads/2019/02/munin11.png" alt="" width="732" height="214" srcset="https://www.osradar.com/wp-content/uploads/2019/02/munin11.png 732w, https://www.osradar.com/wp-content/uploads/2019/02/munin11-300x88.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/munin11-696x203.png 696w" sizes="(max-width: 732px) 100vw, 732px" /></p>
<p><strong>7.Restart apache</strong></p>
<p>Check if  any warnings of errors displaying.</p>
<pre># systemctl restart httpd</pre>
<p><strong>7.1-Configure the fireWall</strong></p>
<p>allow connection to port 80  ( http service)</p>
<pre>[root@munin ~]# firewall-cmd --permanent --add-service=http
success
[root@munin ~]# firewall-cmd --reload
success
[root@munin ~]#</pre>
<p><strong>8.Try access  the  Server  http://host/munin</strong></p>
<p><img loading="lazy" class="alignnone size-full wp-image-11031" src="https://www.osradar.com/wp-content/uploads/2019/02/munin12.png" alt="" width="1072" height="452" srcset="https://www.osradar.com/wp-content/uploads/2019/02/munin12.png 1072w, https://www.osradar.com/wp-content/uploads/2019/02/munin12-300x126.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/munin12-768x324.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/munin12-1024x432.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/munin12-696x293.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/munin12-1068x450.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/munin12-996x420.png 996w" sizes="(max-width: 1072px) 100vw, 1072px" /> <img loading="lazy" class="alignnone size-full wp-image-11032" src="https://www.osradar.com/wp-content/uploads/2019/02/munin13.png" alt="" width="1078" height="496" srcset="https://www.osradar.com/wp-content/uploads/2019/02/munin13.png 1078w, https://www.osradar.com/wp-content/uploads/2019/02/munin13-300x138.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/munin13-768x353.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/munin13-1024x471.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/munin13-696x320.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/munin13-1068x491.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/munin13-913x420.png 913w" sizes="(max-width: 1078px) 100vw, 1078px" /></p>
<h3><img loading="lazy" class="alignnone size-full wp-image-11038" src="https://www.osradar.com/wp-content/uploads/2019/02/munin13-1.png" alt="" width="1015" height="837" srcset="https://www.osradar.com/wp-content/uploads/2019/02/munin13-1.png 1015w, https://www.osradar.com/wp-content/uploads/2019/02/munin13-1-300x247.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/munin13-1-768x633.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/munin13-1-696x574.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/munin13-1-509x420.png 509w" sizes="(max-width: 1015px) 100vw, 1015px" /></h3>
<h3><strong>How to add Monitoring Client  to Munin</strong></h3>
<p>My Cllient is Centos server with ip adress : 192.168.2.165  and hostname  osradarClient</p>
<p>Go to your client systems and install munin-node package.</p>
<pre>#yum  update
yum  install  epel-release
# yum install munin-node -y</pre>
<p><strong>Configure the node</strong></p>
<p>Edit file /etc/munin/munin-node.conf,</p>
<p># vi /etc/munin/munin-node.conf<br />
Set client hostname and specify Munin server IP address.</p>
<pre>[...]
host_name osradarClient

[...]

allow ^192\.168\.2\.98$
allow ^::1$

[...]</pre>
<p>osradarClient is my client hostname and 192.168.2.98 is my Munin server.</p>
<p>Start and  enable  munin-node service on your client system.</p>
<pre># systemctl enable munin-node 
# systemctl start munin-node</pre>
<p>Back to  your Munin server and add the client system host name and ip address in /etc/munin/munin.conf file</p>
<p># vi /etc/munin/munin.conf<br />
Add the following lines.</p>
<pre>[osradarClient]
address 192.168.2.165
use_node_name yes</pre>
<p>Save and exit .</p>
<p>Very  important   :</p>
<p>To fetch data from clients. the firewall port  4949 should be  open</p>
<pre> [root@osradarClient ~]# firewall-cmd --permanent --add-port=4949/tcp
success
[root@osradarClient ~]# firewall-cmd --reload
success</pre>
<p>Check the logs on the Munin Server /var/log/munin</p>
<p><img loading="lazy" class="alignnone size-full wp-image-11034" src="https://www.osradar.com/wp-content/uploads/2019/02/munin14.png" alt="" width="1295" height="309" srcset="https://www.osradar.com/wp-content/uploads/2019/02/munin14.png 1295w, https://www.osradar.com/wp-content/uploads/2019/02/munin14-300x72.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/munin14-768x183.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/munin14-1024x244.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/munin14-696x166.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/munin14-1068x255.png 1068w" sizes="(max-width: 1295px) 100vw, 1295px" /></p>
<p>You  have to wait some minutes to build data  before to be pushed to the graphs</p>
<p>Please  Enjoy</p>
<p><img loading="lazy" class="alignnone size-full wp-image-11036" src="https://www.osradar.com/wp-content/uploads/2019/02/munin15.png" alt="" width="1168" height="544" srcset="https://www.osradar.com/wp-content/uploads/2019/02/munin15.png 1168w, https://www.osradar.com/wp-content/uploads/2019/02/munin15-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/munin15-768x358.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/munin15-1024x477.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/munin15-696x324.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/munin15-1068x497.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/munin15-902x420.png 902w" sizes="(max-width: 1168px) 100vw, 1168px" /></p>
<p><img loading="lazy" class="alignnone size-full wp-image-11039" src="https://www.osradar.com/wp-content/uploads/2019/02/munin16.png" alt="" width="1244" height="783" srcset="https://www.osradar.com/wp-content/uploads/2019/02/munin16.png 1244w, https://www.osradar.com/wp-content/uploads/2019/02/munin16-300x189.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/munin16-768x483.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/munin16-1024x645.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/munin16-696x438.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/munin16-1068x672.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/munin16-667x420.png 667w" sizes="(max-width: 1244px) 100vw, 1244px" /></p>
<p>Enjoy</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-munin-monitoring-tool-in-rhel-7-8-centos-7-and-fedora-28-29/">Install Munin Monitoring tool in RHEL 7/8, CentOS 7 and Fedora 28/29</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-munin-monitoring-tool-in-rhel-7-8-centos-7-and-fedora-28-29/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
