<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Install Munin on Solaris 10 in 11 minutes</title>
	<atom:link href="http://lorands.com/2008/03/install-munin-on-solaris-10-in-11-minutes/feed/" rel="self" type="application/rss+xml" />
	<link>http://lorands.com/2008/03/install-munin-on-solaris-10-in-11-minutes/</link>
	<description>Thoughts on Software Development…</description>
	<lastBuildDate>Mon, 09 May 2011 14:32:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Lóránd Somogyi</title>
		<link>http://lorands.com/2008/03/install-munin-on-solaris-10-in-11-minutes/comment-page-1/#comment-2249</link>
		<dc:creator>Lóránd Somogyi</dc:creator>
		<pubDate>Mon, 24 Nov 2008 20:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://lorand.somogyi.name/index.php/2008/03/05/install-munin-on-solaris-10-in-11-minutes/#comment-2249</guid>
		<description>Congratulations Jan!

I hope I&#039;ll have time and chance to try it.

Thanks for sharing!

Best regards,
L.</description>
		<content:encoded><![CDATA[<p>Congratulations Jan!</p>
<p>I hope I&#8217;ll have time and chance to try it.</p>
<p>Thanks for sharing!</p>
<p>Best regards,<br />
L.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xcomm</title>
		<link>http://lorands.com/2008/03/install-munin-on-solaris-10-in-11-minutes/comment-page-1/#comment-2248</link>
		<dc:creator>xcomm</dc:creator>
		<pubDate>Mon, 24 Nov 2008 16:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://lorand.somogyi.name/index.php/2008/03/05/install-munin-on-solaris-10-in-11-minutes/#comment-2248</guid>
		<description>Corrections:

PERLLIB = /opt/csw/share/perl/5.8.8/Munin

ln -s /etc/init.d/munin-node /etc/rc3.d/S99munin-node</description>
		<content:encoded><![CDATA[<p>Corrections:</p>
<p>PERLLIB = /opt/csw/share/perl/5.8.8/Munin</p>
<p>ln -s /etc/init.d/munin-node /etc/rc3.d/S99munin-node</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xcomm</title>
		<link>http://lorands.com/2008/03/install-munin-on-solaris-10-in-11-minutes/comment-page-1/#comment-2247</link>
		<dc:creator>xcomm</dc:creator>
		<pubDate>Mon, 24 Nov 2008 16:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://lorand.somogyi.name/index.php/2008/03/05/install-munin-on-solaris-10-in-11-minutes/#comment-2247</guid>
		<description>Hi Lóránd,

Ok I got it done - shouldn&#039;t have said `never` before. ;-)

(Note: I use http://www.blastwave.org/packages.php for GNUizing my system. I found SunFreeWare an oxymoron by name (beneath it was very outdated and small as my box was set up), as GNU is either free ware nor Sun&#039;s Freeware. ,-) Therefor are the paths /opt/csw and not /opt/sfw and  the CSW/Blastwave version of pkg-get install gnuprogram. To call the GNU versions directly someone can use gtar instead of tar and so on.)

 cd /usr/local/src
 gtar xzf munin_1.3.4.tar.gz
 cd munin_1.3.4

Edit Makefile.config as described above and fitting into your Solaris Operating Environment. Take special attention to the Web directory settings. (Munin will place an .htaccess there but you may set it better into httpd.conf directly and secure it due https.)

On Solaris 9 I had to set the PERLLIB via hand to got the Munin-server installed!

PERLIB = /opt/csw/share/perl/5.8.8/Munin
                                    
This mainly did the trick. It places Munin::Plugin.pm aka as Munin/Plugin.pm into the Perl @INC. 
(This one is also needed for some plugins as postfix_mailvolume to work.)

Gmake install-main builds also the plugins as in `gmake install-node.
 gmake install-main install-node-plugins

Configure the automatic configurable plugins.
 /usr/local/munin/sbin/munin-node-configure --shell &#124; sh

Start it as here and above.

/usr/local/munin/sbin/munin-node

(For restarts e.g. after configuring more plugins via hand grep and kill munin-node and start again.)

Init scripts and mor can be found here:

/usr/local/src/munin-1.3.4/build/resources
 apache-cgi.conf
 hpux-init.d_munin-node
 hpux-rc.config.d_muninconf
 linux-cron.d_munin
 linux-cron.d_munin-node
 solaris-init.d_munin-node
cp /usr/local/src/munin-1.3.4/build/resources/solaris-init.d_munin-node /etc/init.d/munin-node
chmod u+x /etc/init.d/munin-node
ln -s /etc/init.d/munin-node /etc/rc3.d/K99munin-node
ln -s /etc/init.d/munin-node /etc/rc0.d/K99munin-node
ln -s /etc/init.d/munin-node /etc/rc1.d/K99munin-node
ln -s /etc/init.d/munin-node /etc/rcS.d/K99munin-node

Create a symlink to be able to swap Munin versions.
 cd /usr/local
 ln -s munin-1.3.4/ munin

This on is needed in addition for the server!
 pkg-get install pm_htmltemplate

Or use cpan for installation.
 cpan&gt; install HTML::Template

Than you need the server cron to run it as user munin every 5 minutes.

crontab -e munin
 #minute(0-59) hour(0-23) day(1-31) month(1-12) weekday(0=Sunday-6)
 00,05,10,15,20,25,30,35,40,45,50,55 * * * * /opt/csw/munin/bin/munin-cron &gt; /var/adm/munin/cron 2&gt;&amp;1

MAYBE YOU KNOW IT BETTER HERE?
I had some problems with not being able to set up a system /etc/crontab with variable users as common to under Linux. 
I had to give user munin a shell and password to have it run the cronjob.
 usermod -s/bin/bash -d/tmp munin
 passwd munin

BTW: One last thing, if you parse .html as PHP files you need to remove the &lt;?xml ... line from the Munin html templates.
 for n in `find /opt/csw/munin/etc/templates -type f -name &quot;*.tmpl&quot;`; do echo $n; head -1 $n; sed -i -e &#039;//d&#039; $n; head -1 $n; done 

Have some fun!

Best regards, Jan Rasche</description>
		<content:encoded><![CDATA[<p>Hi Lóránd,</p>
<p>Ok I got it done &#8211; shouldn&#8217;t have said `never` before. <img src='http://lorands.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>(Note: I use <a href="http://www.blastwave.org/packages.php" rel="nofollow">http://www.blastwave.org/packages.php</a> for GNUizing my system. I found SunFreeWare an oxymoron by name (beneath it was very outdated and small as my box was set up), as GNU is either free ware nor Sun&#8217;s Freeware. ,-) Therefor are the paths /opt/csw and not /opt/sfw and  the CSW/Blastwave version of pkg-get install gnuprogram. To call the GNU versions directly someone can use gtar instead of tar and so on.)</p>
<p> cd /usr/local/src<br />
 gtar xzf munin_1.3.4.tar.gz<br />
 cd munin_1.3.4</p>
<p>Edit Makefile.config as described above and fitting into your Solaris Operating Environment. Take special attention to the Web directory settings. (Munin will place an .htaccess there but you may set it better into httpd.conf directly and secure it due https.)</p>
<p>On Solaris 9 I had to set the PERLLIB via hand to got the Munin-server installed!</p>
<p>PERLIB = /opt/csw/share/perl/5.8.8/Munin</p>
<p>This mainly did the trick. It places Munin::Plugin.pm aka as Munin/Plugin.pm into the Perl @INC.<br />
(This one is also needed for some plugins as postfix_mailvolume to work.)</p>
<p>Gmake install-main builds also the plugins as in `gmake install-node.<br />
 gmake install-main install-node-plugins</p>
<p>Configure the automatic configurable plugins.<br />
 /usr/local/munin/sbin/munin-node-configure &#8211;shell | sh</p>
<p>Start it as here and above.</p>
<p>/usr/local/munin/sbin/munin-node</p>
<p>(For restarts e.g. after configuring more plugins via hand grep and kill munin-node and start again.)</p>
<p>Init scripts and mor can be found here:</p>
<p>/usr/local/src/munin-1.3.4/build/resources<br />
 apache-cgi.conf<br />
 hpux-init.d_munin-node<br />
 hpux-rc.config.d_muninconf<br />
 linux-cron.d_munin<br />
 linux-cron.d_munin-node<br />
 solaris-init.d_munin-node<br />
cp /usr/local/src/munin-1.3.4/build/resources/solaris-init.d_munin-node /etc/init.d/munin-node<br />
chmod u+x /etc/init.d/munin-node<br />
ln -s /etc/init.d/munin-node /etc/rc3.d/K99munin-node<br />
ln -s /etc/init.d/munin-node /etc/rc0.d/K99munin-node<br />
ln -s /etc/init.d/munin-node /etc/rc1.d/K99munin-node<br />
ln -s /etc/init.d/munin-node /etc/rcS.d/K99munin-node</p>
<p>Create a symlink to be able to swap Munin versions.<br />
 cd /usr/local<br />
 ln -s munin-1.3.4/ munin</p>
<p>This on is needed in addition for the server!<br />
 pkg-get install pm_htmltemplate</p>
<p>Or use cpan for installation.<br />
 cpan&gt; install HTML::Template</p>
<p>Than you need the server cron to run it as user munin every 5 minutes.</p>
<p>crontab -e munin<br />
 #minute(0-59) hour(0-23) day(1-31) month(1-12) weekday(0=Sunday-6)<br />
 00,05,10,15,20,25,30,35,40,45,50,55 * * * * /opt/csw/munin/bin/munin-cron &gt; /var/adm/munin/cron 2&gt;&amp;1</p>
<p>MAYBE YOU KNOW IT BETTER HERE?<br />
I had some problems with not being able to set up a system /etc/crontab with variable users as common to under Linux.<br />
I had to give user munin a shell and password to have it run the cronjob.<br />
 usermod -s/bin/bash -d/tmp munin<br />
 passwd munin</p>
<p>BTW: One last thing, if you parse .html as PHP files you need to remove the &lt;?xml &#8230; line from the Munin html templates.<br />
 for n in `find /opt/csw/munin/etc/templates -type f -name &#8220;*.tmpl&#8221;`; do echo $n; head -1 $n; sed -i -e &#8216;//d&#8217; $n; head -1 $n; done </p>
<p>Have some fun!</p>
<p>Best regards, Jan Rasche</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xcomm</title>
		<link>http://lorands.com/2008/03/install-munin-on-solaris-10-in-11-minutes/comment-page-1/#comment-2246</link>
		<dc:creator>xcomm</dc:creator>
		<pubDate>Thu, 20 Nov 2008 11:24:39 +0000</pubDate>
		<guid isPermaLink="false">http://lorand.somogyi.name/index.php/2008/03/05/install-munin-on-solaris-10-in-11-minutes/#comment-2246</guid>
		<description>Hi Lóránd,

Sorry I gave it up to install the munin server under Solaris 9 at the moment. 

Best regards, Jan</description>
		<content:encoded><![CDATA[<p>Hi Lóránd,</p>
<p>Sorry I gave it up to install the munin server under Solaris 9 at the moment. </p>
<p>Best regards, Jan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lóránd Somogyi</title>
		<link>http://lorands.com/2008/03/install-munin-on-solaris-10-in-11-minutes/comment-page-1/#comment-2244</link>
		<dc:creator>Lóránd Somogyi</dc:creator>
		<pubDate>Mon, 03 Nov 2008 17:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://lorand.somogyi.name/index.php/2008/03/05/install-munin-on-solaris-10-in-11-minutes/#comment-2244</guid>
		<description>Hi Jan!

Actually we do not run munin-server on Solaris, just the node. To be even more precise, we are just collecting data from the node with our very own application.

I hope you&#039;ll be successful with munin-server install. Anyhow let us know whatever came out.

Regards, 
L.</description>
		<content:encoded><![CDATA[<p>Hi Jan!</p>
<p>Actually we do not run munin-server on Solaris, just the node. To be even more precise, we are just collecting data from the node with our very own application.</p>
<p>I hope you&#8217;ll be successful with munin-server install. Anyhow let us know whatever came out.</p>
<p>Regards,<br />
L.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xcomm</title>
		<link>http://lorands.com/2008/03/install-munin-on-solaris-10-in-11-minutes/comment-page-1/#comment-2243</link>
		<dc:creator>xcomm</dc:creator>
		<pubDate>Mon, 03 Nov 2008 16:29:57 +0000</pubDate>
		<guid isPermaLink="false">http://lorand.somogyi.name/index.php/2008/03/05/install-munin-on-solaris-10-in-11-minutes/#comment-2243</guid>
		<description>Hi Lóránd,

Thanks for your great HowTo which worked out smoothly!

One question last is, if and how you or anybody reading has got the munin-server running under Solaris?

Best regards, Jan</description>
		<content:encoded><![CDATA[<p>Hi Lóránd,</p>
<p>Thanks for your great HowTo which worked out smoothly!</p>
<p>One question last is, if and how you or anybody reading has got the munin-server running under Solaris?</p>
<p>Best regards, Jan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lsomogyi</title>
		<link>http://lorands.com/2008/03/install-munin-on-solaris-10-in-11-minutes/comment-page-1/#comment-2218</link>
		<dc:creator>lsomogyi</dc:creator>
		<pubDate>Fri, 18 Apr 2008 06:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://lorand.somogyi.name/index.php/2008/03/05/install-munin-on-solaris-10-in-11-minutes/#comment-2218</guid>
		<description>The search is on. See top of the page at right.</description>
		<content:encoded><![CDATA[<p>The search is on. See top of the page at right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Voyager</title>
		<link>http://lorands.com/2008/03/install-munin-on-solaris-10-in-11-minutes/comment-page-1/#comment-2217</link>
		<dc:creator>Voyager</dc:creator>
		<pubDate>Tue, 15 Apr 2008 23:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://lorand.somogyi.name/index.php/2008/03/05/install-munin-on-solaris-10-in-11-minutes/#comment-2217</guid>
		<description>Hello, you have on your &lt;b&gt;search&lt;/b&gt;?
A very uncomfortable all the time to search for information manually.</description>
		<content:encoded><![CDATA[<p>Hello, you have on your <b>search</b>?<br />
A very uncomfortable all the time to search for information manually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omnias</title>
		<link>http://lorands.com/2008/03/install-munin-on-solaris-10-in-11-minutes/comment-page-1/#comment-2198</link>
		<dc:creator>Omnias</dc:creator>
		<pubDate>Tue, 01 Apr 2008 03:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://lorand.somogyi.name/index.php/2008/03/05/install-munin-on-solaris-10-in-11-minutes/#comment-2198</guid>
		<description>Most people are other people. Their thoughts are someone else&#039;s opinions, their lives a mimicry, their passions a quotation.</description>
		<content:encoded><![CDATA[<p>Most people are other people. Their thoughts are someone else&#8217;s opinions, their lives a mimicry, their passions a quotation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lsomogyi</title>
		<link>http://lorands.com/2008/03/install-munin-on-solaris-10-in-11-minutes/comment-page-1/#comment-2175</link>
		<dc:creator>lsomogyi</dc:creator>
		<pubDate>Sun, 16 Mar 2008 17:35:43 +0000</pubDate>
		<guid isPermaLink="false">http://lorand.somogyi.name/index.php/2008/03/05/install-munin-on-solaris-10-in-11-minutes/#comment-2175</guid>
		<description>What do you mean how to make executables accessible from anywhere? Or maybe how to make munin-node start at bootstrap?</description>
		<content:encoded><![CDATA[<p>What do you mean how to make executables accessible from anywhere? Or maybe how to make munin-node start at bootstrap?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

