I'm not entirely sure I'm following. Can you explain the problem you're trying to solve? The agent itself is simply the polling mechanism, no different than SNMP or WMI. In this case the Agent is an alternative to those methods to overcome certain limitations in those polling methods. The agent cannot operate independently of the Orion server or Additional Poller it's associated with; at least not indefinitely. To execute a PowerShell script against a host that has an agent installed, simply enter the PowerShell, vbscript, etc., into the appropriate script monitor in SAM. Then assign that application template to the node that has the agent installed. The script will execute on the host where the agent is installed instead of locally on the Orion server. Clicking the "Test" button in the Application Editor allows you to verify the script is running and view the output from the script without needing to wait for the next scheduled poll. You can also force a poll by clicking the "Poll now" button located on the Application Details view.
↧