<?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>Wed, 21 Dec 2011 04:35:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>Comment on Daily diskspace alerts using OCS Inventory NG by ganesh rane</title>
		<link>http://seigafuse.com/2007/07/26/daily-diskspace-alerts-using-ocs-inventory-ng/comment-page-1/#comment-26355</link>
		<dc:creator>ganesh rane</dc:creator>
		<pubDate>Wed, 21 Dec 2011 04:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=36#comment-26355</guid>
		<description>[root@glpi reports]# ls -al ocsdiff.php
-rwxrwxrwx 1 root root 5444 Dec 19 18:04 ocsdiff.php


I am downloading the file the windows and cpoy it to unix using winscp and than edit in linux itself.


Regards,
Ganesh Rane</description>
		<content:encoded><![CDATA[<p>[root@glpi reports]# ls -al ocsdiff.php<br />
-rwxrwxrwx 1 root root 5444 Dec 19 18:04 ocsdiff.php</p>
<p>I am downloading the file the windows and cpoy it to unix using winscp and than edit in linux itself.</p>
<p>Regards,<br />
Ganesh Rane</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Daily diskspace alerts using OCS Inventory NG by Mike</title>
		<link>http://seigafuse.com/2007/07/26/daily-diskspace-alerts-using-ocs-inventory-ng/comment-page-1/#comment-26348</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 20 Dec 2011 14:29:07 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=36#comment-26348</guid>
		<description>I am trying to help you, please provide the information requested...

Here is what I get when I run it on my host:
[~]# php -f ocsdiff.php
[~]#

Here are what my permissions look like:
[~]# ls -al ocsdiff.php
-rw-r--r-- 1 usermasked groupmasked 5433 Dec 19 16:06 ocsdiff.php

Did you do something like download to Windows, edit it there and then upload it to your Linux/UNIX host?  If so you may want to download it directly to the UNIX host and edit it there.  Windows has a nasty habit of converting line endings in UNIX (line feed) to CR and LF, so that could also be the root of your problem.  

As noted, I am trying to help you but you also need to play a part in this .... Cura te ipsum</description>
		<content:encoded><![CDATA[<p>I am trying to help you, please provide the information requested&#8230;</p>
<p>Here is what I get when I run it on my host:<br />
[~]# php -f ocsdiff.php<br />
[~]#</p>
<p>Here are what my permissions look like:<br />
[~]# ls -al ocsdiff.php<br />
-rw-r&#8211;r&#8211; 1 usermasked groupmasked 5433 Dec 19 16:06 ocsdiff.php</p>
<p>Did you do something like download to Windows, edit it there and then upload it to your Linux/UNIX host?  If so you may want to download it directly to the UNIX host and edit it there.  Windows has a nasty habit of converting line endings in UNIX (line feed) to CR and LF, so that could also be the root of your problem.  </p>
<p>As noted, I am trying to help you but you also need to play a part in this &#8230;. Cura te ipsum</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Daily diskspace alerts using OCS Inventory NG by ganesh rane</title>
		<link>http://seigafuse.com/2007/07/26/daily-diskspace-alerts-using-ocs-inventory-ng/comment-page-1/#comment-26346</link>
		<dc:creator>ganesh rane</dc:creator>
		<pubDate>Tue, 20 Dec 2011 13:43:07 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=36#comment-26346</guid>
		<description>pls provide the solution</description>
		<content:encoded><![CDATA[<p>pls provide the solution</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Daily diskspace alerts using OCS Inventory NG by Mike</title>
		<link>http://seigafuse.com/2007/07/26/daily-diskspace-alerts-using-ocs-inventory-ng/comment-page-1/#comment-26340</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 19 Dec 2011 23:12:02 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=36#comment-26340</guid>
		<description>Do you have both the config file and the diff script in the same directory with the appropriate permissions (read and execute)?  In your first comment it says unexpected string on line 14... what do you have at line 14 in your script?  Line 14 in my script is:

$headers .= &quot;Reply-To: ITInventory@yourdomain.com&quot;;


What does your line 14 look like?

Lets deal with the errors one at a time and start with the first before we move on.</description>
		<content:encoded><![CDATA[<p>Do you have both the config file and the diff script in the same directory with the appropriate permissions (read and execute)?  In your first comment it says unexpected string on line 14&#8230; what do you have at line 14 in your script?  Line 14 in my script is:</p>
<p>$headers .= &#8220;Reply-To: <a href="mailto:ITInventory@yourdomain.com">ITInventory@yourdomain.com</a>&#8220;;</p>
<p>What does your line 14 look like?</p>
<p>Lets deal with the errors one at a time and start with the first before we move on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Daily diskspace alerts using OCS Inventory NG by ganesh rane</title>
		<link>http://seigafuse.com/2007/07/26/daily-diskspace-alerts-using-ocs-inventory-ng/comment-page-1/#comment-26338</link>
		<dc:creator>ganesh rane</dc:creator>
		<pubDate>Mon, 19 Dec 2011 12:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=36#comment-26338</guid>
		<description>[root@glpi reports]# php -f ocsdiff.php
PHP Notice:  Undefined variable: curramresults in /var/www/html/ocsreports/reports/ocsdiff.php on line 112
PHP Warning:  mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/html/ocsreports/reports/ocsdiff.php on line 112
PHP Notice:  Undefined variable: snapramresults in /var/www/html/ocsreports/reports/ocsdiff.php on line 113
PHP Warning:  mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/html/ocsreports/reports/ocsdiff.php on line 113
PHP Notice:  Undefined variable: currdiskresults in /var/www/html/ocsreports/reports/ocsdiff.php on line 114
PHP Warning:  mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/html/ocsreports/reports/ocsdiff.php on line 114
PHP Notice:  Undefined variable: snapdiskresults in /var/www/html/ocsreports/reports/ocsdiff.php on line 115
PHP Warning:  mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/html/ocsreports/reports/ocsdiff.php on line 115</description>
		<content:encoded><![CDATA[<p>[root@glpi reports]# php -f ocsdiff.php<br />
PHP Notice:  Undefined variable: curramresults in /var/www/html/ocsreports/reports/ocsdiff.php on line 112<br />
PHP Warning:  mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/html/ocsreports/reports/ocsdiff.php on line 112<br />
PHP Notice:  Undefined variable: snapramresults in /var/www/html/ocsreports/reports/ocsdiff.php on line 113<br />
PHP Warning:  mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/html/ocsreports/reports/ocsdiff.php on line 113<br />
PHP Notice:  Undefined variable: currdiskresults in /var/www/html/ocsreports/reports/ocsdiff.php on line 114<br />
PHP Warning:  mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/html/ocsreports/reports/ocsdiff.php on line 114<br />
PHP Notice:  Undefined variable: snapdiskresults in /var/www/html/ocsreports/reports/ocsdiff.php on line 115<br />
PHP Warning:  mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/html/ocsreports/reports/ocsdiff.php on line 115</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Daily diskspace alerts using OCS Inventory NG by ganesh rane</title>
		<link>http://seigafuse.com/2007/07/26/daily-diskspace-alerts-using-ocs-inventory-ng/comment-page-1/#comment-26337</link>
		<dc:creator>ganesh rane</dc:creator>
		<pubDate>Mon, 19 Dec 2011 12:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=36#comment-26337</guid>
		<description>[root@glpi reports]# php -f ocsdiff.php
PHP Parse error:  syntax error, unexpected T_STRING in /var/www/html/ocsreports/reports/ocsdiff.php on line 14</description>
		<content:encoded><![CDATA[<p>[root@glpi reports]# php -f ocsdiff.php<br />
PHP Parse error:  syntax error, unexpected T_STRING in /var/www/html/ocsreports/reports/ocsdiff.php on line 14</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Daily diskspace alerts using OCS Inventory NG by Mike</title>
		<link>http://seigafuse.com/2007/07/26/daily-diskspace-alerts-using-ocs-inventory-ng/comment-page-1/#comment-26334</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 19 Dec 2011 01:28:48 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=36#comment-26334</guid>
		<description>Why are you trying to run the config file, you would run the diskreport.php file which would load the configuration file.  That said there is no reason the file should not run if you have the appropriate permissions set, have PHP installed, and call it correctly.  Typically the report file is run from a cron job where PHP is called and the file name is passed to the PHP interpreter.  If for some reason you want to run this form the command line you must use the command:

php -f filename.php

If that doesn&#039;t help then please let me know how you are running the file and what version of PHP you are using.</description>
		<content:encoded><![CDATA[<p>Why are you trying to run the config file, you would run the diskreport.php file which would load the configuration file.  That said there is no reason the file should not run if you have the appropriate permissions set, have PHP installed, and call it correctly.  Typically the report file is run from a cron job where PHP is called and the file name is passed to the PHP interpreter.  If for some reason you want to run this form the command line you must use the command:</p>
<p>php -f filename.php</p>
<p>If that doesn&#8217;t help then please let me know how you are running the file and what version of PHP you are using.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Daily diskspace alerts using OCS Inventory NG by ganesh rane</title>
		<link>http://seigafuse.com/2007/07/26/daily-diskspace-alerts-using-ocs-inventory-ng/comment-page-1/#comment-26307</link>
		<dc:creator>ganesh rane</dc:creator>
		<pubDate>Fri, 16 Dec 2011 15:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=36#comment-26307</guid>
		<description>unable to run the script giving following error
./ocsdiff_conf.php: line 1: ?php: No such file or directory
./ocsdiff_conf.php: line 6: =: command not found
./ocsdiff_conf.php: line 7: =: command not found
./ocsdiff_conf.php: line 8: =: command not found
./ocsdiff_conf.php: line 9: =: command not found
./ocsdiff_conf.php: line 10: =: command not found
./ocsdiff_conf.php: line 11: =: command not found
./ocsdiff_conf.php: line 12: syntax error near unexpected token `(&#039;
./ocsdiff_conf.php: line 12: `$domains = array(&#039;</description>
		<content:encoded><![CDATA[<p>unable to run the script giving following error<br />
./ocsdiff_conf.php: line 1: ?php: No such file or directory<br />
./ocsdiff_conf.php: line 6: =: command not found<br />
./ocsdiff_conf.php: line 7: =: command not found<br />
./ocsdiff_conf.php: line 8: =: command not found<br />
./ocsdiff_conf.php: line 9: =: command not found<br />
./ocsdiff_conf.php: line 10: =: command not found<br />
./ocsdiff_conf.php: line 11: =: command not found<br />
./ocsdiff_conf.php: line 12: syntax error near unexpected token `(&#8216;<br />
./ocsdiff_conf.php: line 12: `$domains = array(&#8216;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Version 3 of the Barracuda plugin for Nagios by Mike</title>
		<link>http://seigafuse.com/2010/08/11/barracuda-plugin-for-nagios-v3/comment-page-1/#comment-25474</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 03 Oct 2011 02:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=239#comment-25474</guid>
		<description>Bruce,

Seems like an SNMP issue.  Here is the same email I sent Wayne:

snmpget -v2c -c  192.168.1.5 .1.3.6.1.2.1.1.1.0

Assuming you are using V4 firmware then public is the default community string and should work (once the right command is used - sorry about that).

If you do want to change the community string see this - http://spamfilter.barracudanetworks.com/ns/downloads/Other/OTHER_Barracuda_Spam_&amp;_Virus_Firewall_SNMP.4.pdf

Are you sure your model of Barracuda has SNMP support?

Mike</description>
		<content:encoded><![CDATA[<p>Bruce,</p>
<p>Seems like an SNMP issue.  Here is the same email I sent Wayne:</p>
<p>snmpget -v2c -c  192.168.1.5 .1.3.6.1.2.1.1.1.0</p>
<p>Assuming you are using V4 firmware then public is the default community string and should work (once the right command is used &#8211; sorry about that).</p>
<p>If you do want to change the community string see this &#8211; <a href="http://spamfilter.barracudanetworks.com/ns/downloads/Other/OTHER_Barracuda_Spam_&#038;_Virus_Firewall_SNMP.4.pdf" rel="nofollow">http://spamfilter.barracudanetworks.com/ns/downloads/Other/OTHER_Barracuda_Spam_&#038;_Virus_Firewall_SNMP.4.pdf</a></p>
<p>Are you sure your model of Barracuda has SNMP support?</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Version 3 of the Barracuda plugin for Nagios by Bruce</title>
		<link>http://seigafuse.com/2010/08/11/barracuda-plugin-for-nagios-v3/comment-page-1/#comment-25342</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Fri, 23 Sep 2011 20:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://seigafuse.com/?p=239#comment-25342</guid>
		<description>I have the eaxct same problem as Wayne above:
PHP Warning:  snmpget(): No response from 192.168.104.10 in /usr/local/nagios/libexec/check_cuda5 on line 22
OUT OK - 0 messages queued &#124;MailOUTQueue=0;1;5
Can you offer any help?
Thank you.</description>
		<content:encoded><![CDATA[<p>I have the eaxct same problem as Wayne above:<br />
PHP Warning:  snmpget(): No response from 192.168.104.10 in /usr/local/nagios/libexec/check_cuda5 on line 22<br />
OUT OK &#8211; 0 messages queued |MailOUTQueue=0;1;5<br />
Can you offer any help?<br />
Thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

