Skip to main content
Announcements
UPGRADE ADVISORY for Qlik Replicate 2024.5: Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
DanCarvin
Contributor II
Contributor II

Monitoring Qlik Replicate Jobs

Is there a way for Monitoring tools to monitor Qlik Replicate and determine if jobs are not running, through Powershell or other means? 

Labels (1)
1 Reply
Heinvandenheuvel
Specialist III
Specialist III

The official API for Replicate is through the Enterprise Manager (AEM)

It provides a a restApi interface to calls like - GetTaskList (name, state) and GetTaskDetails ( date and times for state transitions, volumes,...). This is a separate product, well worth it I'd like to think. Reach out to your Qlik sales interface? !  I attached a simple example, listing details from a first task in a first server under AEM control. Below also the response definition for GetTaskDetails.

An alternative is the REPCTL commandline utility which is partially documented in the Replicate User Guide. It is always there, for free and can get the same information connecting to a local server, but less elegantly so. For a full list of commands use REPCTL HELP OPTION=1, but you'd need CONNECT and GETTASKSTATUS. For help on any command follow the command with a questionmark. For example  REPCTL GETTASKSTATUS ?

Attached a Powershell script Overview_local_ps1.txt shows how REPCTL can be used. The also attached AEM_simple_restapi_gettaskdetails_ps1.txt generates much similar output using the AEM API (If I recall correctly - haven't used it in a while)

Hein.

Response body
{
"taskList": [{
	"name": "{string}",
	"state": "{enum task_state}",
	"stop_reason": "{enum stop_reason}",
	"message": "{string}",
	"assigned_tags": ["string", "string", "string", …]
	}]
}