Generating and scheduling reports for managed appliances using the CLI

Prev Next

Use the commands in this section to generate and schedule static reports for managed appliances. The commands are executed once; they are not stored.

Note

For comprehensive information about the reporting commands, see the User Guide for the managed appliance.

If you omit the command parameter from these commands, you will be prompted for it, and the characters you enter will be masked for confidentiality.

This topic describes how to execute a single command. You can also define a profile of commands that run in sequence unattended. See Working with command profiles .

To execute a command on an appliance:
  1. Enable the CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Execute the command:

    hostname (config) # cmc execute appliance <applianceName> command ["<command>"]

    where command is a form of the report generate or report schedule command and must be enclosed in double quotation marks.

To execute a command on a group of appliances:
  1. Enable the CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Execute the command:

    hostname (config) # cmc execute group <groupName> command ["<command>"]

    where command is a form of the report generate or report schedule command and must be enclosed in double quotation marks.

Important

You can cancel the execution of outstanding commands, as described in Canceling outstanding commands .

Example

This example generates an Alert Details report on behalf of the NX-04 appliance.

hostname (config) # cmc execute appliance NX-04 command "report generate type Alert_Details report_format csv report_detail normal alert_type malware-object time_frame past_month transport file"
Execute report command. Check email or WebUI for report.