...
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 up.time 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 |
---|
...