<?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 for seigafuse.com</title>
	<atom:link href="http://seigafuse.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://seigafuse.com</link>
	<description>Mike Seigafuse&#039;s Technology and IT Security Blog</description>
	<lastBuildDate>Fri, 25 Jun 2010 02:16:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>Comment on OCS Diff script by erik</title>
		<link>http://seigafuse.com/2008/12/19/ocs-diff-script/comment-page-1/#comment-18456</link>
		<dc:creator>erik</dc:creator>
		<pubDate>Fri, 25 Jun 2010 02:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=108#comment-18456</guid>
		<description>balony... sorry...
wasn&#039;t reading the comments on the script
-all set now, thanks!!

your great</description>
		<content:encoded><![CDATA[<p>balony&#8230; sorry&#8230;<br />
wasn&#8217;t reading the comments on the script<br />
-all set now, thanks!!</p>
<p>your great</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OCS Diff script by erik</title>
		<link>http://seigafuse.com/2008/12/19/ocs-diff-script/comment-page-1/#comment-18451</link>
		<dc:creator>erik</dc:creator>
		<pubDate>Wed, 23 Jun 2010 08:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=108#comment-18451</guid>
		<description>Hi Mike,

Have tried your script, but I am getting these errors


Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/ocsng/reports/ocsdiff.php on line 127

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/ocsng/reports/ocsdiff.php on line 128

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/ocsng/reports/ocsdiff.php on line 129

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/ocsng/reports/ocsdiff.php on line 130

- by the way under the ocsdiff_conf.php where it has 
$domains = array(
are 
0 =&gt; array(
			&#039;name&#039; =&gt; &#039;XXXXX&#039;,
			&#039;email&#039; =&gt; &quot;email@yourdomain.tld&quot;),
the destined receiver of the update?

-please instruct, thanks..</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>Have tried your script, but I am getting these errors</p>
<p>Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/ocsng/reports/ocsdiff.php on line 127</p>
<p>Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/ocsng/reports/ocsdiff.php on line 128</p>
<p>Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/ocsng/reports/ocsdiff.php on line 129</p>
<p>Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/ocsng/reports/ocsdiff.php on line 130</p>
<p>- by the way under the ocsdiff_conf.php where it has<br />
$domains = array(<br />
are<br />
0 =&gt; array(<br />
			&#8216;name&#8217; =&gt; &#8216;XXXXX&#8217;,<br />
			&#8216;email&#8217; =&gt; &#8220;email@yourdomain.tld&#8221;),<br />
the destined receiver of the update?</p>
<p>-please instruct, thanks..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OCS Diff script by Mike</title>
		<link>http://seigafuse.com/2008/12/19/ocs-diff-script/comment-page-1/#comment-18418</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 14 Jun 2010 14:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=108#comment-18418</guid>
		<description>Why don&#039;t you have a look at &lt;a href=&quot;http://seigafuse.com/2007/07/26/daily-diskspace-alerts-using-ocs-inventory-ng/&quot; rel=&quot;nofollow&quot;&gt;this &lt;/a&gt; post and see if that doesn&#039;t help.  The same method can be used to implement the diff scripts as is used to implement the diskspace reports.  

As for the ability to save the output in a file, take a look at the code at line 96.  You will note that the text is contained in the variable called $msg.  The code starting at line 96 sends the text via email and it could easily be replaced or augmented with code that saves the text ($msg) to a file instead of via email (PHP fopen, fwrite, fclose, etc).

If you look at the link and still can&#039;t figure out how to implement this reply back with any issues you are hitting and I will try to help.

Mike</description>
		<content:encoded><![CDATA[<p>Why don&#8217;t you have a look at <a href="http://seigafuse.com/2007/07/26/daily-diskspace-alerts-using-ocs-inventory-ng/" rel="nofollow">this </a> post and see if that doesn&#8217;t help.  The same method can be used to implement the diff scripts as is used to implement the diskspace reports.  </p>
<p>As for the ability to save the output in a file, take a look at the code at line 96.  You will note that the text is contained in the variable called $msg.  The code starting at line 96 sends the text via email and it could easily be replaced or augmented with code that saves the text ($msg) to a file instead of via email (PHP fopen, fwrite, fclose, etc).</p>
<p>If you look at the link and still can&#8217;t figure out how to implement this reply back with any issues you are hitting and I will try to help.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OCS Diff script by narasimha rao</title>
		<link>http://seigafuse.com/2008/12/19/ocs-diff-script/comment-page-1/#comment-18408</link>
		<dc:creator>narasimha rao</dc:creator>
		<pubDate>Fri, 11 Jun 2010 09:14:11 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=108#comment-18408</guid>
		<description>Helo Mike, Helo guys.

how to implement ocsdiff scripts as my ocs ng server on linux.
hardware change reports from the OCS NG database. is possible to redirect hardware changes to a text file</description>
		<content:encoded><![CDATA[<p>Helo Mike, Helo guys.</p>
<p>how to implement ocsdiff scripts as my ocs ng server on linux.<br />
hardware change reports from the OCS NG database. is possible to redirect hardware changes to a text file</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OCS Diff script by Mike</title>
		<link>http://seigafuse.com/2008/12/19/ocs-diff-script/comment-page-1/#comment-18406</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 10 Jun 2010 14:06:03 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=108#comment-18406</guid>
		<description>I am not sure whether the author of that particular set of scripts will check here or not.  I would suggest you post a comment there where the scripts can be downloaded.  

Mike</description>
		<content:encoded><![CDATA[<p>I am not sure whether the author of that particular set of scripts will check here or not.  I would suggest you post a comment there where the scripts can be downloaded.  </p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OCS Diff script by narasimha rao</title>
		<link>http://seigafuse.com/2008/12/19/ocs-diff-script/comment-page-1/#comment-18405</link>
		<dc:creator>narasimha rao</dc:creator>
		<pubDate>Thu, 10 Jun 2010 12:29:50 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=108#comment-18405</guid>
		<description>helo guys

how to run these scripts ocsalerts.tar.gz  which will be downloaded from
http://awaken.com.br/2010/06/07/ocs-alertas-e-notificacoes/

help me</description>
		<content:encoded><![CDATA[<p>helo guys</p>
<p>how to run these scripts ocsalerts.tar.gz  which will be downloaded from<br />
<a href="http://awaken.com.br/2010/06/07/ocs-alertas-e-notificacoes/" rel="nofollow">http://awaken.com.br/2010/06/07/ocs-alertas-e-notificacoes/</a></p>
<p>help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nagios Plugin for Barracuda Spam Firewalls by Mike</title>
		<link>http://seigafuse.com/2007/10/19/nagios-plugin-for-barracuda-spam-firewalls/comment-page-1/#comment-18401</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 09 Jun 2010 13:59:34 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=38#comment-18401</guid>
		<description>In #4 where you defined the service check command, did you just leave out the SNMP community string so you wouldn&#039;t disclose it, or is it actually not there in the service check definition.  You will need a community string passed or the SNMP check won&#039;t work.  

The plugin really should catch this and not give you a OK result... I will try to take a look at that when I get a few minutes.  But in the meantime if you resolve the lack of a community string that should resolve the issue.  If you really do have a community string in there, then I would suggest running the command from the command line as the account nagios runs under and seeing what you get.  Post results if that is the case and I will try to assist you.


Mike</description>
		<content:encoded><![CDATA[<p>In #4 where you defined the service check command, did you just leave out the SNMP community string so you wouldn&#8217;t disclose it, or is it actually not there in the service check definition.  You will need a community string passed or the SNMP check won&#8217;t work.  </p>
<p>The plugin really should catch this and not give you a OK result&#8230; I will try to take a look at that when I get a few minutes.  But in the meantime if you resolve the lack of a community string that should resolve the issue.  If you really do have a community string in there, then I would suggest running the command from the command line as the account nagios runs under and seeing what you get.  Post results if that is the case and I will try to assist you.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nagios Plugin for Barracuda Spam Firewalls by kostapappas</title>
		<link>http://seigafuse.com/2007/10/19/nagios-plugin-for-barracuda-spam-firewalls/comment-page-1/#comment-18400</link>
		<dc:creator>kostapappas</dc:creator>
		<pubDate>Wed, 09 Jun 2010 07:34:59 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=38#comment-18400</guid>
		<description>thanks for the plugin... 
Worked for me with the follows
1. put all &quot;downloands&quot; files (2 php) at /usr/local/nagios/libexec 
2. change privilages on thoses 2 files for user nagios to read-write (and everyone!). Make sure that check_cuda5.php is executable. 
3. gedit /usr/local/nagios/etc/objects/commands.cfg and put at the end : 
define command {
command_name Check_Cuda_Queues
command_line $USER1$/check_cuda5  $HOSTADDRESS$ public $ARG1$ $ARG2$ $ARG3$
}
Note that i removed the .php. 
4. gedit /usr/local/nagios/etc/objects/localhost.cfg and put
define host{
        use        linux-server	 ; Inherit default values from a template
        host_name  baracuda  	; The name we’re giving to this host
        alias      baracuda	   ; A longer name associated with the host
        address    10.10.10.3      ; IP address of the host
}

define service {
service_description Check Barracuda Outbound Mail Queue
use generic-service
host_name baracuda
check_command Check_Cuda_Queues!in!350!500
}

5. check if all is ok.
 /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

6. restart nagios.
The problem i have now is that
Current Status:	  OK  
(No output returned from plugin)
Warning: snmpget(): No response from 10.10.10.3 in /usr/local/nagios/libexec/check_cuda5 on line 22
IN OK - 0 messages queued

is normal the No output returned.. but it&#039;s says In OK -0 messages queed
(isn&#039;t that an output)?</description>
		<content:encoded><![CDATA[<p>thanks for the plugin&#8230;<br />
Worked for me with the follows<br />
1. put all &#8220;downloands&#8221; files (2 php) at /usr/local/nagios/libexec<br />
2. change privilages on thoses 2 files for user nagios to read-write (and everyone!). Make sure that check_cuda5.php is executable.<br />
3. gedit /usr/local/nagios/etc/objects/commands.cfg and put at the end :<br />
define command {<br />
command_name Check_Cuda_Queues<br />
command_line $USER1$/check_cuda5  $HOSTADDRESS$ public $ARG1$ $ARG2$ $ARG3$<br />
}<br />
Note that i removed the .php.<br />
4. gedit /usr/local/nagios/etc/objects/localhost.cfg and put<br />
define host{<br />
        use        linux-server	 ; Inherit default values from a template<br />
        host_name  baracuda  	; The name we’re giving to this host<br />
        alias      baracuda	   ; A longer name associated with the host<br />
        address    10.10.10.3      ; IP address of the host<br />
}</p>
<p>define service {<br />
service_description Check Barracuda Outbound Mail Queue<br />
use generic-service<br />
host_name baracuda<br />
check_command Check_Cuda_Queues!in!350!500<br />
}</p>
<p>5. check if all is ok.<br />
 /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg</p>
<p>6. restart nagios.<br />
The problem i have now is that<br />
Current Status:	  OK<br />
(No output returned from plugin)<br />
Warning: snmpget(): No response from 10.10.10.3 in /usr/local/nagios/libexec/check_cuda5 on line 22<br />
IN OK &#8211; 0 messages queued</p>
<p>is normal the No output returned.. but it&#8217;s says In OK -0 messages queed<br />
(isn&#8217;t that an output)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OCS Diff script by Mike</title>
		<link>http://seigafuse.com/2008/12/19/ocs-diff-script/comment-page-1/#comment-18395</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 07 Jun 2010 17:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=108#comment-18395</guid>
		<description>Sorry for the delayed response Fred ... I was enjoying a weekend off ;)

Thanks for posting the link to your updates.  Hopefully they will help others with similar interests.

Mike</description>
		<content:encoded><![CDATA[<p>Sorry for the delayed response Fred &#8230; I was enjoying a weekend off <img src='http://seigafuse.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Thanks for posting the link to your updates.  Hopefully they will help others with similar interests.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OCS Diff script by Fred Leão</title>
		<link>http://seigafuse.com/2008/12/19/ocs-diff-script/comment-page-1/#comment-18394</link>
		<dc:creator>Fred Leão</dc:creator>
		<pubDate>Mon, 07 Jun 2010 17:20:27 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=108#comment-18394</guid>
		<description>Helo Mike, Helo guys.

I&#039;ve made a response on another post &quot;an update to OCS Diff Scripts&quot; about a script of mine, but it still moderated! Are you guys alive ? It&#039;s been a long time since the last comment here.

It&#039;s now ready to share at http://awaken.com.br/2010/06/07/ocs-alertas-e-notificacoes/

Is about alerts &amp; notifications of the machines activity. It has a nice config file and may still be improved a litle more. And I&#039;ll integrate the other scripts(hard/soft diff) in my ocsstuff too.</description>
		<content:encoded><![CDATA[<p>Helo Mike, Helo guys.</p>
<p>I&#8217;ve made a response on another post &#8220;an update to OCS Diff Scripts&#8221; about a script of mine, but it still moderated! Are you guys alive ? It&#8217;s been a long time since the last comment here.</p>
<p>It&#8217;s now ready to share at <a href="http://awaken.com.br/2010/06/07/ocs-alertas-e-notificacoes/" rel="nofollow">http://awaken.com.br/2010/06/07/ocs-alertas-e-notificacoes/</a></p>
<p>Is about alerts &amp; notifications of the machines activity. It has a nice config file and may still be improved a litle more. And I&#8217;ll integrate the other scripts(hard/soft diff) in my ocsstuff too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
