Automic Workload Automation

  • 1.  Send Agent Status Mail

    Posted May 16, 2018 06:58 AM

    Hello All,

     

    Can we put a check on Agent's status such that whenever the agent becomes inactive, it should send a mail to particular person who would take of agents. Is that doable please let me know.

     


    Thanks,

    Srujan.



  • 2.  Re: Send Agent Status Mail
    Best Answer

    Posted May 16, 2018 08:08 AM

    Hello Srujan,

     

      in Client 0 there is the variable UC_HOSTCHAR_DEFAULT, there you can setup an action for these 4 agent states:

     

    EXECUTE_ON_ASSIGNMENT
    EXECUTE_ON_END
    EXECUTE_ON_LOST
    EXECUTE_ON_START

     

    Documentation for these entries, see below:

    Automic 

     

    Regards

    Jan



  • 3.  Re: Send Agent Status Mail

    Posted May 16, 2018 08:59 AM

    Thanks vicja02



  • 4.  Re: Send Agent Status Mail

    Posted May 16, 2018 11:47 AM


  • 5.  Re: Send Agent Status Mail

    Posted May 17, 2018 03:28 PM

    Thank you all,

     

    But I am unable to get the inactive agent details in the notification mail. I have used uc_ex_host in the process tab of mail object but it didn't help and in fact it stopped sending mail. Did I miss anything here.\

     

    Thanks,

    Srujan.



  • 6.  Re: Send Agent Status Mail

    Posted May 18, 2018 03:18 AM

    Hi,

     

    copy this 

    :READ &uc_ex_host,,

     

    into the process tab of the notification object, then put the variable &uc_ex_host in the subject tab and give it another try. 

    It should work now.

     

    Regards

    Jan



  • 7.  Re: Send Agent Status Mail

    Posted May 18, 2018 03:43 AM

    vicja02. Thanks, it perfectly worked.

     

    -Srujan



  • 8.  Re: Send Agent Status Mail

    Posted May 22, 2018 11:41 AM

    what commands we can use to START the agent after fail in the same process.



  • 9.  Re: Send Agent Status Mail

    Posted May 29, 2018 04:36 AM

    within the Automation Engine (service manager):

    :SET &ACT# = MODIFY_SYSTEM("STARTUP", "Agent Name") 

    Automic 

     

    command line (service manager):

    ucybsmcl  -c START_PROCESS -h computer name:port number -n phrase -s name of the service

    Automic