Active IQ Unified Manager Discussions

Automate Performance View Creation

gbrian
2,404 Views

Can I use the dfm command to automate performance view creation? If so, can you supply an example?

Thanks,

Brian

1 ACCEPTED SOLUTION

msaravan
2,404 Views

Yes, You can do that. Here you go...

You need to use "dfm perf view create" command for that.

# dfm perf view create -c f270c-filer:system:system:cpu_busy cpuview 300 172800

View cpuview created successfully

#

The above view is created with the name "cpuview" for 5 mins (300 secs) sample rate with 2 days (172800 secs) sample buffer.

# dfm perf view create help

NAME

create -- create a new view

SYNOPSIS

dfm perf view create [ -c <counter-name> | -d -C <perf-counter> ] [ -t <chart-name> ]

-a <appliance-name-or-id>

<view-name> <sample-rate> <sample-buffer>

DESCRIPTION

create a new performance view

sample-rate and sample-buffer should be specified in seconds

Use -d along with the -C option to create dynamic top-N chart

The format of perf-counter is <object-name>:<counter-name>:<label1-name>:<label2-name>

Use -S to create a view with an events block

Use -t to specify the name of the chart to which the

counter should be added.

#

Regards,

Saravanan

View solution in original post

1 REPLY 1

msaravan
2,405 Views

Yes, You can do that. Here you go...

You need to use "dfm perf view create" command for that.

# dfm perf view create -c f270c-filer:system:system:cpu_busy cpuview 300 172800

View cpuview created successfully

#

The above view is created with the name "cpuview" for 5 mins (300 secs) sample rate with 2 days (172800 secs) sample buffer.

# dfm perf view create help

NAME

create -- create a new view

SYNOPSIS

dfm perf view create [ -c <counter-name> | -d -C <perf-counter> ] [ -t <chart-name> ]

-a <appliance-name-or-id>

<view-name> <sample-rate> <sample-buffer>

DESCRIPTION

create a new performance view

sample-rate and sample-buffer should be specified in seconds

Use -d along with the -C option to create dynamic top-N chart

The format of perf-counter is <object-name>:<counter-name>:<label1-name>:<label2-name>

Use -S to create a view with an events block

Use -t to specify the name of the chart to which the

counter should be added.

#

Regards,

Saravanan

Public