Starting ActiveSpaces Monitoring Service

Follow these commands to start ActiveSpaces Monitoring Service.

Prerequisites

Make sure the realm server is up and running.

Procedure

  1. Open a command window.
  2. Navigate to TIBCO_HOME/as/<version>/monitor/scripts
  3. Execute the following script. The syntax is:
    monitor-start [-r host:port] [--password-file password_file] [--trust-file trust_file] [--trust-all]
    
    where
    • host:port is the URL of the realm server.
    • --password_file is the file is used for authentication and authorization. For more information, see Password File.
    • --trust-file is the file used for encryption. For more information, see Trust File.

    For example,

    monitor-start -r QAMac1:8100 --password-file myPasswords --trust-file %TRUST_FILE%
    Note: The --password_file and --trust_file options are required only if authentication has been previously setup. For more information, see Security.
  4. Open a browser and in the address field enter the URL for the ActiveSpaces Monitoring Service.
    The default value is http://<hostname>:3000.
    Provide the login credentials.

    The default login credentials are username admin and password admin.

Result

Monitoring data is displayed in the dashboards. The data files are created in <USER_HOME_DIR>/asmonitor_data/

Update the ASMONITOR_DATA_DIR variable in the TIBCO_HOME/as/version/monitor/setup.bat file to write the data files to another folder.

Important: If the dashboard does not display any data make sure the realm server is running. Check if any errors are logged in the <USER_HOME>/asmonitor_data/logs/tibpromgateway.log file.
If you inadvertently execute the monitor-start script before the realm server process starts,
  1. Execute the monitor-stop script.
  2. Start the realm server.
  3. Execute the monitor-start script.