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 UIM Linux agent.
- If the user does not already exist on the server, use the
useradd
command to create the new user:# 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 UIM agent.
# /opt/uptime-agent/bin/agent-configure.sh -u <desired agent user> # /opt/uptime-agent/bin/agent-configure.sh -p <desired agent port>
Example:# useradd -m uptimeagent # /opt/uptime-agent/bin/agent-configure.sh -u uptimeagent # /opt/uptime-agent/bin/agent-configure.sh -p 9990