Automic Workload Automation

 View Only
  • 1.  Is it possible to update the values in an agentgroup via script?

    Posted Mar 25, 2016 07:52 AM
    Hi,
    Today I have many Scripts which populated data into VARA's.
    I want to see if it is possible to do the same for the AgentGroup object.
    Rather that having a static list of Agents, which need to be updated manually, I'm trying to see if this can be automated.

    Has anyone tried to do this?

    John.



  • 2.  Is it possible to update the values in an agentgroup via script?

    Posted Mar 25, 2016 07:55 AM
    Write and INClude that reads the data from the VARA and add this to the preprocess of each object that needs them?


  • 3.  Is it possible to update the values in an agentgroup via script?

    Posted Mar 25, 2016 08:03 AM
    Will try that, thanks..


  • 4.  Is it possible to update the values in an agentgroup via script?

    Posted Mar 28, 2016 02:41 PM
    Hi JohnO'Mullane 

    The idea of changing the host during the preprocess seems to work, but then there is no necessity of using a agent groups as you would maintain your own VARA with the agent names.

    There is also a PREP_PROCESS_AGENTGROUP function, but it only retrieves the list of agents.

    I believe a good alternative is to use a * on the agent group agent name and then work on the agent names, leaving the agent group unchanged.
    Have a SERVER* inside the agent group and then have SERVER1, SERVER2, SERVER3 ... and so on.
    This way you can add and remove agents without changing the agent group.