Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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.”
  2. 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.
  3. 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.’
  4. On the Custom Scripts screen, you should see an example similar to:
    • Custom Command: dir
    • Path to Script: cmd.exe /c "dir c:"
  5. 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).
  6. 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.

...