<?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>
	<lastBuildDate>Sat, 17 Sep 2011 17:24:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Par : TheWitness</title>
		<link>http://www.lecentre.net/blog/archives/77/comment-page-1#comment-3040</link>
		<dc:creator>TheWitness</dc:creator>
		<pubDate>Sat, 17 Sep 2011 17:24:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/archives/77#comment-3040</guid>
		<description>Placing the patch in the Cacti bug&#039;s database is the way to report both enhancements and bug. http://bugs.cacti.net</description>
		<content:encoded><![CDATA[<p>Placing the patch in the Cacti bug&#8217;s database is the way to report both enhancements and bug. <a href="http://bugs.cacti.net" rel="nofollow">http://bugs.cacti.net</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Prune</title>
		<link>http://www.lecentre.net/blog/archives/77/comment-page-1#comment-2670</link>
		<dc:creator>Prune</dc:creator>
		<pubDate>Fri, 06 Aug 2010 16:08:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/archives/77#comment-2670</guid>
		<description>People from Cacti, Plugins framework for Cacti and specialy the Threshold plugin dev team DONT WANT to add this feature. They argue they are &quot;in the process or re-writing&quot; the whole thing... In the meantime, 3 years now, you just can&#039;t have this option... 
Or you can use my patch, which is not maintained as I&#039;m not using it anymore... (I&#039;m doing something else than monitoring)</description>
		<content:encoded><![CDATA[<p>People from Cacti, Plugins framework for Cacti and specialy the Threshold plugin dev team DONT WANT to add this feature. They argue they are &laquo;&nbsp;in the process or re-writing&nbsp;&raquo; the whole thing&#8230; In the meantime, 3 years now, you just can&#8217;t have this option&#8230;<br />
Or you can use my patch, which is not maintained as I&#8217;m not using it anymore&#8230; (I&#8217;m doing something else than monitoring)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Adners Holm</title>
		<link>http://www.lecentre.net/blog/archives/77/comment-page-1#comment-2668</link>
		<dc:creator>Adners Holm</dc:creator>
		<pubDate>Thu, 05 Aug 2010 13:46:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/archives/77#comment-2668</guid>
		<description>Thanks for the patch. Despite this being a patch for a much older version of (everything) that I am running, this still doesn&#039;t exist in thold. Hopefully I can scrub it up a tad to make it work for us here.

2 and a half years to add this to main branch?</description>
		<content:encoded><![CDATA[<p>Thanks for the patch. Despite this being a patch for a much older version of (everything) that I am running, this still doesn&#8217;t exist in thold. Hopefully I can scrub it up a tad to make it work for us here.</p>
<p>2 and a half years to add this to main branch?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Prune</title>
		<link>http://www.lecentre.net/blog/archives/77/comment-page-1#comment-729</link>
		<dc:creator>Prune</dc:creator>
		<pubDate>Mon, 26 Jan 2009 08:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/archives/77#comment-729</guid>
		<description>threshold plugin is working fine. Hacking it so it can talk to Nagios was what I needed, and I did it the easyiest way I found.
New releases of Cacti sure break the code given here. I will have a look when I upgrade to new Nagios and new Cacti.
You&#039;re free to re-write the code if you need it :)</description>
		<content:encoded><![CDATA[<p>threshold plugin is working fine. Hacking it so it can talk to Nagios was what I needed, and I did it the easyiest way I found.<br />
New releases of Cacti sure break the code given here. I will have a look when I upgrade to new Nagios and new Cacti.<br />
You&#8217;re free to re-write the code if you need it <img src='http://www.lecentre.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : quequotion</title>
		<link>http://www.lecentre.net/blog/archives/77/comment-page-1#comment-728</link>
		<dc:creator>quequotion</dc:creator>
		<pubDate>Mon, 26 Jan 2009 07:54:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/archives/77#comment-728</guid>
		<description>this post makes it all sound so easy... i know i&#039;m not the only person who couldn&#039;t get the latest nagios, cacti, or thold running without hacking my way through several dozen bugs and installing countless dependencies....
does any of this software actually work for anyone?
imho, the code needs a complete overhaul.</description>
		<content:encoded><![CDATA[<p>this post makes it all sound so easy&#8230; i know i&#8217;m not the only person who couldn&#8217;t get the latest nagios, cacti, or thold running without hacking my way through several dozen bugs and installing countless dependencies&#8230;.<br />
does any of this software actually work for anyone?<br />
imho, the code needs a complete overhaul.</p>
]]></content:encoded>
	</item>
	<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 &lt; 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 &quot;\n&quot;;
  }

- ?&gt;
--- 605,608 ----
        print &quot;\n&quot;;
  }

+ ?&gt;

to me that looks like it&#039;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 &laquo;&nbsp;\n&nbsp;&raquo;;<br />
  }</p>
<p>- ?&gt;<br />
&#8212; 605,608 &#8212;-<br />
        print &laquo;&nbsp;\n&nbsp;&raquo;;<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&#039;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&#039;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&#039;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>
</channel>
</rss>

