How to automatically execute an object on agent action

Document ID : KB000088566
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Symptoms
 
It is possible to set an automatic action when an agent  starts, stops or ends lost (gets status ENDED_LOST). An automatic notification for monitoring purposes for example.
 
 
Resolution:
Logon to client 0 go to the folder HOST_VARIABLES.
 
.png

 
  • In the folder HOST_VARIABLES, go to the UC_HOSTCHAR* you have defined for the Agent that you want to set the action for.
 
*You can also check in the variable UC_EX_HOSTCHAR in the folder EX_VARIABLES which  
  UC_HOSTCHAR* is defined for the agent.
 
*you can set these settings in the UC_HOSTCHAR_DEFAULT, please keep in mind that if set here
  it will be a setting used for all agents that use this UC_HOSTCHAR*
 
 
  • To set an action when the Agent starts:
Open the UC_HOSTCHAR DEFAULT enter EXECUTE_ON_START on the VALIDITY KEYWORD  
side and the object you want to be executed when the agent starts on the VALUE side. 
Save these settings and restart the agent to apply these new settings.
 
  • To set an action when the Agent ends lost (gets status ENDED_LOST): 
Open the UC_HOSTCHAR DEFAULT enter EXECUTE_ON_LOST on the VALIDITY KEYWORD 
side and the object you want to be executed when the agent ends lost on the VALUE side.
Save these settings and restart the agent to apply these new settings 
  • To set an action when the Agent ends: 
Open the UC_HOSTCHAR DEFAULT enter EXECUTE_ON_END on the VALIDITY KEYWORD 
side and the object you want to be executed when the agent ends on the VALUE side. Save 
these settings and restart the agent to apply these new settings
.png