Re: Varying table index for disk I/O stats
Gandalf <[email protected]>
| Newsgroups | gmane.network.cacti.user |
|---|---|
| Message-ID | <[email protected]> |
On 20.05.2013 10:59, Brian Candler wrote: > On Mon, May 20, 2013 at 10:10:08AM +0200, Gandalf wrote: >> But unfortunately, if I remember correctly, that reindexing script does not >> change everything we need. I remember tweaking around a lot. >> So, for verification only, are you able to create some NEW graphs to verify? >> I'll try to make up my mind about the missing bits to tell you later > > Thank you. I added: > > <index_order>hrDiskIODescr:hrDiskIOIndex</index_order> > > to /usr/share/cacti/resource/snmp_queries/disk_io.xml, deleted the disk I/O > graphs for one host (I'm pretty sure I said to delete linked data sources), > and recreated disk I/O graphs for that host. > > If I go to "Data Sources" for that host, the "Custom Data" section still > shows: > > Output Type ID [Host MIB - Disk I/O - Bytes per second] > Index Value 55 > Index Type [hrDiskIOIndex] > > but the Index Type is now a drop-down which would allow me to select > hrDiskIODescr if I wanted. Should I change it to > > Index Value md127 > Index Type [hrDiskIODescr] ? That's not to be expected. To be honest, my tweaking session was some months ago and I fiddled round a lot. We had around 1000 graphs of that type, so I needed a software solution quite badly. I ended up tweaking some tables, as I did not see a neat coded solution and expected this to be a corner case. Perhaps I'll have to make up my mind again to dig deeper. But it's definitively an ugly part. I'm quite sure, that after my solution was implemented, the graphs custom data were as expected. I'll try to figure out next days as I'm currently off-campus. Reinhard ------------------------------------------------------------------------------ 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