<?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>Zarathustra Shall Speak &#187; SysAdmin</title>
	<atom:link href="http://zarathustrashallspeak.com/tag/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://zarathustrashallspeak.com</link>
	<description>And you yourself are also this Will to Power.</description>
	<lastBuildDate>Tue, 13 Jul 2010 18:35:48 +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>Broken WordPress PageNavi</title>
		<link>http://zarathustrashallspeak.com/2010/05/17/broken-wordpress-pagenavi/</link>
		<comments>http://zarathustrashallspeak.com/2010/05/17/broken-wordpress-pagenavi/#comments</comments>
		<pubDate>Mon, 17 May 2010 17:15:33 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=375</guid>
		<description><![CDATA[I will not be moved until this engagement is decided.]]></description>
			<content:encoded><![CDATA[<p>So, my company has an interesting take on support.  Unlike those other guys, who we won&#8217;t name out of politeness, when you contact us for support, you get people who know what the hell they&#8217;re doing.  Or if they don&#8217;t, in the case of third-party software that isn&#8217;t part of our core business strategy &#8211; like WordPress &#8211; we can fake it. <img src='http://zarathustrashallspeak.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Had a client with a WordPress blog, using PageNavi.   It suddenly broke, badly &#8211; pagination worked for specific categories, but not for the main feed (eg, index/landing page which shows all posts), or for the archives.  It started off with late pages (in the 18+ range) returning page not found errors, and progressed to the point where the second page started showing the same.</p>
<p>Searching for info on PageNavi is like herding cats &#8211; Google will give you nothing of use, but page after page of results insisting that you just <em>have</em> to use PageNavi.   So, this is why I get the big cheezburgrz:</p>
<p>The solution ended up being simple.   Under the &#8216;Reading&#8217; settings, the &#8216;Blog pages show at most&#8217; setting was set to a ridiculously high number.   Despite this, the individual pages weren&#8217;t showing more than maybe 5 posts at a time.   Reduced the number to 5, and suddenly, pagination via PageNavi worked up to the final page.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/05/17/broken-wordpress-pagenavi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NoDaddy.</title>
		<link>http://zarathustrashallspeak.com/2010/04/29/nodaddy/</link>
		<comments>http://zarathustrashallspeak.com/2010/04/29/nodaddy/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 01:31:04 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fail]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=347</guid>
		<description><![CDATA[What to do when you're trying to get someone onto decent hosting, and budget crap stands in the way.]]></description>
			<content:encoded><![CDATA[<p>Dealing with a client we&#8217;re trying to move off their meh infrastructure onto our omgwtfbbq infrastructure.</p>
<p>Problem is, I can&#8217;t migrate their docroots.   Well, I can grab most of the docroots &#8211; but curiously, there&#8217;s a number of files which are owned by apache:apache and -rx to anything but, wull, Apache.</p>
<p>The virtual server in question has no root access, no sudo, and no way to configure either through their control panel.   Last time I had the misfortune of dealing with GoDaddy&#8217;s support&#8230;   Let&#8217;s just say, I don&#8217;t have three days for another non-resolution.</p>
<p>What to do?   Wull, it <em>is</em> a Drupal site&#8230;</p>
<p><code>&lt;?php</p>
<p>system('/bin/chmod -R go+rx /path/to/files', $retval);</p>
<p>?&gt;</code></p>
<p>Suck it, Trebek.  Suck it long, and suck it hard.</p>
<p><em>(Please note that your mileage may vary depending on how insane the host you&#8217;re trying to rescue a client from is. :p)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/04/29/nodaddy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache: Multiple vhosts, one SSL vhost, and you.</title>
		<link>http://zarathustrashallspeak.com/2010/04/23/apache-multiple-vhosts-one-ssl-vhost-and-you/</link>
		<comments>http://zarathustrashallspeak.com/2010/04/23/apache-multiple-vhosts-one-ssl-vhost-and-you/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 23:36:11 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=338</guid>
		<description><![CDATA[Apache has failings, oh yes.]]></description>
			<content:encoded><![CDATA[<p>Ran into a problem with a customer who&#8217;s set up with Apache virtual hosts set up on both 80 and 443.  The issue is, the only thing using SSL is a third-party application that has nothing to do with the customer&#8217;s site.</p>
<p>Apache being Apache, can do something really interesting with virtual host setups.  If you access the server by a domain that isn&#8217;t explicitly mapped to a virtual host, it&#8217;ll default to the first virtual host it encountered in its configuration files.  This is pretty neat, extremely useful, and &#8211; annoying in this case, as attempting to access the site via https is possible (since the domain is pointing to the system) but going to a place it should not be &#8211; the third-party application, which is the only SSL vhost set up.</p>
<p>Could&#8217;ve set up another vhost for SSL for the main site(s); the problem with that is Apache&#8217;s handling of SSL (IP based) and the fact that it&#8217;d require yet-another-expense &#8211; this would require a valid SSL certificate, as it&#8217;s hard to argue that going to https://mycoolsite.foo isn&#8217;t customer-facing, even if unintentional.</p>
<p>Solution is simple: quick cluster of rewrite rules to push anything not matching the domain of the third-party, SSL-using application, to non-https:</p>
<p><code>RewriteEngine On<br />
RewriteCond %{HTTP_HOST} !^crazyapplication.mycoolsite.foo$ [NC]<br />
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}</code></p>
<p>Naturally, replace crazyapplication.mycoolsite.foo with whatever.</p>
<p>So, what happens after the fact is this:  Aside from the single domain we want covered by SSL, we&#8217;re simply redirecting https to http.</p>
<p>There are other ways to do this, of course, but tactical use of mod_rewrite generally avoids the backing oneself into a corner syndrome.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/04/23/apache-multiple-vhosts-one-ssl-vhost-and-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My kingdom for a solid OS.</title>
		<link>http://zarathustrashallspeak.com/2010/04/11/my-kingdom-for-a-solid-os/</link>
		<comments>http://zarathustrashallspeak.com/2010/04/11/my-kingdom-for-a-solid-os/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 04:20:45 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=317</guid>
		<description><![CDATA[First they laugh at you.  Then they keep on laughing.  Then they cry, because they realize the alternatives are just as bad.]]></description>
			<content:encoded><![CDATA[<p>All I want for Christmas are up to date packages, no need to sit around compiling kernels, and solid networking.  Is it too much to ask?</p>
<p>Yes, clearly.</p>
<p>RHEL/CentOS: Networking is beyond solid, albeit best configured manually in terms of setup.  Xen is absolutely archaic, but at least comes with a dom0 kernel &#8211; though it seems plenty finicky around scsi devices and VNC.</p>
<p>Fedora: &#8230;Hung at the splash screen post-install.  On a Sun Fire x4150.  Seriously?  Points for the upcoming Xenified kernel in Fedora 13, though.</p>
<p>Ubuntu: Networking seems easy enough to configure, and works, as long as you&#8217;re not going super-crazy with abstract interconnects.  Xen is absolutely archaic, and there&#8217;s not even a dom0 kernel.  The answer is to pull a Debian kernel (lol) or compile your own kernel, manually patching with OpenSuSE(!) patches.  Yeah, no thanks.</p>
<p>OpenSuSE: Xen is up to date, and has a potentially super-up-to-date dom0 kernel.  Networking is curiously annoying to deal with via YaST &#8211; but the real problem is, right out of the disc, I apparently can&#8217;t do ethernet bonding with Xen due to module differences.</p>
<p>It&#8217;s 2010.</p>
<p>I&#8217;m just trying to run a solid, up-to-date Xen dom0 with simple, bonded ethernet, without having to a) compile Xen myself, or b) compile a dom0 kernel myself.</p>
<p>It&#8217;s pointedly not 1995.</p>
<p>Really, if I wanted to compile common software myself, I&#8217;d step into a police box and at least get a kick-ass theme song out of it.</p>
<p>Well, OpenSuSE still seems like the best solution for those who are interested in non-broken, easy-to-manage 3.4.x XEN.  Time to fiddle &#8211; I have no doubt that bonding works and that I&#8217;ve just missed the obvious in the installation process.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/04/11/my-kingdom-for-a-solid-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Timer ISR/1: Time went backwards.</title>
		<link>http://zarathustrashallspeak.com/2010/04/02/timer-isr1-time-went-backwards/</link>
		<comments>http://zarathustrashallspeak.com/2010/04/02/timer-isr1-time-went-backwards/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 08:56:45 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=306</guid>
		<description><![CDATA[AMD > Intel.  Always has.  Always will be.]]></description>
			<content:encoded><![CDATA[<p>If you find yourself alone, riding through green fields with the sun on your face, do not be troubled.  For you&#8217;re probably using an Intel-based system for virtualization, and are already dead!</p>
<p>Seriously, though, I&#8217;ve <em>never</em> had any of these weird goddamned problems with AMD-based systems.  Well, whatever.</p>
<p>If you randomly get the <em>&#8216;Timer ISR/1: Time went backwards&#8217;</em> bullshit, reboot your Dom0, enter BIOS, and make sure you turn off all of Intel&#8217;s power saving nonsense.  For a Sun Fire x4150, specifically, kill the following crap:</p>
<p><code>Advanced > CPU Configuration > Intel(R) SpeedStep(tm) tech<br />
Advanced > CPU Configuration > Intel(R) C-STATE tech</code></p>
<p>With an x4150, you may end up with a weird hardware clock issue &#8211; specifically, /dev/rtc being completely inaccessible.  hwclock &#8211;debug will return errno=19.</p>
<p>If you&#8217;re already infuriated to the point of wanting to put a server through a wall, you can do the following:</p>
<p><code>Edit /etc/rc.sysinit and /etc/init.d/halt, comment out all lines referring to hwclock<br />
Install and configure ntp<br />
Edit /etc/sysconfig/ntpd, add the following to the first line of options: -x -g</code></p>
<p>-x will force ntpdate to run first on startup of ntpd, ensuring your eventual completely borked time will be set before ntpd proper starts.  -g will ensure that ntpd can continue to mangle your time, even if somehow your drift is several days off the mark.</p>
<p>Would that Xen had a more up-to-date kernel, or that RedHat hadn&#8217;t abandoned it in favor of KVM.   Or would that KVM was ready for prime time. :p</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/04/02/timer-isr1-time-went-backwards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS/Java Path Setup</title>
		<link>http://zarathustrashallspeak.com/2010/03/31/centosjava-path-setup/</link>
		<comments>http://zarathustrashallspeak.com/2010/03/31/centosjava-path-setup/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 01:35:05 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=297</guid>
		<description><![CDATA[Because I keep forgetting, and because it seems Java isn't going away any time soon.]]></description>
			<content:encoded><![CDATA[<p>export JAVA_HOME=/path/to/JDK<br />
export PATH=${PATH}:${JAVA_HOME}/bin</p>
<p>This can be tossed in a .bashrc or /etc/bashrc or somewhere. :p</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/03/31/centosjava-path-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iscorehacked.sh and dos</title>
		<link>http://zarathustrashallspeak.com/2010/03/09/iscorehacked-sh-and-dos/</link>
		<comments>http://zarathustrashallspeak.com/2010/03/09/iscorehacked-sh-and-dos/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 04:23:48 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Pressflow]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=276</guid>
		<description><![CDATA[H4x!  MAD H4X!!!!!!!!!!!  d00000000000d!!!!!!!!!!!!!!!!11111111111111111]]></description>
			<content:encoded><![CDATA[<p>Dealing with a weird issue where Pressflow is causing all manner of weird and hard to trace issues when placed on top of a D6 site.  Sounds like something&#8217;s verbroken, ja.   A quick check with <a href="http://www.workhabit.com/labs/new-script-are-you-dealing-hacked-drupal-core">iscorehacked.sh</a> is revealing &#8211; wull, <em>everything</em> is hacked!</p>
<p>&#8230;Except, manually comparing files shows no difference between files in random sampling.   Aside from the dos format.  Yes, a file saved in a dos format <strong>will</strong> be revealed by diff as having differences.  Folks, be careful what you&#8217;re editing with/how you&#8217;re saving files if you use Windows. :p</p>
<p>&#8230;That or make sure you have dos2unix installed (yum -y install dos2unix on real(tm) Linux; apt-get install tofrodos for those of you who are heretics) and then execute the following:</p>
<p><code>find . -type f \( -name '*.css' -o -name '*.js' -o -name '*.php' -o -name '*.module' -o -name '*.inc' -o -name '*.pl' -o -name '*.sh' \) -exec dos2unix {} \;</code></p>
<p>&#8230;That&#8217;ll run some fun happy dos2unix conversion while skipping anything that shouldn&#8217;t be touched.  Hell, it&#8217;s probably skipping things that should be touched, but hey, these are the filetypes <em>I</em> needed to cover. <img src='http://zarathustrashallspeak.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/03/09/iscorehacked-sh-and-dos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache: Redirect 404&#8242;d Files to a Different Domain</title>
		<link>http://zarathustrashallspeak.com/2010/03/06/apache-redirect-404d-files-to-a-different-domain/</link>
		<comments>http://zarathustrashallspeak.com/2010/03/06/apache-redirect-404d-files-to-a-different-domain/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 03:04:11 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=270</guid>
		<description><![CDATA[Sorry, but I do know better than you.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll spare you the rant on Google and the horrible advice and misconceptions spewed in forums about doing this, and just give you the good stuff:</p>
<p><code>RewriteEngine on<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule ^/?(.*)$ http://TARGETDOMAIN/$1 [L]</code></p>
<p>Drop this sucker in, swap out &#8216;TARGETDOMAIN&#8217; with where you want your 404&#8242;d files redirected to.  Bah.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/03/06/apache-redirect-404d-files-to-a-different-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS + Munin</title>
		<link>http://zarathustrashallspeak.com/2010/02/23/centos-munin/</link>
		<comments>http://zarathustrashallspeak.com/2010/02/23/centos-munin/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 17:58:00 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=260</guid>
		<description><![CDATA[Norse themed software is my favorite.]]></description>
			<content:encoded><![CDATA[<p><a href="http://munin.projects.linpro.no/">Munin</a> is a nifty little tool that can provide you all manner of insight into the workings of your systems.  There are probably dozens of howto&#8217;s on setting up Munin out there, so obviously, the world needs another one.</p>
<p><strong>Server:</strong></p>
<p>First, <a href="http://fedoraproject.org/wiki/EPEL/FAQ#howtouse">install</a> the <a href="http://fedoraproject.org/wiki/EPEL">EPEL</a> repository.  If this article is dated, be sure to click the install link to grab more up to date instructions from their FAQ.  But, for now:</p>
<p><code>rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm</code></p>
<p>BTW, EPEL is a nice repository filled with all sorts of interesting software that RHEL/CentOS should have, but don&#8217;t.  It&#8217;s basically all the up to date software of Fedora, without the annoyance of Fedora.</p>
<p>Next, you need to enable packages from EPEL for Munin:</p>
<p><code>echo 'includepkgs=munin munin-common munin-node perl-* rrdtool rrdtool-perl' >> /etc/yum.repos.d/epel.repo</code></p>
<p><em>Update: 4/3/2010: I&#8217;ve adjusted the includepkgs line to reflect what&#8217;s needed in recent updates &#8211; mainly, munin-common and moving the perl package includes to perl-* &#8211; there&#8217;s a lot more perl packages required.  That&#8217;s not a bad thing &#8211; it&#8217;s generally better to grab perl packages in RPM form than through cpan, after all &#8211; much easier to keep up to date.</em></p>
<p>Now, install Munin:</p>
<p><code>yum -y install munin munin-node httpd</code></p>
<p>We&#8217;re installing munin-node as well as munin, so you can immediately see graphing awesomeness by monitoring your Munin server itself.  Apache (or some webserver) is necessary to actually view your Munin data.  Anyhoo, once installed, edit a few things.  Mostly:</p>
<p><code>/etc/munin/munin.conf</code></p>
<p>Find the localhost entry and replace it with your monitoring server&#8217;s hostname.  EG:</p>
<pre>
[lemuria.taldar.com]
    address 127.0.0.1
    use_node_name yes
</pre>
<p>Add in an alias to your apache config so you can, you know, see Munin:</p>
<p><code>echo 'Alias /munin /var/www/html/munin' >> /etc/httpd/conf/httpd.conf<br />
/etc/init.d/httpd graceful</code></p>
<p>You may want to put that in a specific virtual host, if you have them &#8211; or even set up .htaccess protection.  That&#8217;s outside the scope of this post, however.</p>
<p>Finally, start munin-node and ensure it starts on booth:</p>
<p><code>/etc/init.d/munin-node start<br />
chkconfig munin-node on</code></p>
<p>Open your browser, navigate to your Munin installation (http://yourserver/munin if following the listed procedure), and&#8230;   Chances are, you&#8217;ll have to wait a few minutes for Munin to actually collect data.  But in a short time, you should have more pretty graphs than you ever dreamed possible.</p>
<p><strong>Client:</strong></p>
<p>Setting up a client is just as easy &#8211; you can skip the &#8216;munin&#8217; part and just install &#8216;munin-node&#8217;.  Once done, check:</p>
<p><code>/etc/munin/munin-node.conf</code> </p>
<p>&#8230;for settings.  For the most part, all you really need to adjust is:</p>
<p><code>allow ^127\.0\.0\.1$</code></p>
<p>Replace 127.0.0.1 with the IP of your munin server.  Save, quit, start the node:</p>
<p><code>/etc/init.d/munin-node start<br />
chkconfig munin-node on</code></p>
<p>Back on the server, open up:</p>
<p><code>/etc/munin/munin.conf</code></p>
<p>&#8230;And add an entry for your new client.  Example:</p>
<pre>
[fatov.taldar.com]
    address 192.168.42.69
    use_node_name yes
</pre>
<p>No need to restart anything on the server, since Munin&#8217;s monitoring is cron-based.</p>
<p>If you&#8217;ve got iptables running, you probably need to add a rule to allow the client to accept traffic from the server.  Open up:</p>
<p><code>/etc/sysconfig/iptables</code></p>
<p>..And add:</p>
<p><code>-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --source IPOFYOURMUNINSERVER --dport 4949 -j ACCEPT</code></p>
<p>Then restart iptables:</p>
<p><code>/etc/init.d/iptables restart</code></p>
<p>Note the &#8211;source line; this should restrict tcp/4949 to your Munin server.  Since nothing else should be talking to your client on 4949, you might as well go the distance in keeping things secure.</p>
<p><strong>Enabling More Stuff</strong></p>
<p>You&#8217;ll notice that different servers might have different graphs &#8211; you might see MySQL show up on a database server, while it doesn&#8217;t show up on a webserver.  When you install munin-node, the installer does some checking and enables plugins that seem to make sense.  What if you want more stuff?   Simply check:</p>
<p><code>/usr/share/munin/plugins/</code></p>
<p>&#8230;And see what&#8217;s available.  To enable something &#8211; we&#8217;ll use &#8216;netstat&#8217; as example, you just make a symlink in the Munin config plugins directory.  Example:</p>
<p><code>ln -s /usr/share/munin/plugins/netstat /etc/munin/plugins/netstat</code></p>
<p>Restart the node after this:</p>
<p><code>/etc/init.d/munin-node start</code></p>
<p><strong>MySQL</strong></p>
<p>You might have a MySQL plugin enabled by default, but &#8211; by default, it won&#8217;t pull anything of use.  To remedy this, hop on your node, and open up:</p>
<p><code>/etc/munin/plugin-conf.d/munin-node</code></p>
<p>Add or modify the following:</p>
<p><code>[mysql*]<br />
env.mysqlopts -u munin -pSEKRITPASSWORDSHHH</code></p>
<p>Replace &#8216;SEKRITPASSWORD&#8230;&#8217; with some sort of password.  Note the MySQL user (-u munin) you&#8217;ll be creating is fairly unprivileged.  Speaking of which, let&#8217;s create that:</p>
<p><code>mysql<br />
create user munin@'localhost' identified by 'SEKRITPASSWORDSHHH';<br />
flush privileges;<br />
quit;<br />
</code></p>
<p>&#8230;Again, replace the password.   After all this &#8211; you guessed it, restart the node:</p>
<p><code>/etc/init.d/munin-node start</code></p>
<p>Shortly thereafter you should start getting MySQL data on the server.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/02/23/centos-munin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun x4150/SG-XPCIE8SAS-I-Z</title>
		<link>http://zarathustrashallspeak.com/2010/02/22/sun-x4150sg-xpcie8sas-i-z/</link>
		<comments>http://zarathustrashallspeak.com/2010/02/22/sun-x4150sg-xpcie8sas-i-z/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 23:16:35 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=258</guid>
		<description><![CDATA[Sense.  This makes none.]]></description>
			<content:encoded><![CDATA[<p>Had some weird experiences with x4150&#8242;s and LSI RAID cards.  RAID cards would randomly work or not work, unless placed in the middle slot.</p>
<p>Thankfully, the cables leading to the drive backplane are just barely capable of reaching the middle slot.  Helps to pull them and reroute them &#8211; you can get them to fit snugly but not ridiculously tight.</p>
<p>Blah.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2010/02/22/sun-x4150sg-xpcie8sas-i-z/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
