<?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>Jetpack Flight Log &#187; cpanel</title>
	<atom:link href="http://jetpackweb.com/blog/tags/cpanel/feed/" rel="self" type="application/rss+xml" />
	<link>http://jetpackweb.com/blog</link>
	<description>Rock{et}ing the interweb</description>
	<lastBuildDate>Wed, 19 May 2010 22:21:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to fix Munin&#8217;s Exim Graph on cPanel</title>
		<link>http://jetpackweb.com/blog/2009/07/16/how-to-fix-munins-exim-graph-on-cpanel/</link>
		<comments>http://jetpackweb.com/blog/2009/07/16/how-to-fix-munins-exim-graph-on-cpanel/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 16:57:07 +0000</pubDate>
		<dc:creator>Brian Racer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[munin]]></category>

		<guid isPermaLink="false">http://jetpackweb.com/blog/?p=113</guid>
		<description><![CDATA[If you notice the Exim graphs on your server have stop updating, you might want to check /var/log/munin/munin-node.log and see if you have lots of these entries: tail /var/log/munin/munin-node.log &#160; ... Plugin &#34;exim_mailstats&#34; exited with status 768. ---- ... You just need to remove the state file, and the graph will start updating again. Don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>If you notice the Exim graphs on your server have stop updating, you might want to check /var/log/munin/munin-node.log and see if you have lots of these entries:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family: Monaco, monospace;"><span class="kw2">tail</span> <span class="sy0">/</span>var<span class="sy0">/</span>log<span class="sy0">/</span>munin<span class="sy0">/</span>munin-node.log
&nbsp;
...
Plugin <span class="st0">&quot;exim_mailstats&quot;</span> exited with status 768. <span class="re5">----</span>
...</pre></div></div>

<p>You just need to remove the state file, and the graph will start updating again. Don&#8217;t worry about deleting the file, no data should be lost.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family: Monaco, monospace;"><span class="kw2">rm</span> <span class="sy0">/</span>var<span class="sy0">/</span>lib<span class="sy0">/</span>munin<span class="sy0">/</span>plugin-state<span class="sy0">/</span>plugin-exim_mailstats.state</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://jetpackweb.com/blog/2009/07/16/how-to-fix-munins-exim-graph-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to fix Munin&#8217;s MySQL Graph on cPanel</title>
		<link>http://jetpackweb.com/blog/2009/07/16/how-to-fix-munins-mysql-graph-on-cpanel/</link>
		<comments>http://jetpackweb.com/blog/2009/07/16/how-to-fix-munins-mysql-graph-on-cpanel/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 16:54:51 +0000</pubDate>
		<dc:creator>Brian Racer</dc:creator>
				<category><![CDATA[cpanel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[munin]]></category>

		<guid isPermaLink="false">http://jetpackweb.com/blog/?p=105</guid>
		<description><![CDATA[We have a few cPanel servers deployed and to visually monitor performance we use the Munin monitoring tool. We were having issues where the MySQL graphs would stop updating. The bug has to do with one of the perl libraries the script uses, which causes the MySQL plugin to have problems location the mysqladmin program. [...]]]></description>
			<content:encoded><![CDATA[<p>We have a few cPanel servers deployed and to visually monitor performance we use the Munin monitoring tool. We were having issues where the MySQL graphs would stop updating. The bug has to do with one of the perl libraries the script uses, which causes the MySQL plugin to have problems location the <b>mysqladmin</b> program.</p>
<p>To fix these, create or edit the following file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family: Monaco, monospace;"><span class="kw2">vi</span> <span class="sy0">/</span>etc<span class="sy0">/</span>munin<span class="sy0">/</span>plugin-conf.d<span class="sy0">/</span>cpanel.conf</pre></div></div>

<p>It should contain the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family: Monaco, monospace;"><span class="br0">&#91;</span>mysql<span class="sy0">*</span><span class="br0">&#93;</span>
user root
group wheel
env.mysqladmin <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>mysqladmin
env.mysqlopts <span class="re5">--defaults-extra-file</span>=<span class="sy0">/</span>root<span class="sy0">/</span>.my.cnf</pre></div></div>

<p>This would load the username and password from root&#8217;s mysql config. If that file doesn&#8217;t exist you can create it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family: Monaco, monospace;"><span class="kw2">sudo</span> <span class="kw2">vi</span> <span class="sy0">/</span>root<span class="sy0">/</span>.my.cnf</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family: Monaco, monospace;"><span class="br0">&#91;</span>client<span class="br0">&#93;</span>
<span class="re2">user</span>=<span class="st0">&quot;root&quot;</span>
<span class="re2">pass</span>=<span class="st0">&quot;secret!password&quot;</span></pre></div></div>

<p>Now just restart Munin, wait a a little bit, and the graphs should start populating again!</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family: Monaco, monospace;"><span class="kw2">sudo</span> <span class="sy0">/</span>etc<span class="sy0">/</span>init.d<span class="sy0">/</span>munin-node restart</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://jetpackweb.com/blog/2009/07/16/how-to-fix-munins-mysql-graph-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
