[AWA] Monitor agent status and perform pre-defined action when agent down

Document ID : KB000108241
Last Modified Date : 07/08/2018
Show Technical Document Details
Question:
Can we monitor the agent status and perform pre-defined action when the agent down? 
Answer:
You can use the UC_HOSTCHAR_DEFAULT with the keys:
 
EXECUTE_ON_ASSIGNMENT 
EXECUTE_ON_END 
EXECUTE_ON_LOST 
EXECUTE_ON_START

to react, if an Agent will get down. You can use these keys to start any executable object, for example to start the agent again.
Additional Information:
Please read further details about these keys in UC_HOSTCHAR_DEFAULT