Versions Compared

Key

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

The Uptime Infrastructure Monitor Agent for Linux contains the script agent-configure.sh. With this script, you can easily change the port or user permissions associated with the Uptime Infrastructure Monitor UIM Linux Agentagent.

  1. If the user does not already exist on the server, use the useradd command to create the new user:
    Code Block
    languagesql
    # useradd -m <desired agent user>
  2. Then run the agent_configure.sh script with the -u or -p options to modify the user and port associated with the Uptime Infrastructure Monitor Agent.UIM agent.
    Code Block
    languagesql
    # /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
    languagesql
    # useradd -m uptimeagent
    
    # /opt/uptime-agent/bin/agent-configure.sh -u uptimeagent 
    # /opt/uptime-agent/bin/agent-configure.sh -p 9990