How to set up monitoring for a cloned Linux server with the same host name or UUID
One of the many reasons for a Linux server monitor not showing up on the Site24x7 dashboard even after successful installation of the agent is due to having the same host name for multiple servers. This calls for a way to distinguish the cloned servers since it is mandatory to have a unique host name for every server.
The following list the possible cases:
- More then one server is created using the same image (AMI) in Amazon Web Services (AWS)
- In a virtual machine (VM), a server monitoring agent is installed and the VM is cloned along with the installed service
Let us explain the solution with one of the above scenarios:
In AWS, three servers have the same host name because it was created using the same Amazon Machine Image (AMI). In this case, the first server will be added, but the second and third servers will get mapped to the same monitor, because of the same host name. To resolve this, please follow the below steps for the other two servers:
- Edit the configuration file "/opt/site24x7/monagent/conf/monagent.cfg"
- Change the [PRODUCT_REGISTRATION_KEY]
from site24x7 = SITE24X7
to site24x7 = SITE24X7NEW - Change the [AGENT_INFO]
from agent_key = "AGENT_KEY"
to agent_key = 0 - Restart the agent by using "/opt/site24x7/monagent/bin/monagent restart"
Related Articles
How to configure the NGINX status page for monitoring NGINX performance
The NGINX plugin uses the NGINX status page to pull the performance metrics of the NGINX server. You may encounter the following errors while installing the NGINX plugin integration: Error_code : HTTP Error 404: This error usually indicates that the ...
No data for service and process in Windows server monitor
If you see "No Data" for process and service metrics (such as CPU or memory usage of monitored services) in the Site24x7 Windows server monitor user interface, follow the troubleshooting steps below. Run PowerShell Commands Open PowerShell as ...
Site24x7 Real User Monitoring (RUM) - Data Collection
When you include Site24x7 RUM beacon script in your web pages, the following data is collected. All data that's being collected is in accordance with GDPR compliance. Performance details of web page load time - Metrics like response time of web page ...
Troubleshoot the "pymysql module not found" error when installing the MySQL plugin
If you're encountering the pymysql module not found error, it likely means that the pymysql Python library is not installed on the server. pymysql is a Python package that provides a way to interact with MySQL databases using Python code and is used ...
Validating sender email using DKIM authentication
What is DKIM? DomainKeys Identified Mail (DKIM) is an advanced authentication method used widely by email service providers to verify the email from the point of its origin by validating the email sender. It allows the email senders to authenticate ...