configureanomaly CLI command

Use this command to enable or disable anomaly detection. Though anomaly detection is enabled by default, if you are upgrading from a previous TrueSight IT Data Analytics version, in such instances the settings that you have specified regarding anomaly detection, will be carried forward to the upgraded version of TrueSight IT Data Analytics. You can use the configureanomaly CLI command to enable or disable anomaly detection.

Syntax

Note

Before you run the command, note the following points:

configureanomaly -d <hostname> -p <portNumber> -u <username> -w <password> -ops <enable/disable> -interval [interval in seconds]
  • Angle brackets (< >) indicate a variable value that needs to be user defined.

  • Square brackets ([ ]) indicate optional parameters.

The following table describes the parameters used in the syntax:

ParameterDescription
-d
Host name of the Console Server.
-p
Port number of the Console Server.
-u
User name to use to connect with the Console Server.
-w
Password corresponding to the user name to use to connect with the Console Server.
-ops

The operation that you would like to carry out.

It can take the following values:

  • enable
  • disable
  • get

-interval

(optional)The time interval at which you want the anomaly detection calculations to take place. It is expressed as the interval in seconds. The interval cannot be less than 300 seconds.

The default interval is 900 seconds.

Example inputs

The following example provides the input for enabling anomaly detection:

configureanomaly -d localhost -p 9797 -u admin -w admin12345 -ops enable -interval 600

The following example provides the input for disabling anomaly detection:

configureanomaly -d localhost -p 9797 -u admin -w admin12345 -ops disable

The following example provides the input for retrieving the status of anomaly detection (enabled/disabled):

configureanomaly -d localhost -p 9797 -u admin -w admin12345 -ops get

Was this page helpful? Yes No Submitting... Thank you

Comments