activatenotification


Use this command to activate notifications for the specified notifications or all notifications.

You can only activate notifications that already exist.

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

activatenotification -u <userName> -w <password> -d <hostName>
-p <port> -n <Notification-List> [-v] [-s] 

  • 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:

Example inputs

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

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

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

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

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*