SNMP query puzzle

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
kooijtjemk2
Posts: 1
Joined: Mon Aug 25, 2014 3:24 am

SNMP query puzzle

Post by kooijtjemk2 »

First of all, hi great community and devvers! Thanks for all the great stuff, i'm very pleased to say that i am a cacti user since 10 years now. Using it mainly for graphing, tresholding and reporting. Primarely the graphing is something many other tools lack in some degree. Anyway, not planning to cancel the use of cacti overhere.
That being said; i'm stuck at the moment....

The Case:

A few Fujitsu ETERNUS DX 4xx series SAN systems, from which i want to graph the logical volume performance.

The working part:

- I know the OID to retrieve the active volumes.
- I know the OID's for the performance counters.

So far i have created working graphs for Write Latency, Read Latency, Write IOPS, Read IOPS, Write Throughput and Read Throughput. Those are the ones i want to know about.

graph_image_dx410.png
graph_image_dx410.png (48.21 KiB) Viewed 638 times
The problem part:

So far, i can't manage to query the active volumes and, based on that information, get the info for all active volumes.
What i am looking for is a way to walk OID .1.3.6.1.4.1.211.1.21.1.100.14.2.2.1.1.
This will get me plain numbers (i.e. 0, 2,3,7,9 etc.).
Based on those numbers i want to query the corresponding OID's for the counters.
An example for vulume 2 and 5:

The query at OID .1.3.6.1.4.1.211.1.21.1.100.14.2.2.1.1 (base query) gives me the numbers 2 and five.
With that info, i want to query .1.3.6.1.4.1.211.1.21.1.100.5.2.2.1.3.2 and .1.3.6.1.4.1.211.1.21.1.100.5.2.2.1.3.5.
So the last number has to be filled with the result from the base query.

Is there anyone who can point me in the right direction?
An working example for this kind of query/script would be greatly appreciated!
Many thanks in advance.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests