Configuring ManagementService notification settings
A management service in TrueSight Server Automation collects various information from management activities that are performed on the Application Server. Using the ManagementService component in blasadmin, you can control the transfer of notifications from the management service through the following methods of delivery:
- JMX — through the BLJConsole or JMXCLI
- SNMP
This topic has the following sections:
To configure ManagementService notification settings
- Start the Application Server Administration console, as described in Starting-the-Application-Server-Administration-console.
Use the following blasadmin commands to control notifications and the transfer of information from the management service:
Method of delivery
Objective
Commands
Email
Set the severity level of email notifications
set ManagementService EmailNotificationLevel <level>
You can choose from the following available levels (listed in descending level of severity, or ascending level of detail): OFF/FATAL/ERROR/WARN/INFO/DEBUG/FINE/FINER/FINESTFor more information about the activities that trigger notifications, see Notification triggers.Specify recipients of email notifications
{{code language="none"}}
set ManagementService EmailRecipients <list of emails>
{{/code}}
Enter a comma-separated list of email addresses of recipients.JMX
Set the port for remote access to the Application Server using JMX
set ManagementService JMXManagementPort #The default port is 9838 (base port + 38).
Set the severity level of JMX notifications
set ManagementService JmxNotificationLevel <level>
You can choose from the following available levels (listed in descending level of severity, or ascending level of detail): OFF/FATAL/ERROR/WARN/INFO/DEBUG/FINE/FINER/FINESTFor more information about the activities that trigger notifications, see Notification triggers.SNMP
Set the severity level of SNMP notifications
set ManagementService SnmpNotificationLevel <level>
You can choose from the following available levels (listed in descending level of severity, or ascending level of detail): OFF/FATAL/ERROR/WARN/INFO/DEBUG/FINE/FINER/FINESTFor more information about the activities that trigger notifications, see Notification triggers.Specify recipients of SNMP notifications
set ManagementService SnmpRecipients <list of hosts>Enter a comma-separated list of SNMP hosts.
- Restart the Application Server.
Notification triggers
The following table lists the various Application Server activities that trigger notifications. For each trigger, the delivery methods are specified, as well as the minimum logging level that has to be set for the trigger to result in a notification.
Triggers | Delivery methods | Minimum logging level |
|---|---|---|
Additon/removal/update of a profile on the Application Server launcher launcher | JMX notification | FINE |
Application Server starting/started/stopped | JMX notification | FINE |
Diagnostic test started/stopped | JMX notification EMAIL notification SNMP notification | FINE for started trigger ERROR for stopped with error trigger WARN for stopped with warn trigger FINE for cancelled or completed trigger FINE is the default if the exact stopped status is unknown |
Job execution started/completed | JMX notification | INFO |
Error during execution of cleanup service | JMX notification EMAIL notification SNMP notification | ERROR |
Sample notifications
Below are examples of notifications for a diagnostic test, as received through the various modes of delivery: