Active IQ Unified Manager Discussions

How to get qtree-ID in Operations Manager (5.x)

klmi
2,854 Views

Hi,

we are currently working on a monitoring replacement to get all filerrelevant data for our reports from Operations Manager 5.0.1 (former DFM) instead of SNMP.

Two things we are missing here:

  • QTREE ID from a qtree on the filer
    We tried to get the "qtree-id" with the API-Element: "qtree-list-info-iter-next - qtree-id".
    It looks like the this qtree-id is connected to the internal Operations Manager ID of this qtree, but this has nothing to do with the qtree-id shown in "quota report" on the filer.
    We would need the ID on the Filer for mapping on Quota-Alerts (SNMP-Traps from filer, contains qtree-id, not qtree name) for our External Trapnotify - script.

filer> quota report
                                 K-Bytes             Files
Type       ID    Volume    Tree  Used      Limit     Used    Limit   Quota Specifier
----- -------- -------- -------- --------- --------- ------- ------- ---------------
tree         *  back003        -         0         -       0       - *
tree         1  back003  unix 91038634496 125829120000   59923       - /vol/back003/unix

  • Global System Status from Filer
    Before we got this over SNMP ($OID_misc_GlobalStatus, OID: 1,3,6,1,4,1,789,1,2,2,4 + 25). Do you know any way to also get these values directly from Operations Manager.
    Only way i have seen to get with Ontapi SDK - SNMP-Query over "api-proxy" from Operations Manager to Filer, but i need a more effizient way (without proxy Request)

Any Feedback here is highly welcome.

Many Thanks in Advance,

Klaus

1 REPLY 1

adaikkap
2,854 Views

Hi Klaus,

     Pls upgrade to 5.0.2, as its the current GA release and fixes a important security vulnerability that existed in 5.0 and 5.0.1

QTREE ID from a qtree on the filer
We tried to get the "qtree-id" with the API-Element: "qtree-list-info-iter-next - qtree-id".
It looks like the this qtree-id is connected to the internal Operations Manager ID of this qtree, but this has nothing to do with the qtree-id shown in "quota report" on the filer.
We would need the ID on the Filer for mapping on Quota-Alerts (SNMP-Traps from filer, contains qtree-id, not qtree name) for our External Trapnotify - script.

That's right, what you get from qtree-list-info-iter is the internal dfm sybase database unique identifier.  

There is no way in DFM to get the id that you get in a quota report. As you said, you can either user the api-proxy or run the dfm run cmd and get the same.

Regards

adai

Public