Active IQ Unified Manager Discussions

How to create dfm reports using commandline ?

nitish
5,200 Views

We have more than 1 server running Oncommand Unified Manager Core Package 5.0. However, they still have custom scripts for monitoring the systems.

Recently we are trying to convert their custom scripts to dfm reports and alerts.

I am stuck on an issue with creating same reports on each server.

As it's not possible to export reports from one DFM server and import on another.

1. Can we create dfm reports through command line? How, to list all counters available in gui?

2. Is there a way to replicate the same reports on other dfm servers?

1 ACCEPTED SOLUTION

adaikkap
5,200 Views

Hi Nitish,

     Unfortunately there is no export/import function for copying the settings of OnCommand Unified Manager to multiple OCUM servers.

1. Can we create dfm reports through command line? How, to list all counters available in gui?

[root@ ~]# dfm report create help

NAME

    create -- Create a custom report

SYNOPSIS

    dfm report create -R <catalog> -f <field> [ -L <long-name> ]

                 [ -d <description> ] [ -D <display-tab> ] <report-name>

[root@ ~]#

Refer the man pages as follows and look for dfm report create.

Launch the Operations Manager Console> Control Center> Help>General Help > Man Pages.

2. Is there a way to replicate the same reports on other dfm servers?

Yes, using cli create the same. You can get the list of columns in each report you created as follows.

dfm report view <reportname-or-id> help.

Then create the same report with all the columns in another server.

Regards

adai

View solution in original post

1 REPLY 1

adaikkap
5,201 Views

Hi Nitish,

     Unfortunately there is no export/import function for copying the settings of OnCommand Unified Manager to multiple OCUM servers.

1. Can we create dfm reports through command line? How, to list all counters available in gui?

[root@ ~]# dfm report create help

NAME

    create -- Create a custom report

SYNOPSIS

    dfm report create -R <catalog> -f <field> [ -L <long-name> ]

                 [ -d <description> ] [ -D <display-tab> ] <report-name>

[root@ ~]#

Refer the man pages as follows and look for dfm report create.

Launch the Operations Manager Console> Control Center> Help>General Help > Man Pages.

2. Is there a way to replicate the same reports on other dfm servers?

Yes, using cli create the same. You can get the list of columns in each report you created as follows.

dfm report view <reportname-or-id> help.

Then create the same report with all the columns in another server.

Regards

adai

Public