<?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>Commentaires sur : Patching Cacti Threshold plugin for Nagios notification</title>
	<atom:link href="http://www.lecentre.net/blog/archives/77/feed" rel="self" type="application/rss+xml" />
	<link>http://www.lecentre.net/blog/archives/77</link>
	<description>Internet, UNIX, Video, Leisure...</description>
	<pubDate>Tue, 06 Jan 2009 13:45:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Par : justin</title>
		<link>http://www.lecentre.net/blog/archives/77/comment-page-1#comment-287</link>
		<dc:creator>justin</dc:creator>
		<pubDate>Fri, 19 Sep 2008 20:01:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/archives/77#comment-287</guid>
		<description>Problem: used the latest ver of cacti, skipped the ldap part and downloaded the 0.3.4 Thold version linked above and applied the patch. Results:

1 out of 5 hunks FAILED -- saving rejects to file check-thold.php.rej
patching file setup.php
Hunk #1 FAILED at 629.
1 out of 1 hunk FAILED -- saving rejects to file setup.php.rej
patching file thold-functions.php
patching file thold.php
Hunk #2 FAILED at 481.
1 out of 2 hunks FAILED -- saving rejects to file thold.php.rej
patching file thold_templates.php
Hunk #2 FAILED at 605.
1 out of 2 hunks FAILED -- saving rejects to file thold_templates.php.rej
[root@nagios01 thold]# patch -p1 -N &#60; cacti-thold.patch 
patching file check-thold.php
Hunk #5 FAILED at 264.
1 out of 5 hunks FAILED -- saving rejects to file check-thold.php.rej
patching file setup.php
Hunk #1 FAILED at 629.
1 out of 1 hunk FAILED -- saving rejects to file setup.php.rej
patching file thold-functions.php
patching file thold.php
Hunk #2 FAILED at 481.
1 out of 2 hunks FAILED -- saving rejects to file thold.php.rej
patching file thold_templates.php
Hunk #2 FAILED at 605.
1 out of 2 hunks FAILED -- saving rejects to file thold_templates.php.rej

I manually added the changes to setup.php per the diff. The rest of the failed hunks have .rej files like this:

***************
*** 584,587 ****
        print "\n";
  }

- ?&#62;
--- 605,608 ----
        print "\n";
  }

+ ?&#62;

to me that looks like it's not intended to be an actual change, but maybe just a code validation check. 

The end result is that when I click Data Sources, the rows under the Templates column is no longer a hyperlink.</description>
		<content:encoded><![CDATA[<p>Problem: used the latest ver of cacti, skipped the ldap part and downloaded the 0.3.4 Thold version linked above and applied the patch. Results:</p>
<p>1 out of 5 hunks FAILED &#8212; saving rejects to file check-thold.php.rej<br />
patching file setup.php<br />
Hunk #1 FAILED at 629.<br />
1 out of 1 hunk FAILED &#8212; saving rejects to file setup.php.rej<br />
patching file thold-functions.php<br />
patching file thold.php<br />
Hunk #2 FAILED at 481.<br />
1 out of 2 hunks FAILED &#8212; saving rejects to file thold.php.rej<br />
patching file thold_templates.php<br />
Hunk #2 FAILED at 605.<br />
1 out of 2 hunks FAILED &#8212; saving rejects to file thold_templates.php.rej<br />
[root@nagios01 thold]# patch -p1 -N &lt; cacti-thold.patch<br />
patching file check-thold.php<br />
Hunk #5 FAILED at 264.<br />
1 out of 5 hunks FAILED &#8212; saving rejects to file check-thold.php.rej<br />
patching file setup.php<br />
Hunk #1 FAILED at 629.<br />
1 out of 1 hunk FAILED &#8212; saving rejects to file setup.php.rej<br />
patching file thold-functions.php<br />
patching file thold.php<br />
Hunk #2 FAILED at 481.<br />
1 out of 2 hunks FAILED &#8212; saving rejects to file thold.php.rej<br />
patching file thold_templates.php<br />
Hunk #2 FAILED at 605.<br />
1 out of 2 hunks FAILED &#8212; saving rejects to file thold_templates.php.rej</p>
<p>I manually added the changes to setup.php per the diff. The rest of the failed hunks have .rej files like this:</p>
<p>***************<br />
*** 584,587 ****<br />
        print &#8220;\n&#8221;;<br />
  }</p>
<p>- ?&gt;<br />
&#8212; 605,608 &#8212;-<br />
        print &#8220;\n&#8221;;<br />
  }</p>
<p>+ ?&gt;</p>
<p>to me that looks like it&#8217;s not intended to be an actual change, but maybe just a code validation check. </p>
<p>The end result is that when I click Data Sources, the rows under the Templates column is no longer a hyperlink.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Prune</title>
		<link>http://www.lecentre.net/blog/archives/77/comment-page-1#comment-91</link>
		<dc:creator>Prune</dc:creator>
		<pubDate>Tue, 08 Jan 2008 09:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/archives/77#comment-91</guid>
		<description>As you can see in a previous comment from Jimmy, it should be included in the next version.
For the moment it's still actual.
Thanks for the comment.</description>
		<content:encoded><![CDATA[<p>As you can see in a previous comment from Jimmy, it should be included in the next version.<br />
For the moment it&#8217;s still actual.<br />
Thanks for the comment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : mastrboy</title>
		<link>http://www.lecentre.net/blog/archives/77/comment-page-1#comment-90</link>
		<dc:creator>mastrboy</dc:creator>
		<pubDate>Tue, 08 Jan 2008 08:38:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/archives/77#comment-90</guid>
		<description>many thanks, been looking for something like this.. Have tried to request it many times in the cactiusers forum, they just ignore my post :( :p</description>
		<content:encoded><![CDATA[<p>many thanks, been looking for something like this.. Have tried to request it many times in the cactiusers forum, they just ignore my post <img src='http://www.lecentre.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> :p</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Idetrorce</title>
		<link>http://www.lecentre.net/blog/archives/77/comment-page-1#comment-54</link>
		<dc:creator>Idetrorce</dc:creator>
		<pubDate>Sat, 15 Dec 2007 22:20:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/archives/77#comment-54</guid>
		<description>very interesting, but I don't agree with you 
Idetrorce</description>
		<content:encoded><![CDATA[<p>very interesting, but I don&#8217;t agree with you<br />
Idetrorce</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Jimmy</title>
		<link>http://www.lecentre.net/blog/archives/77/comment-page-1#comment-31</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Wed, 21 Nov 2007 15:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/archives/77#comment-31</guid>
		<description>Main reason it has not been added to the main tree is that the future version I am working on makes it completely irrelevant.  Thold v1.0 has the option to allow script execution, paging, or anything else (you can write another plugin to hook into thold to add support for whatever you want).

As it is now, the patch is for a specialized use, for people that use nagios.  I'm trying not to add too many features to the current stable version until I can start back porting a lot of the neat changes in v1.0.</description>
		<content:encoded><![CDATA[<p>Main reason it has not been added to the main tree is that the future version I am working on makes it completely irrelevant.  Thold v1.0 has the option to allow script execution, paging, or anything else (you can write another plugin to hook into thold to add support for whatever you want).</p>
<p>As it is now, the patch is for a specialized use, for people that use nagios.  I&#8217;m trying not to add too many features to the current stable version until I can start back porting a lot of the neat changes in v1.0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Prune</title>
		<link>http://www.lecentre.net/blog/archives/77/comment-page-1#comment-26</link>
		<dc:creator>Prune</dc:creator>
		<pubDate>Fri, 16 Nov 2007 08:32:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/archives/77#comment-26</guid>
		<description>Yes :)

Maybe next when I have some time. I don't know why nobody want's to add this kind of feature to the main tree... this is simple and pretty usefull.

I let you know as soon as it's done.</description>
		<content:encoded><![CDATA[<p>Yes <img src='http://www.lecentre.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Maybe next when I have some time. I don&#8217;t know why nobody want&#8217;s to add this kind of feature to the main tree&#8230; this is simple and pretty usefull.</p>
<p>I let you know as soon as it&#8217;s done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Robin</title>
		<link>http://www.lecentre.net/blog/archives/77/comment-page-1#comment-25</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Fri, 16 Nov 2007 02:41:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/archives/77#comment-25</guid>
		<description>Any chance you will update this for the most current cacti and thold plugins, cacti-0.8.7 and thold-0.3.7 sometime soon?</description>
		<content:encoded><![CDATA[<p>Any chance you will update this for the most current cacti and thold plugins, cacti-0.8.7 and thold-0.3.7 sometime soon?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
