<?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: munin-cgi-graph with fastcgi on debian etch</title>
	<atom:link href="http://blog.loftninjas.org/2008/09/16/munin-cgi-graph-with-fastcgi-on-debian-etch/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.loftninjas.org/2008/09/16/munin-cgi-graph-with-fastcgi-on-debian-etch/</link>
	<description></description>
	<pubDate>Fri, 12 Mar 2010 21:54:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Replacing munin with ganglia at btm.geek</title>
		<link>http://blog.loftninjas.org/2008/09/16/munin-cgi-graph-with-fastcgi-on-debian-etch/comment-page-1/#comment-1120</link>
		<dc:creator>Replacing munin with ganglia at btm.geek</dc:creator>
		<pubDate>Mon, 26 Jan 2009 20:30:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.loftninjas.org/?p=241#comment-1120</guid>
		<description>[...] for some time for server trending. It works well out of the box, but it gets really difficult to get it to scale. The poller runs every five minutes and if it doesn&#8217;t finish, the next run is simply skipped. [...]</description>
		<content:encoded><![CDATA[<p>[...] for some time for server trending. It works well out of the box, but it gets really difficult to get it to scale. The poller runs every five minutes and if it doesn&#8217;t finish, the next run is simply skipped. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: btm</title>
		<link>http://blog.loftninjas.org/2008/09/16/munin-cgi-graph-with-fastcgi-on-debian-etch/comment-page-1/#comment-808</link>
		<dc:creator>btm</dc:creator>
		<pubDate>Tue, 30 Sep 2008 20:05:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.loftninjas.org/?p=241#comment-808</guid>
		<description>@Reti,

Sorry, I just saw that error before I patched munin-cgi-graph. Perhaps ensure that the version of munin-cgi-graph in /usr/lib/cgi-bin is indeed the version that you've patched.

&lt;pre&gt;
/usr/lib/cgi-bin$ md5sum *
89a05267a8dd74b74661a93160828bfd  munin-cgi-graph
89a05267a8dd74b74661a93160828bfd  munin-cgi-graph.in
40f739d746ecd0a06defa2d861058601  munin-cgi-graph.orig
&lt;/pre&gt;

It looks like around line 80 of the patched munin-cgi-graph is where you would get that error if you're not passing all the data.

Are your image links something like:
https://munin/cgi-bin/munin-cgi-graph/prod.example.org/server.prod.example.org/apache_processes-day.png ?

More specifically, did you add 'graph_strategy cgi' to your munin.conf and has munin-html rerun to update all of the links as discussed in step #2 of the &lt;a href="http://munin.projects.linpro.no/wiki/CgiHowto" rel="nofollow"&gt;cgi howto&lt;/a&gt;?</description>
		<content:encoded><![CDATA[<p>@Reti,</p>
<p>Sorry, I just saw that error before I patched munin-cgi-graph. Perhaps ensure that the version of munin-cgi-graph in /usr/lib/cgi-bin is indeed the version that you&#8217;ve patched.</p>
<pre>
/usr/lib/cgi-bin$ md5sum *
89a05267a8dd74b74661a93160828bfd  munin-cgi-graph
89a05267a8dd74b74661a93160828bfd  munin-cgi-graph.in
40f739d746ecd0a06defa2d861058601  munin-cgi-graph.orig
</pre>
<p>It looks like around line 80 of the patched munin-cgi-graph is where you would get that error if you&#8217;re not passing all the data.</p>
<p>Are your image links something like:<br />
<a href="https://munin/cgi-bin/munin-cgi-graph/prod.example.org/server.prod.example.org/apache_processes-day.png">https://munin/cgi-bin/munin-cgi-graph/prod.example.org/server.prod.example.org/apache_processes-day.png</a> ?</p>
<p>More specifically, did you add &#8216;graph_strategy cgi&#8217; to your munin.conf and has munin-html rerun to update all of the links as discussed in step #2 of the <a href="http://munin.projects.linpro.no/wiki/CgiHowto">cgi howto</a>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reti</title>
		<link>http://blog.loftninjas.org/2008/09/16/munin-cgi-graph-with-fastcgi-on-debian-etch/comment-page-1/#comment-805</link>
		<dc:creator>Reti</dc:creator>
		<pubDate>Tue, 30 Sep 2008 07:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.loftninjas.org/?p=241#comment-805</guid>
		<description>@btm

Thank You that was the problem. The diff file was in a html format :)

But now I get on my nagios "website" = Invalid parameters! when i try to open www.mydomain.com/cgi-bin/munin-cgi-graph and in the apache2 error logs I get:

Use of uninitialized value in split at /usr/lib/cgi-bin/munin-cgi-graph line 77.
Warning: Request for graph without specifying domain. Bailing out.

I also tried to remove the "SetHandler" line but without success :(

It is Debian 4.0 Etch System.

Perhaps you also know how to handle that :D</description>
		<content:encoded><![CDATA[<p>@btm</p>
<p>Thank You that was the problem. The diff file was in a html format <img src='http://blog.loftninjas.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
But now I get on my nagios &#8220;website&#8221; = Invalid parameters! when i try to open <a href="http://www.mydomain.com/cgi-bin/munin-cgi-graph">http://www.mydomain.com/cgi-bin/munin-cgi-graph</a> and in the apache2 error logs I get:</p>
<p>Use of uninitialized value in split at /usr/lib/cgi-bin/munin-cgi-graph line 77.<br />
Warning: Request for graph without specifying domain. Bailing out.</p>
<p>I also tried to remove the &#8220;SetHandler&#8221; line but without success <img src='http://blog.loftninjas.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
It is Debian 4.0 Etch System.</p>
<p>Perhaps you also know how to handle that <img src='http://blog.loftninjas.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: btm</title>
		<link>http://blog.loftninjas.org/2008/09/16/munin-cgi-graph-with-fastcgi-on-debian-etch/comment-page-1/#comment-802</link>
		<dc:creator>btm</dc:creator>
		<pubDate>Mon, 29 Sep 2008 16:56:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.loftninjas.org/?p=241#comment-802</guid>
		<description>@Reti,

Take a look at the patch file. You'll need to be sure you're saving the &lt;a href="http://munin.projects.linpro.no/attachment/ticket/3/munin-cgi-graph_fastcgi.diff?format=raw" rel="nofollow"&gt;raw output&lt;/a&gt; with no HTML from that page. It should start like this:

&lt;pre&gt;
--- /usr/lib/cgi-bin/munin-cgi-graph	2006-12-08 18:18:51.000000000 +0100
+++ /usr/lib/cgi-bin/munin-cgi-graph-fastcgi	2007-06-14 01:02:15.000000000 +0200
@@ -40,6 +40,7 @@
 use IO::Handle;
 use Date::Manip;
 use POSIX qw(strftime);
+use CGI::Fast;
 
 my $GRAPHER = "/usr/share/munin/munin-graph";
 my $conffile = "/etc/munin/munin.conf";
&lt;/pre&gt;

If it doesn't, you'll want to make sure you're downloading the diff like:

&lt;pre&gt;wget http://munin.projects.linpro.no/attachment/ticket/3/munin-cgi-graph_fastcgi.diff?format=raw -O munin-cgi-graph_fastcgi.diff&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@Reti,</p>
<p>Take a look at the patch file. You&#8217;ll need to be sure you&#8217;re saving the <a href="http://munin.projects.linpro.no/attachment/ticket/3/munin-cgi-graph_fastcgi.diff?format=raw">raw output</a> with no HTML from that page. It should start like this:</p>
<pre>
--- /usr/lib/cgi-bin/munin-cgi-graph	2006-12-08 18:18:51.000000000 +0100
+++ /usr/lib/cgi-bin/munin-cgi-graph-fastcgi	2007-06-14 01:02:15.000000000 +0200
@@ -40,6 +40,7 @@
 use IO::Handle;
 use Date::Manip;
 use POSIX qw(strftime);
+use CGI::Fast;

 my $GRAPHER = "/usr/share/munin/munin-graph";
 my $conffile = "/etc/munin/munin.conf";
</pre>
<p>If it doesn&#8217;t, you&#8217;ll want to make sure you&#8217;re downloading the diff like:</p>
<pre>wget <a href="http://munin.projects.linpro.no/attachment/ticket/3/munin-cgi-graph_fastcgi.diff?format=raw">http://munin.projects.linpro.no/attachment/ticket/3/munin-cgi-graph_fastcgi.diff?format=raw</a> -O munin-cgi-graph_fastcgi.diff</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reti</title>
		<link>http://blog.loftninjas.org/2008/09/16/munin-cgi-graph-with-fastcgi-on-debian-etch/comment-page-1/#comment-801</link>
		<dc:creator>Reti</dc:creator>
		<pubDate>Mon, 29 Sep 2008 14:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.loftninjas.org/?p=241#comment-801</guid>
		<description>Hi,

thank you for your post. I am getting the following error on patching the munin-cgi-graph file:

patch: **** Only garbage was found in the patch input

This normally means that the diff file is corrupted or something else.

Did somebody experience the same problem ?

Thank You</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>thank you for your post. I am getting the following error on patching the munin-cgi-graph file:</p>
<p>patch: **** Only garbage was found in the patch input</p>
<p>This normally means that the diff file is corrupted or something else.</p>
<p>Did somebody experience the same problem ?</p>
<p>Thank You</p>
]]></content:encoded>
	</item>
</channel>
</rss>
