Configuring Sample Rulebases
To configure the sample rulebases to be used with Hawk:
- Go to
CONFIG_HOME/hkam/<host_instance_name>/scripts.
Note: In the
configure-hkam.properties
file, use only forward slash ("/"). - Edit
configure-hkam.properties
to specify the following variables:tibco.hawk.version
- The version of Hawk.tibco.hawk.home
- TIBCO_HOME used for Hawk installation.tibco.hawk.config.home
- TIBCO configuration directory specified during Hawk installation. For example,c:/hk49data
.Note: Set the following value totrue
if the communication between a host and the Administrator Server is secure.amx.hpa.is.secure=true
- Run the configure script from the command line:
- On Windows:
configure-hkam.bat
- On UNIX:
./configure-hkam.sh
Note: By default, theadmin_emsconfig_password
in thetct-install.properties
file has an empty value. Therefore configure scripts generate an empty password in thehawkems-<host_name>.hma file. To pick up a non-empty EMS password, modify the valueadmin_emsconfig_password
in thetct-install.properties
file, and rerun the configure script to generate the .hma file. Alternatively, you can manually update the value of-encryptedPassword
with the value of${password}
in hawkems-<host_name>.hma file.<arg>-encryptedPassword</arg> <arg>${password}</arg>
- On Windows:
- Configure the CLEvent Publisher Microagent.
- Modify the following properties:
- On Windows:
Open
tibhawkconfig.exe
. In the Agent tab, add or modify the following properties:a. Set the Autoconfiguration Directory as CONFIG_HOME/hkam/<host_instance_name>/rulebases.
b. Set the value of Plugins as CONFIG_HOME/hkam/<host_instance_name>/plugin.
c. Set the variables file as CONFIG_HOME/hkam/<host_instance_name>/data/Hawk-amx_variables.properties.
- On UNIX:
Edit
HAWK_CONFIG/bin/hawkagent.cfg
to configure the following properties:a. Set
hma_plugin_dir
asCONFIG_HOME/hkam/<host_instance_name>/plugin
.b. Set variables as
CONFIG_HOME/hkam/<host_instance_name>/data/Hawk-amx_variables.properties
.c. Set
auto_config_dir
asCONFIG_HOME/hkam/<host_instance_name>/rulebases
.
- On Windows:
Start Hawk HMA, Hawk Agent, Hawk Console, Hawk Display, and so on, as appropriate for your platform.