This topic describes how to start and stop the CloudMonitor agent, and view the status of the CloudMonitor agent.

Important You can manage the CloudMonitor agent only by using an administrator account. For Linux operating systems, use the root user account. For Windows operating systems, use the Administrator account. If you use an administrator account, certain risks may occur. For example, system stability or data security issues may occur. Proceed with caution.

Start the CloudMonitor agent

  • Windows
    1. Log on to the host where the CloudMonitor agent resides as an administrator.
    2. Open the command prompt window.

      Press Win+R. In the Run dialog box, enter cmd and click OK.

    3. Run the following command to start the Cloud Monitor agent:

      net start argusagent

  • Linux
    1. Log on to the host where the CloudMonitor agent resides as a root user.
    2. Run the following command to start the CloudMonitor agent:

      bash /usr/local/cloudmonitor/cloudmonitorCtl.sh start

Stop the CloudMonitor agent

  • Windows
    1. Log on to the host where the CloudMonitor agent resides as an administrator.
    2. Open the command prompt window.

      Press Win+R. In the Run dialog box, enter cmd and click OK.

    3. Run the following command to stop the Cloud Monitor agent:

      net stop argusagent

  • Linux
    1. Log on to the host where the CloudMonitor agent resides as a root user.
    2. Run the following command to stop the Cloud Monitor agent:

      bash /usr/local/cloudmonitor/cloudmonitorCtl.sh stop

View the status of the CloudMonitor agent

  • Windows
    1. Log on to the host where the CloudMonitor agent resides as an administrator.
    2. Open the Services window.

      Press Win+R. In the Run dialog box, enter services.msc and click OK.

    3. View the status of the argusagent service.

      If the status of the argusagent service is Running, the CloudMonitor agent is running properly.

  • Linux
    1. Log on to the host where the CloudMonitor agent resides as a root user.
    2. Run the following command to view the status of the CloudMonitor agent:

      ps aux | grep argusagent | grep -v grep

      The following output indicates that the CloudMonitor agent is running properly:
      root      2284  0.0  0.0  22516  1488 ?        Ss   Sep14   0:00 /usr/local/cloudmonitor/bin/argusagent -d
      root      2286  0.2  0.3 939652 14300 ?        Sl   Sep14   3:15 /usr/local/cloudmonitor/bin/argusagent

References