Active IQ Unified Manager Discussions

Perf threshold create avg_latency:breach - question

holivares
4,969 Views

Guys,

Does anyone know how should I setup my threshold so ALL the LUNs in my filer are monitored for latency breach?

So far I've only found examples on how to set for a specific LUN.

Thx folks!

1 ACCEPTED SOLUTION

hiyer
4,969 Views

Here's an example of the CLI syntax to create a threshold on all LUNS:

[root@trinity ~]# dfm perf threshold create -o 0 -d 300 -e foobar -C "lun:avg_latency 300 millisec"

And here's the result:

[root@trinity ~]# dfm perf threshold list -x 2
Threshold Id: 2
Event Name: foobar
Interval: 300
Enabled: Yes

Object Info:

    Id: 0
    Name: Global
    Type: resource_group

Counter Info:

    Counter: lun:avg_latency
    Threshold Type: upper
    Threshold Value: 300
    Threshold Unit: millisec

View solution in original post

5 REPLIES 5

lovik_netapp
4,969 Views

If you are using DFM you can go to performance advisor and create a template and then use that template to the area which suits your need, like if you want all the luns in system to be monitored for latency you can apply that template to controller level or for more granular usage select the luns.

holivares
4,969 Views

Thx a lot Lovik , however, I'm looking more into setting up through the DFS CLI, there are already some thresholds defined there for a specific set of LUNs and they are been monitored by the OPS Manager and alerts are been triggered to my email once the avg_latency has been breached but they are for a specific set of LUNs the counter config looks like the one below:

Threshold Id: 2
Event Name: lun:avg_latency
Interval: 300
Enabled: Yes

Object Info:

Id: 13565
Name: FILER01P:/fcp_15k_dw_prod_standby_data_fvol/qtree1/lun5
Type: lun

Counter Info:

Counter: lun:avg_latency
Threshold Type: upper
Threshold Value: 20
Threshold Unit: millisec

What I'm actually looking for is the way to setup one single counter for ALL the LUNs in all my filers instead of creating hundreds of counters so the Ops Manager can send me alert events once LUN hit's the breaching threshold, as right now is just sending me notifications for only 25 LUNs that have already counters configured as shown above.

Thx again

hiyer
4,970 Views

Here's an example of the CLI syntax to create a threshold on all LUNS:

[root@trinity ~]# dfm perf threshold create -o 0 -d 300 -e foobar -C "lun:avg_latency 300 millisec"

And here's the result:

[root@trinity ~]# dfm perf threshold list -x 2
Threshold Id: 2
Event Name: foobar
Interval: 300
Enabled: Yes

Object Info:

    Id: 0
    Name: Global
    Type: resource_group

Counter Info:

    Counter: lun:avg_latency
    Threshold Type: upper
    Threshold Value: 300
    Threshold Unit: millisec

holivares
4,969 Views

Duuuuude, you rule!!!

Thx a ton man!

hiyer
4,969 Views

You could create a LUN avg. latency threshold and apply it on the "Global" group.

Public