Original address: http://dangdangdotcom.github.io/elastic-job/post/1.x/execution_monitor/
Job Run Status monitoring
The Operation status monitoring function can be completed by listening to several key nodes of the Elastic-job zookeeper registry. Monitor job server to survive
Listens for the presence of the Job_name\servers\ip_address\status node. The node is a temporary node, and if the job server is offline, the node is deleted. Monitor recent data processing success
Data flow type operation, can be monitored by the recent success of data processing to determine whether the operating flow is normal.
Listens for the value of the Job_name\servers\ip_address\processsuccesscount node. If less than the normal operation of the valve value, you can choose to alarm. monitoring recent data processing failure
Data stream type job, the result of operation processing can be judged by monitoring the failure number of recent data processing.
Listens for the value of the Job_name\servers\ip_address\processfailurecount node. If greater than 0, you can choose to alert.