Re-add deleted Linux monitor

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

Using Agent manager

To re-add a Linux server monitor that has been deleted in Site24x7 web interface, run the command applicable to your server monitoring agent installation method:

Agent installed as root
  1. /opt/site24x7/monagent/scripts/AgentManager.sh -createmonitor

Agent installed as non-root
  1. <installed_directory>/site24x7/monagent/scripts/AgentManager.sh -createmonitor

To manually reinstate a deleted Linux server monitor:

If you have deleted a Linux server monitor and wish to re-add it to Site24x7 for monitoring, please follow the steps below:
  1. Remove the "uninstall.txt" file (if it is present).
    sudo rm /opt/site24x7/monagent/temp/uninstall.txt
  2. Open the server monitoring agent configuration file by executing this command:
    vi /opt/site24x7/monagent/conf/monagent.cfg
  3. Change the agent_key in AGENT_INFO section value to 0.
  4. Save the file and re-start the agent using the below command :
    /opt/site24x7/monagent/bin/monagent restart
  5. The deleted Linux server monitor will be re-added. View 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