<?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: Easily link to Cacti or Perfparse graphs from Nagios</title>
	<atom:link href="http://seigafuse.com/2006/11/04/easily-link-to-cacti-graphs-from-nagios/feed/" rel="self" type="application/rss+xml" />
	<link>http://seigafuse.com/2006/11/04/easily-link-to-cacti-graphs-from-nagios/</link>
	<description>Mike Seigafuse&#039;s Technology and IT Security Blog</description>
	<lastBuildDate>Mon, 05 Mar 2012 17:37:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Mike</title>
		<link>http://seigafuse.com/2006/11/04/easily-link-to-cacti-graphs-from-nagios/comment-page-1/#comment-12857</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 17 Feb 2009 18:04:09 +0000</pubDate>
		<guid isPermaLink="false">#comment-12857</guid>
		<description>Marco,

I suggest you check your main Nagios configuration file to see if that character is allowed (see below excerpt from configuration file documentation):

Illegal Macro Output Characters

Format: 	illegal_macro_output_chars=
Example: 	illegal_macro_output_chars=`~$^&amp;&quot;&#124;&#039;

This option allows you to specify illegal characters that should be stripped from macros before being used in notifications, event handlers, and other commands. This DOES NOT affect macros used in service or host check commands. You can choose to not strip out the characters shown in the example above, but I recommend you do not do this. Some of these characters are interpreted by the shell (i.e. the backtick) and can lead to security problems. 

You would need to confirm the backslash is allowed and restart nagios.  Let me know whether that helps or not (but I believe it will).

Mike</description>
		<content:encoded><![CDATA[<p>Marco,</p>
<p>I suggest you check your main Nagios configuration file to see if that character is allowed (see below excerpt from configuration file documentation):</p>
<p>Illegal Macro Output Characters</p>
<p>Format: 	illegal_macro_output_chars=<br />
Example: 	illegal_macro_output_chars=`~$^&amp;&#8221;|&#8217;</p>
<p>This option allows you to specify illegal characters that should be stripped from macros before being used in notifications, event handlers, and other commands. This DOES NOT affect macros used in service or host check commands. You can choose to not strip out the characters shown in the example above, but I recommend you do not do this. Some of these characters are interpreted by the shell (i.e. the backtick) and can lead to security problems. </p>
<p>You would need to confirm the backslash is allowed and restart nagios.  Let me know whether that helps or not (but I believe it will).</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://seigafuse.com/2006/11/04/easily-link-to-cacti-graphs-from-nagios/comment-page-1/#comment-12856</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Tue, 17 Feb 2009 16:25:03 +0000</pubDate>
		<guid isPermaLink="false">#comment-12856</guid>
		<description>Hello Mike: 

I have been trying to use your php script but I keep getting an error in lines 20 and 32. There seems to be e problem with the &#039;\&#039; characters or the &#039;&quot;&#039; characters. I have no experience with php so if you have any tips on how to fix this I appreciate it. The errors are: 

Warning: Unexpected character in input: &#039;\&#039; (ASCII=92) state=1 in /usr/local/nagios/share/cacti/nagtocacti.php on line 20

Warning: Unexpected character in input: &#039;\&#039; (ASCII=92) state=1 in /usr/local/nagios/share/cacti/nagtocacti.php on line 20

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/local/nagios/share/cacti/nagtocacti.php on line 20

By the way I have intalled the script in the /usr/local/nagios/share/cacti directory that means that my cacti console is accessed in address: 
http://localhost/nagios/cacti/

Do I have to change line 20 to fix this also??

Thanks 

Marco</description>
		<content:encoded><![CDATA[<p>Hello Mike: </p>
<p>I have been trying to use your php script but I keep getting an error in lines 20 and 32. There seems to be e problem with the &#8216;\&#8217; characters or the &#8216;&#8221;&#8216; characters. I have no experience with php so if you have any tips on how to fix this I appreciate it. The errors are: </p>
<p>Warning: Unexpected character in input: &#8216;\&#8217; (ASCII=92) state=1 in /usr/local/nagios/share/cacti/nagtocacti.php on line 20</p>
<p>Warning: Unexpected character in input: &#8216;\&#8217; (ASCII=92) state=1 in /usr/local/nagios/share/cacti/nagtocacti.php on line 20</p>
<p>Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/local/nagios/share/cacti/nagtocacti.php on line 20</p>
<p>By the way I have intalled the script in the /usr/local/nagios/share/cacti directory that means that my cacti console is accessed in address:<br />
<a href="http://localhost/nagios/cacti/" rel="nofollow">http://localhost/nagios/cacti/</a></p>
<p>Do I have to change line 20 to fix this also??</p>
<p>Thanks </p>
<p>Marco</p>
]]></content:encoded>
	</item>
</channel>
</rss>

