...
- Launch the Agent Console on the system where the script will run. By default this is located in the Start Menu under “All Programs -> up.time Uptime agent -> up.time Uptime Agent Console.”
- The first step after launching the Agent console is to set a password in the ‘Agent Options’ section and click save. This password will be used to authenticate with the agent before running the script.
- After setting the password, tell the agent where the custom script is located on the server by clicking on the ‘Advanced’ option in the dropdown list and selecting ‘Custom Scripts.’
- On the Custom Scripts screen, you should see an example similar to:
- Custom Command: dir
- Path to Script: cmd.exe /c "dir c:"
- To continue this show-temp example, set the parameters to something similar to:
- Custom Command: temp
- Path to Script: cmd.exe /c “C:scriptsshow_temp.pl” (note: make sure to click Add/Edit before closing the window, otherwise your command will not be saved).
- If you haven’t done so yet, click Save, and Yes when asked to restart the agent. This will ensure that your new settings take effect.
...