<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Linux Agent : Disk Performance Collection and Instance Discovery]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Thank you for a great product.</p>
<p dir="auto">I'm setting up some Disk IO monitoring for some Linux hosts.  I've been successful in pulling the data, using an explicit disk name.</p>
<p dir="auto">In my Data Collection Configuration, on the General Tab, in Data-&gt;Parameter I'm using...</p>
<pre><code>System.IO.ReadRate("xvda")
</code></pre>
<p dir="auto">I'm wanting to make this dynamic in my Template.  I've been reviewing the wiki and the forum, looking for the right way to do Instance Discovery for a List of Disks.  At the present, I've only setup the Agent on a Linux host, and I've not configured any SNMP on servers yet.  I've been unable to find anything that points to a List/Table from the agent with this data.  If nothing native exists, then I'm thinking that I'll need to leverage an "External List".</p>
<p dir="auto">1.  For this type of Data Collection, is Agent best, or should I examine SNMP?  What are others doing here?<br />
2.  Am I correct in assuming that there isn't an Agent List/Table with a list of 'Disks'?<br />
3.  Are 'External Lists' my best option?</p>
<p dir="auto">Thank you and Kind Regards.</p>
<p dir="auto">Cheers,<br />
Tim</p>
]]></description><link>https://forum.netxms.org/topic/3516/linux-agent-disk-performance-collection-and-instance-discovery</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:07:10 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3516.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 16 Dec 2014 14:38:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Linux Agent : Disk Performance Collection and Instance Discovery on Thu, 03 Aug 2017 07:04:25 GMT]]></title><description><![CDATA[<p dir="auto">Update: starting with version 2.1 is is possible to use agent list System.IO.Devices for instance discovery.</p>
]]></description><link>https://forum.netxms.org/post/22826</link><guid isPermaLink="true">https://forum.netxms.org/post/22826</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 03 Aug 2017 07:04:25 GMT</pubDate></item><item><title><![CDATA[Reply to Linux Agent : Disk Performance Collection and Instance Discovery on Fri, 26 Dec 2014 15:14:05 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for well described manual! I think it will help others a lot.</p>
]]></description><link>https://forum.netxms.org/post/15583</link><guid isPermaLink="true">https://forum.netxms.org/post/15583</guid><dc:creator><![CDATA[zev]]></dc:creator><pubDate>Fri, 26 Dec 2014 15:14:05 GMT</pubDate></item><item><title><![CDATA[Reply to Linux Agent : Disk Performance Collection and Instance Discovery on Sat, 20 Dec 2014 00:02:36 GMT]]></title><description><![CDATA[<p dir="auto">All,</p>
<p dir="auto">Ok, I've successfully put in place an "ExternalList" property for generating my BlockDevices list.  I currently have this in my Server Managed Agent Configuration file, but I'll probably move it to a Policy later on.</p>
<p dir="auto">The Line I've added in the "Configuration File" is.</p>
<pre><code>ExternalList = BlockDevices:/bin/ls -1 /sys/block | /bin/egrep -v "loop|ram" | /bin/sort -n  | /usr/bin/tr "\!" "/"
</code></pre>
<p dir="auto">I don't care for the "loop|ram" entries, so I filter them out, sort them, and provide some cleanup with tr.</p>
<p dir="auto">The reason for my use of the /usr/bin/tr command is to convert the HP Raid device entries to a proper parseable path.  (i.e. something that will resolve under the /dev directory structure.)  Without the cleanup the output shows an exclamation mark in the middle, as shown here.</p>
<pre><code># /bin/ls -1 /sys/block | /bin/egrep -v "loop|ram" | /bin/sort -n
cciss!c0d0
dm-0
dm-1
dm-2
dm-3
sr0
</code></pre>
<p dir="auto">The /usr/bin/tr command converts it to a slash, which will resolve relative to /dev.</p>
<pre><code># /bin/ls -1 /sys/block | /bin/egrep -v "loop|ram" | /bin/sort -n  | /usr/bin/tr "\!" "/"
cciss/c0d0
dm-0
dm-1
dm-2
dm-3
sr0
</code></pre>
<p dir="auto">Then in my Template -&gt; Data Collection Configuration, for my System.IO.ReadRate(*) parameter, I've configured the Instance Discovery property as follows.</p>
<pre><code>Instance discovery method = Agent List
List name = BlockDevices
</code></pre>
<p dir="auto">Many of those <a href="http://System.IO" rel="nofollow ugc">System.IO</a>.* parameters require a Block Device be provided, relative to the /dev directory.</p>
<p dir="auto">This is working for me on Oracle and CentOS Linux 6.5, using HP Physicals and XenServer VMs.  Check if you have entries in your /sys/block directory structure for compatibility.</p>
<p dir="auto">Cheers,</p>
]]></description><link>https://forum.netxms.org/post/15570</link><guid isPermaLink="true">https://forum.netxms.org/post/15570</guid><dc:creator><![CDATA[tzcole]]></dc:creator><pubDate>Sat, 20 Dec 2014 00:02:36 GMT</pubDate></item><item><title><![CDATA[Reply to Linux Agent : Disk Performance Collection and Instance Discovery on Wed, 17 Dec 2014 14:48:49 GMT]]></title><description><![CDATA[<p dir="auto">Ok,  Thank you.  I will give this a try and report back on my results.</p>
<p dir="auto">Cheers,</p>
]]></description><link>https://forum.netxms.org/post/15556</link><guid isPermaLink="true">https://forum.netxms.org/post/15556</guid><dc:creator><![CDATA[tzcole]]></dc:creator><pubDate>Wed, 17 Dec 2014 14:48:49 GMT</pubDate></item><item><title><![CDATA[Reply to Linux Agent : Disk Performance Collection and Instance Discovery on Tue, 16 Dec 2014 20:43:07 GMT]]></title><description><![CDATA[<p dir="auto">Yes, you're right - it will not gie you device names. Your best option probably is to create external list on agent.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/15551</link><guid isPermaLink="true">https://forum.netxms.org/post/15551</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 16 Dec 2014 20:43:07 GMT</pubDate></item><item><title><![CDATA[Reply to Linux Agent : Disk Performance Collection and Instance Discovery on Tue, 16 Dec 2014 19:49:33 GMT]]></title><description><![CDATA[<p dir="auto">Victor,</p>
<p dir="auto">Early on I looked at that.  Does "System.IO.ReadRate(*)" work with filesystems?  From what I gleaned from the code, it seems to want a 'Disk', that could be found under /dev.  Looking at the Disk IO is more in line with what I'm looking for.</p>
<p dir="auto">Cheers,</p>
]]></description><link>https://forum.netxms.org/post/15550</link><guid isPermaLink="true">https://forum.netxms.org/post/15550</guid><dc:creator><![CDATA[tzcole]]></dc:creator><pubDate>Tue, 16 Dec 2014 19:49:33 GMT</pubDate></item><item><title><![CDATA[Reply to Linux Agent : Disk Performance Collection and Instance Discovery on Tue, 16 Dec 2014 18:30:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">you can use agent list FileSystem.MountPoints to get list of all file systems.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/15545</link><guid isPermaLink="true">https://forum.netxms.org/post/15545</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 16 Dec 2014 18:30:13 GMT</pubDate></item></channel></rss>