Active IQ Unified Manager Discussions
Active IQ Unified Manager Discussions
Is there a way to set the default Perf Advisor view for each system via the CLI? I know I can click on the "set default" button in the PA interface after picking a custom view, but I have over 150 controllers across 3 DFM servers for which I'd like to modify this setting. Thanks!
Mike
I dont think there is a CLI to set default views from CLI.
Regards
Harish
Hi Mike,
As harish said there is no cli, but this can be done through the api using the DFM SDK.
Below is the api for doing the same.
<perf-set-default-view>
<object-name-or-id>784</object-name-or-id>
<view-name>Top Aggregates</view-name>
</perf-set-default-view>
Let me know if this helps or if you need more help.
Regards
adai
Very nice, thank you!
Thanks again for this. One more question...is there a way via the API
to change the default views used for certain objects? For example, can
I change the default view used for all volume objects to a custom view,
without having to iterate through every volume object on the system and
set it on each volume id? Thanks!
Mike
Hi Mike,
I am not clear on this question.
Can you give an example?
Are you saying you want make the default views as custom views? If so why?
What is that you are trying to achieve.
Regards
adai
As an example, the default Volume Summary View does not contain any
counter related to latency. So, I have a custom view for volumes that
contains things like volume throughput, ops, and latency. I'd like this
to come up as the default view when my customer clicks on a volume in
PA. If I can not do this, I just need to train them to select my custom
view for volume data so that they can see all the info they need for a
volume in a single view. Thanks!
Hi Mike,
As I said earlier, use the zapi to set your custom views as default one.
So doesn’t that solve your use case?
Regards
adai
It does, I was just hoping I could modify the default view for all
volume objects rather than having to set it for each specific volume
object via a script that runs on a regular basis. Scripting it is not
hard, so I can go that route, I just wanted to make sure I was not
missing an easier method. Thanks!
Mike