Forum Discussion

Aaron_Bianucci's avatar
13 years ago

Create datasource from powershell script

Hello,

We have some internal scripts we use to monitor data that is specific to our organization.

We have the scripts in place already, I just can\'t for the life of me remember where to upload the scripts to and how to assign them to a datasource.

Thanks.

  • In order to do this, youll follow the directions on our script collector help page. Bear in mind that the script will run on the agent host. Its possible to associate the datasource with another host and pass that hostname as an argument to the script in order to reference, and associate results, with hosts other than the agent, but script must be written to run on the agent host.n

    nGiven that you have working scripts, you may prefer to install an agent on the machine that currently runs the scripts.