<?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>Monitoring &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/monitoring/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Thu, 03 Dec 2020 10:24:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Monitoring &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Monitoring Debian Server Status Using Munin</title>
		<link>https://help.hostry.com/knowledge-base/monitoring-debian-server-status-using-munin/</link>
					<comments>https://help.hostry.com/knowledge-base/monitoring-debian-server-status-using-munin/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 19 Mar 2020 11:26:19 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1534</guid>

					<description><![CDATA[Munin is an online resource monitoring tool that can help analyze resource trends and “what just led to a decrease in our productivity?” Problems. It is designed to be very plug and play. The default setting provides many graphs with virtually no work. Install The Necessary Packages Create a User [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><em><a href="http://munin-monitoring.org/">Munin </a></em></strong>is an online resource monitoring tool that can help analyze resource trends and “what just led to a decrease in our productivity?” Problems. It is designed to be very plug and play. The default setting provides many graphs with virtually no work. </p>



<h2 id="install-the-necessary-packages" >Install The Necessary Packages</h2>



<pre class="wp-block-code"><code>apt-get install munin munin-plugins-extra libwww-perl apache2-utils</code></pre>



<h2 id="create-a-user-to-access-the-web-interface" >Create a User To Access The Web Interface</h2>



<pre class="wp-block-code"><code>htpasswd -c /etc/munin/.htpasswd munin</code></pre>



<h2 id="enable-monitoring-plugins" > Enable Monitoring Plugins </h2>



<p>Next, you should choose the plugin that will be included, while creating a symbolic link for it</p>



<pre class="wp-block-code"><code>ln -s /usr/share/munin/plugins/cpu /etc/munin/plugins/cpu
ln -s /usr/share/munin/plugins/df /etc/munin/plugins/df
ln -s /usr/share/munin/plugins/forks /etc/munin/plugins/forks
ln -s /usr/share/munin/plugins/fw_packets /etc/munin/plugins/fw_packets
ln -s /usr/share/munin/plugins/ip_127.0.0.1 /etc/munin/plugins/ip_127.0.0.1
ln -s /usr/share/munin/plugins/load /etc/munin/plugins/load
ln -s /usr/share/munin/plugins/memory /etc/munin/plugins/memory
ln -s /usr/share/munin/plugins/processes /etc/munin/plugins/processes
ln -s /usr/share/munin/plugins/threads /etc/munin/plugins/threads
ln -s /usr/share/munin/plugins/uptime /etc/munin/plugins/uptime
ln -s /usr/share/munin/plugins/exim_mailqueue /etc/munin/plugins/exim_mailqueue
ln -s /usr/share/munin/plugins/exim_mailstats /etc/munin/plugins/exim_mailstats
ln -s /usr/share/munin/plugins/postfix_mailstats /etc/munin/plugins/postfix_mailstats
ln -s /usr/share/munin/plugins/postfix_mailqueue /etc/munin/plugins/postfix_mailqueue
ln -s /usr/share/munin/plugins/mysql_queries /etc/munin/plugins/mysql_queries
ln -s /usr/share/munin/plugins/nginx_request /etc/munin/plugins/nginx_request
ln -s /usr/share/munin/plugins/nginx_status /etc/munin/plugins/nginx_status
ln -s /usr/share/munin/plugins/apache_accesses /etc/munin/plugins/apache_accesses
ln -s /usr/share/munin/plugins/apache_processes /etc/munin/plugins/apache_processes</code></pre>



<h2 id="change-configuration" >Change Configuration</h2>



<p>First you need to edit the <strong>/etc/munin/munin.conf </strong>file for some basic settings. Then find and change <strong>[localhost.localdomain]</strong> your own hostname, for example <strong>your-server.example.com</strong>. Open and edit <strong>/etc/apache2/conf.d/munin</strong>.</p>



<p>Comment on the following lines: </p>



<pre class="wp-block-code"><code>Order allow,deny
Allow from localhost 127.0.0.0/8 ::1
Options None</code></pre>



<p>Then uncomment the following lines to enable authentication: </p>



<pre class="wp-block-code"><code># AuthUserFile /etc/munin/.htpasswd
# AuthName "Munin"
# AuthType Basic
# require valid-user</code></pre>



<p><strong><em>IMPORTANT!</em></strong> If your Apache web server is listening on a port that is different from 80, then you should definitely edit  <strong>/etc/munin/plugin-conf.d/munin-node</strong>. Add the following lines to the end of the file if your Apache is listening on port 8080:  </p>



<pre class="wp-block-code"><code>[apache_*]
env.ports 8080</code></pre>



<p>The final step will be to restart the services </p>



<pre class="wp-block-code"><code>/etc/init.d/munin-node restart
/etc/init.d/apache2 restart</code></pre>



<p>If all the steps are completed correctly, now you can access the munin web interface  <strong>http://YOUR_SERVER_IP/munin</strong> </p>



<h2 id="_" ></h2>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/monitoring-debian-server-status-using-munin/feed/</wfw:commentRss>
			<slash:comments>457</slash:comments>
		
		
			</item>
	</channel>
</rss>
