Hawk Console Modules and Configuration Options
Each section in this configuration file (HAWK_HOME
/bin/hawkconsole.cfg)
begins with “-M
” followed by the module name, such as –M Self
. Within each modular section, all the command-line options that can be configured are listed. These options are as follows:
Module |
Parameters |
-M Self |
-domain_config_file < |
|
-server_port < |
|
-key_alias < |
|
-key_password < |
|
-key_store < |
|
-key_store_password |
|
-protocol < |
|
-ciphers < |
|
-subscription_queue_size <queue size> |
|
-subscription_expiry_time < |
|
-proxy_alert_count_pull_interval < |
|
-proxy_domain_reachability_check_interval < |
|
-datasource_url |
|
-datasource_drivername |
|
-datasource_username |
|
-datasource_password |
|
-datasource_connection_pool_initial_size |
|
-datasource_connection_pool_max_idle |
|
-datasource_connection_pool_max_active |
|
-retention_count_for_notification < |
|
-retention_count_for_high_alerts < |
|
-retention_count_for_medium_alerts < |
|
-retention_count_for_low_alerts < |
|
-repository_path " |
|
-alert_manager_activity_interval |
-max_reconnect_attempts_during_connect | |
-max_reconnect_attempts_after_restart | |
-M LogService |
-log_dir < |
|
-log_max_size < |
|
-log_max_num < |
|
-log_level |
|
-log_format < |
-M UserAuth |
-user_store_type < |
|
-user_file_store < |
Each of the parameters listed above are explained in more detail, in the following table.
Property |
Mandatory |
Default Value |
Description |
|||||||||||||||||||||
-domain_config_file |
No |
|
Path of file that contains the domain and transport configurations for Hawk Console. For details on the domain and transport configuration file, see Domain and Transport Configuration for Hawk Console. |
|||||||||||||||||||||
-server_port |
No |
8083 |
The server port to access Hawk Console. |
|||||||||||||||||||||
Secure Communication (SSL Authentication) Options |
||||||||||||||||||||||||
-key_alias |
No |
- |
Key alias |
|||||||||||||||||||||
-key_password |
No |
- |
Encrypted key password |
|||||||||||||||||||||
-key_store |
No |
- |
The path of the key store file. |
|||||||||||||||||||||
-key_store_password |
No |
- |
The password for the key store file. |
|||||||||||||||||||||
-protocol |
No |
TLSv1.2 |
The security protocol for a secure communication. |
|||||||||||||||||||||
-ciphers |
No |
|
The ciphers to be used for the specified security protocol. You can specify multiple ciphers as comma-separated list. The following ciphers are supported:
|
|||||||||||||||||||||
-subscription_queue_size |
No |
128 |
A bounded circular queue is maintained for each subscription for storing its results. This parameter defines the maximum size of the queue. If the maximum size of queue is reached then old results are overridden by the new ones. |
|||||||||||||||||||||
-subscription_expiry_time |
No |
90000 |
Time in milliseconds after which a subscription expires if the results of subscription are accessed. |
|||||||||||||||||||||
Proxy Domain Options |
||||||||||||||||||||||||
-proxy_alert_count_pull_interval |
No |
15000 |
Time interval (in milliseconds) in which the alert count is fetched from proxy domains. |
|||||||||||||||||||||
-proxy_domain_reachability_check_interval |
No |
15000 |
Time interval (in milliseconds) in which proxy domains are checked for reachability. |
|||||||||||||||||||||
External Database Configuration |
||||||||||||||||||||||||
-datasource_url |
No |
jdbc:h2:mem:test;DB_CLOSE_DELAY=-1 |
URL which identifies the database connection |
|||||||||||||||||||||
-datasource_drivername |
No |
org.h2.Driver |
Name of the JDBC driver |
|||||||||||||||||||||
-datasource_username |
No |
- |
User name to connect to the database |
|||||||||||||||||||||
-datasource_password |
No |
- |
User’s password to connect to the database |
|||||||||||||||||||||
-datasource_connection_pool_initial_size |
No |
10 |
Initial number of database connections to be allocated |
|||||||||||||||||||||
-datasource_connection_pool_max_idle |
No |
20 |
Maximum number of idle connections allowed in the database connection pool |
|||||||||||||||||||||
-datasource_connection_pool_max_active |
No |
100 |
Maximum number of active connections allowed in the database connection pool |
|||||||||||||||||||||
-retention_count_for_notification |
No |
100000 |
Alert limit for Notification |
|||||||||||||||||||||
-retention_count_for_high_alerts |
No |
100000 |
Alert limit for High Alerts |
|||||||||||||||||||||
-retention_count_for_medium_alerts |
No |
100000 |
Alert limit for Medium Alerts |
|||||||||||||||||||||
-retention_count_for_low_alerts |
No |
100000 |
Alert limit for Low Alerts |
|||||||||||||||||||||
-alert_manager_activity_interval |
No |
20000 |
The period, in milliseconds, after which the alert manager executes to store alerts in the database and purge extra alerts in the database. |
|||||||||||||||||||||
-max_reconnect_attempts_during_connect | No | 20 | Specifies the number of reconnection attempts when the console is unable to connect on first attempt | |||||||||||||||||||||
-max_reconnect_attempts_after_restart | No | 1000 | Specifies the number of reconnect attempts to be made when the console gets disconnected from the Daemon | |||||||||||||||||||||
-repository_path
|
No |
|
Path to the repository |
|||||||||||||||||||||
Logging |
||||||||||||||||||||||||
-log_dir |
No |
CONFIG_FOLDER/logs |
The directory in which to store log files generated by the TIBCO Hawk Agent. |
|||||||||||||||||||||
-log_max_size |
No |
10M |
The maximum size of a rotating log files in KB. You can apply a suffix ’ |
|||||||||||||||||||||
-log_max_num |
No |
10 |
The maximum number of rotating log files |
|||||||||||||||||||||
-log_level |
No |
7 |
Specifies the level of diagnostic information stored in the logs. The following are the logging levels:
|
|||||||||||||||||||||
-log_format |
No |
ae4 |
The format for trace log messages |
|||||||||||||||||||||
User Authentication |
||||||||||||||||||||||||
-user_store_type |
No |
database |
Specify whether Hawk Console uses an inbuilt database or a file for user authentication. The values are:
|
|||||||||||||||||||||
-user_file_store |
No |
|
If |
|||||||||||||||||||||
User Authentication: LDAP-Based |
||||||||||||||||||||||||
ldap_host |
Yes |
Not applicable |
Host name for the LDAP server. |
|||||||||||||||||||||
ldap_port |
No |
389 |
Port of the LDAP server. |
|||||||||||||||||||||
ldap_adminDN |
Yes |
Not applicable |
LDAP manager user DN for accessing the server, to avoid anonymous access to the server. |
|||||||||||||||||||||
ldap_admin_password |
Yes |
Not applicable |
LDAP admin password for accessing the server. The password is obfuscated. |
|||||||||||||||||||||
ldap_baseDN |
Yes |
Not applicable |
Base DN for the users to search. |
|||||||||||||||||||||
ldap_uid_attr |
No |
UID |
UID attribute to perform the user search. |
|||||||||||||||||||||
ldap_ssl_enabled |
No |
false |
Specifies whether to connect to LDAP over SSL or not. |