When I change the IP address of a website, the URL monitor still pings the old IP.

When I change the IP address of a website, the URL monitor still pings the old IP.

Reason: 

Upon successful DNS lookup, AppManager, by default, caches the resolved IP forever.

Solution:

We should specify the amount of time a successful lookup should be cached. To do so, please do the following : 

1. Navigate to 'AppManager/working/jre/lib/security' and open the 'java.security' file present there.
2. Search for the key 'networkaddress.cache.ttl'. By default, this key is commented. 
3. Uncomment it and set the value to the number of seconds you wish to cache the successful lookup. A value of -1 indicates 'cache forever'.
4. Restart Applications Manager and check if the issue is resolved. 
          • Related Articles

          • Troubleshooting URL Monitor

            Here are few of the common errors you may come across in URL monitor, we have mentioned the steps you can follow to troubleshoot them.   General troubleshooting for URL monitor Ensure that the URL is accessible from the server in which Applications ...
          • IIS Server monitor - Issues encountered while adding an IIS server monitor

            Unable to add an IIS server monitor Prerequisites: Make sure you have performed all the prerequisites for the IIS server monitor. Follow the steps mentioned below to add an IIS server monitor: IIS Server URL accessibility: Check whether the IIS ...
          • JBoss 7 & above : Unable to add monitor

            Note : The below troubleshooting steps are for JBoss version 6 EAP, 7 and above. Refer here for lower versions. For JBoss version 7 and above, Applications Manager collects data via JBoss Management Interface. The management URL should be accessible ...
          • How can I update the server IP in the database?

            Follow these steps to update the server IP in the database: 1) Execute <AppManager_Home>\bin\troubleshooting\UpdateIP.bat file with the old and new hostname as arguments.  For example,  updateIp.bat  [mysql port]  [previous IpAddress]  [new ...
          • Issues in creating server monitor

            Please do test credentials before adding a particular monitor. Troubleshooting the SSH Configuration :  I cannot add remote server monitor using SSH password authentication Please follow our suggestions below, 1) When adding that server monitor, ...