Managing Monitoring Agent
The Monitoring Agent application must be running on the same host as each DHCP server or RADIUS server that can allocate IP addresses to subscribers.
To manage Monitoring Agent, you can perform these tasks:
- Starting Monitoring Agent
- Stopping Monitoring Agent
- Displaying Monitoring Agent Status
- Cleaning Monitoring Agent Logs
Starting Monitoring Agent
Before you start Monitoring Agent, you must do the following:
- Install Monitoring Agent as described in Installing Monitoring Agent.
- Configure Monitoring Agent as described in Configuring Monitoring Agent.
- On the Monitoring Agent host, log in as
root.- Start Monitoring Agent from its installation directory.
/opt/UMC/monAgent/etc/monAgent startThe system responds with a start message. If Monitoring Agent is already running, the system responds with a warning message.
Stopping Monitoring Agent
Before you reconfigure Monitoring Agent, you must manually stop it.
- On the Monitoring Agent host, log in as
root.- Stop Monitoring Agent from its installation directory.
/opt/UMC/monAgent/etc/monAgent stopThe system responds with a stop message. If Monitoring Agent is not running when you issue the command, the system responds with a warning message.
Displaying Monitoring Agent Status
To display the Monitoring Agent status:
- On the Monitoring Agent host, log in as
root.- Display the status from the Monitoring Agent installation directory.
/opt/UMC/monAgent/etc/monAgent statusThe system responds with a status message.
Cleaning Monitoring Agent Logs
To delete the log files for Monitoring Agent:
- On the Monitoring Agent host, log in as
root.- Delete the log files from the Monitoring Agent installation directory.
/opt/UMC/monAgent/etc/monAgent cleanBy using the stdout and stderr options, you can clean the log files for the Monitoring Agent application and delete the persistent data that the agent writes to files or devices. See SDX Monitoring and Troubleshooting Guide, Chapter 2, Configuring Logging for SDX Components for more information.