How to set up monitoring for a cloned FreeBSD server with the same host name?
One of the many reasons for a FreeBSD 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.
Let us explain the solution with a use case:
Consider a set up to have 3 FreeBSD servers and 4 Ubuntu servers. In this set up, two of the FreeBSD servers have similar host names to that of a Ubuntu server added earlier. Thus, 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. In such a scenario, please follow the below steps for the other two servers to resolve this issue:
- Go to /opt/site24x7/monagent/conf folder and edit the monagent.cof file
- 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 "sudo /etc/rc.d/site24x7monagent restart"
Related Articles
Troubleshooting false positive alerts in monitoring
Problem False positive alerts are being generated. Possible cause The monitoring system is down in some locations. The Website monitor might be configured for one location, such as Seattle, but may appear down when accessed from another location, ...
How to uninstall the Site24x7 Windows Server Monitoring Agent
Method 1: To uninstall the Site24x7 Windows Server Monitoring Agent, click the link below: https://staticdownloads.site24x7.com/server/Site24x7WindowsAgentUninstall.zip Unzip and execute the Uninstall.bat file in the Command Prompt as an ...
How to set up alerts for network device data collection issues
When your network monitoring interfaces are not collecting data due to issues in the Network Module, you'll want to be alerted. To set up alerts, you need to add or edit the threshold and availability profile of the On-Premise Poller, which is used ...
Unable to add SQL insight monitor
If the SQL Insight monitor is not getting added even after entering your credentials, try these troubleshooting steps: Ensure that the Auto-discover applications feature is enabled. If not, you will need to trigger discovery using the Discover ...
How do I monitor an Oracle database hosted in a Docker container in the same machine?
To monitor your Oracle Database hosted in a Docker container, follow these steps: Log in to Site24x7 and install the Site24x7 Linux monitoring agent. Execute the following command in your terminal and enter your Oracle Database instance's username ...