<?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: Xen VMs performance collection</title>
	<atom:link href="http://run.tournament.org.il/xen-vms-performance-collection/feed/" rel="self" type="application/rss+xml" />
	<link>http://run.tournament.org.il/xen-vms-performance-collection/</link>
	<description>(and me chasing them)</description>
	<lastBuildDate>Sat, 06 Mar 2010 19:02:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mark Ruys</title>
		<link>http://run.tournament.org.il/xen-vms-performance-collection/comment-page-1/#comment-12516</link>
		<dc:creator>Mark Ruys</dc:creator>
		<pubDate>Wed, 24 Feb 2010 12:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.tournament.org.il/run/?p=486#comment-12516</guid>
		<description>&gt; With Xen 3.1 ‘/usr/sbin/xentop -b -i 2 -d.1′ – always returns Domain-0 CPU usage about 100%.
&gt; And it should be full path to xentop since not all crontab jobs have right environment set.

Change &quot;-d.1&quot; to &quot;-d 1&quot;. Apparently, some xentop implementations only accept seconds, not tenths of seconds.</description>
		<content:encoded><![CDATA[<p>&gt; With Xen 3.1 ‘/usr/sbin/xentop -b -i 2 -d.1′ – always returns Domain-0 CPU usage about 100%.<br />
&gt; And it should be full path to xentop since not all crontab jobs have right environment set.</p>
<p>Change &#8220;-d.1&#8243; to &#8220;-d 1&#8243;. Apparently, some xentop implementations only accept seconds, not tenths of seconds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ez-aton</title>
		<link>http://run.tournament.org.il/xen-vms-performance-collection/comment-page-1/#comment-12463</link>
		<dc:creator>ez-aton</dc:creator>
		<pubDate>Tue, 15 Dec 2009 14:24:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.tournament.org.il/run/?p=486#comment-12463</guid>
		<description>This script is meant for Xen Community, and was tested on Centos5 versions. I did not try to adjust it to run on XS just yet.
Sorry.</description>
		<content:encoded><![CDATA[<p>This script is meant for Xen Community, and was tested on Centos5 versions. I did not try to adjust it to run on XS just yet.<br />
Sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AndreaConsadori</title>
		<link>http://run.tournament.org.il/xen-vms-performance-collection/comment-page-1/#comment-12462</link>
		<dc:creator>AndreaConsadori</dc:creator>
		<pubDate>Tue, 15 Dec 2009 09:18:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.tournament.org.il/run/?p=486#comment-12462</guid>
		<description>Hi, i try this script on xen express 5.5 but i&#039;ve this error

Operator or semicolon missing before &amp;amp at ./xen-stat.pl line 14.
Ambiguous use of &amp; resolved as operator &amp; at ./xen-stat.pl line 14.
Useless use of not in void context at ./xen-stat.pl line 14.
Bareword &quot;amp&quot; not allowed while &quot;strict subs&quot; in use at ./xen-stat.pl line 14.
Execution of ./xen-stat.pl aborted due to compilation errors.


how can i fix it?</description>
		<content:encoded><![CDATA[<p>Hi, i try this script on xen express 5.5 but i&#8217;ve this error</p>
<p>Operator or semicolon missing before &amp;amp at ./xen-stat.pl line 14.<br />
Ambiguous use of &amp; resolved as operator &amp; at ./xen-stat.pl line 14.<br />
Useless use of not in void context at ./xen-stat.pl line 14.<br />
Bareword &#8220;amp&#8221; not allowed while &#8220;strict subs&#8221; in use at ./xen-stat.pl line 14.<br />
Execution of ./xen-stat.pl aborted due to compilation errors.</p>
<p>how can i fix it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Ruys</title>
		<link>http://run.tournament.org.il/xen-vms-performance-collection/comment-page-1/#comment-12223</link>
		<dc:creator>Mark Ruys</dc:creator>
		<pubDate>Wed, 11 Nov 2009 22:11:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.tournament.org.il/run/?p=486#comment-12223</guid>
		<description>If you get errors like:

NET-SNMP-EXTEND-MIB::nsExtendOutputFull.&quot;xen-stats&quot; = STRING: /bin/cat: /var/run/xen-stats: Permission denied

it might be that SELinux is blocking access. I created this policy using audit2allow:

module snmpd 1.0;

require {
        type var_run_t;
        type snmpd_t;
        class file { read getattr };
}

#============= snmpd_t ==============
allow snmpd_t var_run_t:file { read getattr };

compile &amp; load it, and snmpd is able to read the xen-stats file.</description>
		<content:encoded><![CDATA[<p>If you get errors like:</p>
<p>NET-SNMP-EXTEND-MIB::nsExtendOutputFull.&#8221;xen-stats&#8221; = STRING: /bin/cat: /var/run/xen-stats: Permission denied</p>
<p>it might be that SELinux is blocking access. I created this policy using audit2allow:</p>
<p>module snmpd 1.0;</p>
<p>require {<br />
        type var_run_t;<br />
        type snmpd_t;<br />
        class file { read getattr };<br />
}</p>
<p>#============= snmpd_t ==============<br />
allow snmpd_t var_run_t:file { read getattr };</p>
<p>compile &amp; load it, and snmpd is able to read the xen-stats file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rupertt</title>
		<link>http://run.tournament.org.il/xen-vms-performance-collection/comment-page-1/#comment-12209</link>
		<dc:creator>rupertt</dc:creator>
		<pubDate>Mon, 26 Oct 2009 14:42:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.tournament.org.il/run/?p=486#comment-12209</guid>
		<description>Hi,

im having trouble getting things to work together.
I could import the scripts into cacti and copied the 2 scripts into the cactio folders,
than i used your script on the dom0,  and can snmpwalk onto that machine:

# snmpwalk -v2c -c public 172.17.4.101 NET-SNMP-EXTEND-MIB::nsExtendOutputFull.\&quot;xen-stats\&quot;
NET-SNMP-EXTEND-MIB::nsExtendOutputFull.&quot;xen-stats&quot; = STRING: name: Domain-0, cpu_sec: 1563511, cpu_percent: 97.10, vbd_rd: 0, vbd_wr: 0
name: monitoring-2, cpu_sec: 3833949, cpu_percent: 194.00, vbd_rd: 14746, vbd_wr: 20419
name: uat-vm2, cpu_sec: 154919, cpu_percent: 0.00, vbd_rd: 25191, vbd_wr: 88203
name: uat-vm4, cpu_sec: 94536, cpu_percent: 0.00, vbd_rd: 16, vbd_wr: 4
name: vpn-vm2, cpu_sec: 110325, cpu_percent: 0.00, vbd_rd: 21, vbd_wr: 1


But within cacti no graphs will be selectable when I try to create some,
this is the output of the verbose query:

+ Running data query [19].
+ Found type = &#039;4 &#039;[script query].
+ Found data query XML file at &#039;/var/www/cacti/resource/script_queries/xen_cloud_stats.xml&#039;
+ XML file parsed ok.
+ Executing script for list of indexes &#039;/usr/bin/php /var/www/cacti/scripts/xen_cloud_stats.php index&#039;
+ Executing script query &#039;/usr/bin/php /var/www/cacti/scripts/xen_cloud_stats.php query xen_name&#039;
+ Found item [xen_name=&#039;&#039;] index:
+ Found data query XML file at &#039;/var/www/cacti/resource/script_queries/xen_cloud_stats.xml&#039;
+ Found data query XML file at &#039;/var/www/cacti/resource/script_queries/xen_cloud_stats.xml&#039;
+ Found data query XML file at &#039;/var/www/cacti/resource/script_queries/xen_cloud_stats.xml&#039;

Do i miss anything?

greetings</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>im having trouble getting things to work together.<br />
I could import the scripts into cacti and copied the 2 scripts into the cactio folders,<br />
than i used your script on the dom0,  and can snmpwalk onto that machine:</p>
<p># snmpwalk -v2c -c public 172.17.4.101 NET-SNMP-EXTEND-MIB::nsExtendOutputFull.\&#8221;xen-stats\&#8221;<br />
NET-SNMP-EXTEND-MIB::nsExtendOutputFull.&#8221;xen-stats&#8221; = STRING: name: Domain-0, cpu_sec: 1563511, cpu_percent: 97.10, vbd_rd: 0, vbd_wr: 0<br />
name: monitoring-2, cpu_sec: 3833949, cpu_percent: 194.00, vbd_rd: 14746, vbd_wr: 20419<br />
name: uat-vm2, cpu_sec: 154919, cpu_percent: 0.00, vbd_rd: 25191, vbd_wr: 88203<br />
name: uat-vm4, cpu_sec: 94536, cpu_percent: 0.00, vbd_rd: 16, vbd_wr: 4<br />
name: vpn-vm2, cpu_sec: 110325, cpu_percent: 0.00, vbd_rd: 21, vbd_wr: 1</p>
<p>But within cacti no graphs will be selectable when I try to create some,<br />
this is the output of the verbose query:</p>
<p>+ Running data query [19].<br />
+ Found type = &#8216;4 &#8216;[script query].<br />
+ Found data query XML file at &#8216;/var/www/cacti/resource/script_queries/xen_cloud_stats.xml&#8217;<br />
+ XML file parsed ok.<br />
+ Executing script for list of indexes &#8216;/usr/bin/php /var/www/cacti/scripts/xen_cloud_stats.php index&#8217;<br />
+ Executing script query &#8216;/usr/bin/php /var/www/cacti/scripts/xen_cloud_stats.php query xen_name&#8217;<br />
+ Found item [xen_name=''] index:<br />
+ Found data query XML file at &#8216;/var/www/cacti/resource/script_queries/xen_cloud_stats.xml&#8217;<br />
+ Found data query XML file at &#8216;/var/www/cacti/resource/script_queries/xen_cloud_stats.xml&#8217;<br />
+ Found data query XML file at &#8216;/var/www/cacti/resource/script_queries/xen_cloud_stats.xml&#8217;</p>
<p>Do i miss anything?</p>
<p>greetings</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ez-aton</title>
		<link>http://run.tournament.org.il/xen-vms-performance-collection/comment-page-1/#comment-11375</link>
		<dc:creator>ez-aton</dc:creator>
		<pubDate>Mon, 10 Aug 2009 05:12:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.tournament.org.il/run/?p=486#comment-11375</guid>
		<description>I use 0.8.7c
Weird...

Ez</description>
		<content:encoded><![CDATA[<p>I use 0.8.7c<br />
Weird&#8230;</p>
<p>Ez</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roland</title>
		<link>http://run.tournament.org.il/xen-vms-performance-collection/comment-page-1/#comment-8881</link>
		<dc:creator>Roland</dc:creator>
		<pubDate>Tue, 04 Aug 2009 16:02:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.tournament.org.il/run/?p=486#comment-8881</guid>
		<description>I&#039;m getting this error: 
Error: XML: Hash version does not exist.
I think this is because you exported template with different version of cacti. Could you let me know which version you used?</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting this error:<br />
Error: XML: Hash version does not exist.<br />
I think this is because you exported template with different version of cacti. Could you let me know which version you used?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ez-aton</title>
		<link>http://run.tournament.org.il/xen-vms-performance-collection/comment-page-1/#comment-4475</link>
		<dc:creator>ez-aton</dc:creator>
		<pubDate>Mon, 29 Jun 2009 12:56:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.tournament.org.il/run/?p=486#comment-4475</guid>
		<description>Thanks for letting me know. 
There was a minor problem with the server which caused its backend DB to fail. It was fixed, and should not operate correctly. I have tested it to work.
Let me know if it doesn&#039;t, please.

Thanks
Ez</description>
		<content:encoded><![CDATA[<p>Thanks for letting me know.<br />
There was a minor problem with the server which caused its backend DB to fail. It was fixed, and should not operate correctly. I have tested it to work.<br />
Let me know if it doesn&#8217;t, please.</p>
<p>Thanks<br />
Ez</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yann</title>
		<link>http://run.tournament.org.il/xen-vms-performance-collection/comment-page-1/#comment-4461</link>
		<dc:creator>Yann</dc:creator>
		<pubDate>Mon, 29 Jun 2009 08:05:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.tournament.org.il/run/?p=486#comment-4461</guid>
		<description>Hi,

Nice job, but sadly the link to xen_cloud.tar.gz seems broken : &quot;Error establishing a database connection&quot;

Cheers,</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Nice job, but sadly the link to xen_cloud.tar.gz seems broken : &#8220;Error establishing a database connection&#8221;</p>
<p>Cheers,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ez-aton</title>
		<link>http://run.tournament.org.il/xen-vms-performance-collection/comment-page-1/#comment-2094</link>
		<dc:creator>ez-aton</dc:creator>
		<pubDate>Wed, 06 May 2009 00:00:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.tournament.org.il/run/?p=486#comment-2094</guid>
		<description>Thanks for your comment.
With Cacti, I tend to sample dom0 from other aspects, and not through this specific command. However, thanks for the info!

Ez</description>
		<content:encoded><![CDATA[<p>Thanks for your comment.<br />
With Cacti, I tend to sample dom0 from other aspects, and not through this specific command. However, thanks for the info!</p>
<p>Ez</p>
]]></content:encoded>
	</item>
</channel>
</rss>
