Re: Varying table index for disk I/O stats

Brian Candler <[email protected]>
Newsgroups gmane.network.cacti.user
Message-ID <[email protected]>
On Sun, May 19, 2013 at 11:38:22PM +0200, Gandalf wrote:
> In case this is the latest XML, you are quite correct.

Yes, it's the latest one.

> A similar problem occurred on the disk space data query. I solved it by making
> the description the relevant index; in this case it would be hrDiskIODescr.
> Then, Cacti will look for changes of this string for a reindex operation.
> This is from memory, not tested.

Thanks, I had a look at the
http://docs.cacti.net/usertemplate:data:host_mib:disk_usage

The data query has:

   <index_order_type>numeric</index_order_type>
   <oid_index>.1.3.6.1.2.1.25.2.3.1.1</oid_index>
   <index_order>hrStorageDescr:hrStorageIndex</index_order>

I see that <oid_index> still points to the numeric SNMP table row (not to
the description field), but <index_order> lists both fields.

So are you saying I just need to add something like

   <index_order>hrDiskIODescr:hrDiskIOIndex</index_order>

and then run reorder_data_query.php ?

Thanks,

Brian.

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.