asadmin> notification-configure --enabled=true --dynamic=true
Notification Service Command Reference
notification-configure
- Usage
-
asadmin> notification-configure --enabled=true --dynamic=true
- Aim
-
Enables or disables the service.
Command Options
Option | Type | Description | Default | Mandatory |
---|---|---|---|---|
|
Boolean |
Enables or disables the service |
False |
No |
|
Boolean |
When set to true, applies the changes without a restart. Otherwise a restart is required. |
False |
No |
|
The argument --dynamic=true is necessary to turn on the service for a
running server, otherwise the change would only be applied after a
server restart.
|
Example
notifier-list-services
- Usage
-
asadmin> notifier-list-services
- Aim
-
Lists available notifiers to use with the service. These can then be configured individually or referenced by other service commands, for example the
Request Tracing Configuration
commands.
Command Options
There are no available options for this command.
Example
Running the command on release 4.1.1.164 would yield the following results:
Available Notifier Services: service-log Command notifier-list-services executed successfully.
get-notification-configuration
- Usage
-
asadmin> get-notification-configuration
- Aim
-
This command can be used to list the details of the Notification Service.
Command Options
There are no available options for this command.
Example
Running the command will give output similar to the following:
Enabled Notifier Enabled Notifier Name false false service-log Command get-notification-configuration executed successfully.
set-notification-configuration
- Usage
-
asadmin> set-notification-configuration --enabled=true --dynamic=true --notifierName="service-log" --notifierEnabled=true --notifierDynamic=true
- Aim
-
This command can be used to set all configuration of the Notification Service at once.
Command Options
Option | Type | Description | Default | Mandatory |
---|---|---|---|---|
|
Boolean |
Enables or disables the service |
False |
No |
|
Boolean |
When set to true, applies the changes without a restart. Otherwise a restart is required. |
False |
No |
|
String |
The name of the notifier to use |
|
Yes |
|
Boolean |
Enables or disables notifications |
false |
Yes |
|
Boolean |
When set to true, applies the changes without a restart. Otherwise a restart is required. |
false |
No |
Example
asadmin> set-requesttracing-configuration
--enabled=true
--dynamic=true
--notifierName="service-log"
--notifierEnabled=true
--notifierDynamic=true