Start/stop the server monitoring agent

Start/stop the server monitoring agent

Follow the steps below to start, stop, or restart a server monitoring agent for Windows, Linux, FreeBSD, and OS X.

 

Windows agent:

Follow either of the two methods given below to start, stop, or restart the server monitoring agent in your Windows platform.


Method 1: Right click on Site24x7 Windows Agent Tray icon (in the system tray) and click Start Agent, Stop Agent, or Restart Agent (as required).


Method 2: Go to services.msc > Site24x7 Windows Agent > Start, Stop, Pause, or Restart



For Linux/FreeBSD/OS X agents:

 

Execute the below commands in the terminal based on your server monitoring agent:

 

For root installation:

 

/opt/site24x7/monagent/bin/monagent <insert command here>

 

Enter any of the following commands as per your requirement:

  • start

  • stop

  • restart

  • status

 

For non-root installation:

<home_dir_of_user_who_installed_the_agent>/site24x7/monagent/bin/monagent <insert command here>

 

Enter any of the following commands as per your requirement:

  • start

  • stop

  • restart

  • status

For Docker agent:
The following actions will start, stop, or restart the server monitoring agent:

To start the container:
    docker start site24x7-agent

To stop the container:
    docker stop site24x7-agent

To restart the container:
     docker restart site24x7-agent