Re-add deleted Linux monitor

How do I add my Linux monitor again if deleted from the Site24x7 client?

If you have deleted a Linux server monitor and wish to re-add it to Site24x7 for monitoring, please follow the steps below:
  1. Log in to the server and execute the below commands:
    sudo rm /opt/site24x7/monagent/temp/uninstall.txt
    sudo /etc/init.d/site24x7monagent stop
    cd /opt/site24x7/monagent/conf
    sudo vi monagent.cfg
  2. Change the agent_key value to 0
  3. Save the file and start the agent using the below command :
    sudo /etc/init.d/site24x7monagent start
  4. The Linux agent will be added back as a monitor. This can be viewed in the Site24x7 web client (Server > Server Monitor > Servers).
If you have any applications running (like Docker, SMART Disk), click on Rediscover Applications (Server > Server Monitor > Servers > readded monitor > hamburger icon beside display name > Rediscover Applications) to get the applications auto-discovered and added again for monitoring.

Related Articles