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.

Tasks to manage Monitoring Agent are:

Starting Monitoring Agent

Before you start Monitoring Agent, you must do the following:

  1. Install Monitoring Agent as described in Installing Monitoring Agent.
  2. Configure Monitoring Agent as described in Configuring Monitoring Agent.

To start Monitoring Agent:

  1. On the Monitoring Agent host, log in as root.
  2. Start Monitoring Agent from its installation directory.
    /opt/UMC/monAgent/etc/monAgent start

    The 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.

To stop Monitoring Agent:

  1. On the Monitoring Agent host, log in as root.
  2. Stop Monitoring Agent from its installation directory.
    /opt/UMC/monAgent/etc/monAgent stop

    The 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:

  1. On the Monitoring Agent host, log in as root.
  2. Display the status from the Monitoring Agent installation directory.
    /opt/UMC/monAgent/etc/monAgent status

    The system responds with a status message.

Cleaning Monitoring Agent Logs

To delete the log files for Monitoring Agent:

  1. On the Monitoring Agent host, log in as root.
  2. Delete the log files from the Monitoring Agent installation directory.
    /opt/UMC/monAgent/etc/monAgent clean

By 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.