Adding Audit Notes to an Entity Using the Command Line Interface

Applies to: Client computers, MediaAgents, storage libraries (cloud, disk, tape), mount paths (cloud, disk), and storage policies.

You can add notes about a component or an entity, and then configure a severity level for each note that you add. Notes can include information about maintenance, software installations, or other events that occur in the CommCell environment.

Some limitations for audit notes include the following:

  • The character limit for each note is 256.

  • Audit notes are not included in the Audit Trail Report.

  • After you add an audit note, it cannot be deleted.

Procedure

  1. Run the qlogin command to log on to the CommServe computer.

  2. Download the add_audit_note_template.xml file to the computer where you will run the command.

  3. On the command line, go to software_installation_directory/Base, and then type the following command:

    qoperation execute -af add_audit_note_template.xml -clientName client_name -entityAuditListnotes 'notes about this entity' -severity N -date time NNNNNNNNNN

  4. Run the qlogout command to log off the CommServe computer.

You can also define parameter values in the XML file:

  • Open the create_user_template.xml file and update the XML parameters. For a complete list of parameters, see Parameters for the Adding Audit Notes Command.

Example

The following command adds a note with low severity to a client computer. In this example, the parameters are included on the command line instead of being defined in the XML file.

qoperation execute -af add_audit_note_template.xml -clientName MyClient1 -entityAuditListnotes 'Use this client only for testing.' -severity 1 -date time 1448291988

Loading...