Qlik Community

Ask a Question


Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Talk to Experts Tuesday: Live chat Aug. 24th 10 AM ET: Bring your Qlik Gold Client questions REGISTER TODAY

How to set up Monitoring Apps in a clustered environment

Digital Support
Digital Support

How to set up Monitoring Apps in a clustered environment

To be able to effectively use the Qlik Sense monitoring apps in a clustered environment, the data connections as well as the script will need to be edited. By default, the script will only load data from its local machine, which is counterproductive in a clustered setup. 

Configuring multi-node environments

First, we will need to modify the Data Connections.:

  • Open the Qlik Sense Management Console 
  • Navigate to Data Connections in the many on the left


Modify all relevant Data Connections

  1. ArchivedLogFolder: Update the data connections ArchivedLogFolder by replacing C:\ProgramData\Qlik\Sense with the fully-qualified domain name (FQDN) path to the shared folder for Qlik Sense: \\<FQDN>\<QlikShare>\ArchivedLogs.


  2. ServerLogFolder: Update the data connections ServerLogFolder, by replacing C:\ProgramData\Qlik\Sense\Log with the FQDN path to the central node: \\<FQDN>\<UNC_Share>\Log.

  3. REST Connections: Update the monitor_apps_REST_ data connections by replacing localhost in the connection strings URL and trustedLocation parameters with the FQDN of the node where the repository resides.

    CUSTOM CONNECT TO "provider=QvRestConnector.exe;url=https://SERVERNAME.DOMAIN.COM/qrs/app/full;timeout=900;method=GET;autoDetectResponseType=true;keyGenerationStrategy=0;authSchema=ntlm;skipServerCertificateValidation=true;useCertificate=No;certificateStoreLocation=LocalMachine;certificateStoreName=My;trustedLocations=qrs-proxy%2https://SERVERNAME.DOMAIN.COM:4244;queryParameters=xrfkey%20000000000000000;addMissingQueryParametersToFinalRequest=false;queryHeaders=X-Qlik-XrfKey%20000000000000000%1User-Agent%2Windows;PaginationType=None;"


  4. Using a Virtual Proxy with a Prefix? If the virtual proxy uses a prefix, the monitor_apps_REST_ data connections must be updated to include the prefix used.

    more info: Default virtual proxy with prefix

  5. Using Centralized Logging? If you are using centralized logging, you need to update the QLogs data connection by replacing localhost in the connection string URL with the FQDN of the machine where the centralized logging database resides. 

    The centralized logging database may or may not be enabled and may or may not be in the same PostgreSQL database as the Qlik Sense repository database.


  6. Share the Qlik Sense log folder on all RIM nodes.

  7. Add a new data connection to the Log folder for each rim node. This can be accomplished by opening an app, accessing the data load editor, and creating a new data connection. If you have five RIM nodes, you need to create five data connections.

    For example, the data connection for RIM1 points to folder \\rim_node_1\<UNC_Share>\Log and is called RIM1.

  8. Rename the new data connections in the QMC to remove the (username), which is appended to the data connection name. Example: RIM1 (user_183) is changed to RIM1.

Update the Monitoring Apps scripts

Update the load script of the Operations Monitor in section logFolderList on line 5 by adding the names of all the new data connections created in step 7 and 8.

Do the following:

  1. Duplicate the Operations Monitor app in the QMC.

  2. Open the duplicate app in the Qlik Sense hub.

  3. Edit the load script

    1. Each new data connection name needs to be enclosed in single quotes (') and separated by a comma.

    2. Example: FOR each node in 'ServerLogFolder','RIM1','RIM2'.

  4. Save the app.

  5. Replace the existing Operations Monitor app by publishing the duplicate app to the Monitoring apps stream and selecting Replace existing app.

  1. Perform step 9 in the License Monitor.

Please find the section in Help.
Note: Error: Failed to connect to server. Please check connection parameters. Go to step 5 for resolution. 

Labels (2)
Version history
Revision #:
6 of 6
Last update:
‎2020-10-02 10:47 AM
Updated by: