Monitor cloned FreeBSD with same host name

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:
  1. Go to /opt/site24x7/monagent/conf folder and edit the monagent.cof file 
  2. Change the [PRODUCT_REGISTRATION_KEY]
    from site24x7 = SITE24X7
    to site24x7 = SITE24X7NEW 
  3. Change the [AGENT_INFO]
    from agent_key = "AGENT_KEY"
    to agent_key = 0 
  4. Restart the agent by using "sudo /etc/rc.d/site24x7monagent restart"