Page tree

Use this command to inactivate notifications for the specified notifications or all notifications. You can only inactivate notifications that already exist.

Additionally, you can preview the notifications that will be affected by the criterion that you specify.

To understand the syntax and examples, see:

Syntax

Note

Prefix this command with the following, as appropriate:

  • For Windows: itda.bat
  • For Linux: ./itda.sh

inactivatenotification -u <userName> -w <password> -d <hostName> 
-p <port> -n <Notification-List> [-v] [-s] [-y]
  • 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
-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.
-d
Host name of the Console Server
-p
Port number of the Console Server.
-n

Name of the notification that you want to inactivate.

You can specify the name in the following ways:

  • To inactivate multiple notifications, specify a comma-separated list of notification names.
  • To inactivate all the existing notifications, specify all.
  • To inactivate notifications with a similar name, you can use asterisk (*) as a wildcard character to substitute portions of the value. For example bppmNoti*.

Notes:

  • You can use asterisk as the wildcard character even while specifying a comma-separated list of notification names.
  • If the notification name contains spaces, you must enclose the name in double-quotes.
  • If the notification name itself contains an asterisk (*), then you need to escape it by preceding the asterisk (*) with two backward slashes (\\).
    Example: -n notification\\*
-v
(Optional) Version of the IT Data Analytics product.
-s
(Optional) Indicates an HTTPS connection.
-y

(Optional) Preview the notifications that will be affected by this command.

Note: This parameter only provides a preview and does not actually run the command. To run the command, you must exclude this parameter.

Example inputs

The following example provides the input for inactivating notifications with the names, Errors in last one hour and Login failures:

inactivatenotification -u admin -w admin -d localhost -p 9797 
-n "Errors in last one hour", "Login failures"

The following example provides the input for inactivating all the existing notifications:

inactivatenotification -u admin -w admin -d localhost -p 9797 -n all

The following example provides the input for inactivating notifications starting with the name HoustonNoti*:

inactivatenotification -u admin -w admin -d localhost -p 9797 -n HoustonNoti*
  • No labels