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





    • Related Articles

    • How to add a PHP instance that was deleted earlier

      For agent versions 4.0 and above For every instance, there will be a corresponding configuration file present inside the conf folder of the S247DataExporter installation path. Delete the appropriate configuration file and restart the S247DataExporter ...
    • Steps to install Linux monitoring agent in custom platforms/distributions

      If you want to install the Site24x7 Server Monitoring agent in platforms/flavors other than the traditional Linux flavors, please follow the steps given below. Prerequisites: bash wget/curl to download installer files. python3-distutils package ...
    • How to add my Windows monitor again if deleted from the Site24x7 client?

      Use Case: A user deletes a Windows server monitor from the Site24x7 web client and wants to add it back. This will be difficult because the server monitoring agent uses an unique agent key (MonitoringAgentKey) to interact with Site24x7. Once the ...
    • How to re-add deleted monitors in Google Cloud monitoring

      You cannot re-add resources that have been deleted or terminated from the Google Cloud console. Log in to Site24x7 and go to Cloud > GCP > click the Google Cloud project or Google Cloud monitor > Management Actions. Scroll down to the Add Deleted ...
    • How to re-add deleted Azure resource monitors

      Note: You cannot re-add resources that have been deleted from the Azure portal itself. Log in to Site24x7 and go to Cloud > Azure > click on the Azure monitor > Management Actions > Deleted Resources tab. You will find the list of deleted resources. ...