export_facet

Exports a real-time monitoring facet to the specified file.

Format

emcli  export_facet
       -name="<name>"
       -target_type="<target_type>"
       -entity_type="<entity_type>"
       -output_file="<file>"

Options

  • Name

    Name (internal) of the facet to be exported.

  • target_type

    Target type (internal) of the facet to be exported. To see all target types available for your environment, check the $AGENT_HOME/sysman/admin/metadata directory. A metadata file (XML file) exists for each target type.

  • entity_type

    Entity type (internal) of the facet to be exported, for example, osfile, osprocess, osuser, and so on.

  • output_file

    Name of the exported file.

Example

The following example exports the foo facet to the $HOME/reports/facet.xml file.

emcli export_facet 
      -name="foo" 
      -target_type="host" 
      -entity_type="osfile" 
      -output_file="$HOME/reports/facet.xml"