BSOD2600 wrote:More of a scripting question, so moving.
I'm not really sure why the order matters, because if you have an index, you should be able to go straight to the specific device's info that you're after.
Well, it almost looks like the same problem described in the post prior to mine but not quite. I do have the data queries added with "Index Count Changed" as the Re-Index method.
My specific problem stemmed from starting with an SNMP Query XML file defining dskTable that did not contain an index_order. So, when I looked at the Data Sources they all had an Index Type of dskIndex (for example) and a value equal to the index presented in the snmptable (1, 2, 3, 12, etc)
Then, after a reboot on a Solaris host, for whatever reason those indexes shifted. My graphs all changed, and presented inaccurate data. For the sake of example, let's say before the reboot /usr/local had an index of 5 and /home had an index of 7. After reboot, /usr/local had an index of 7 and the graph shifted and started plotting the data for /home instead.
So, I changed the XML file to include
Code: Select all
<index_order>dskPath:dskIndex</index_order>
and hoped that was the piece of the puzzle I was missing. I tested it a couple times, though, and wasn't convinced. With the XML file including index_order as above, the Data Source contains an Index Type of dskPath and a value of /usr/local (for example).
If I include an index_order as above and the Data Source reflects the dskPath (for example) as Index Value, is that all I need to do to maintain graph integrity if snmptable indexes change around post-reboot?
Apologies for the length of this, hope the question is clear, and many thanks for your assistance.