Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Related DocumentationVersion of up.time affectedAffected Platforms
 AllLinux

 

The up.time Agent for Linux contains the script agent-configure.sh. With this script, you can easily change the port or user permissions associated with the up.time Linux Agent.

 

If the user does not already exist on the server, use the useradd command to create the new user: 

Code Block
languagetext
# useradd -m <desired agent user>

Then run the agent_configure.sh script with the -u or -p options to modify the user and port associated with the up.time Agent. 

Code Block
languagetext
# /opt/uptime-agent/bin/agent-configure.sh -u <desired agent user>

...


# /opt/uptime-agent/bin/agent-configure.sh -p <desired agent port>

 

Example:

Code Block
languagetext
# useradd -m uptimeagent

...

# /opt/uptime-agent/bin/agent-configure.sh -u uptimeagent

...

# /opt/uptime-agent/bin/agent-configure.sh -p 9990