History | Log In     View a printable version of the current page.  
HQ 4.0 EE Release is Now Available | HQ 3.2.5-EE Maintenance Release is Now Available
Issue Details (XML | Word | Printable)

Key: HHQ-2032
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Doug MacEachern
Reporter: John Sachs
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hyperic HQ

Expire Java's DNS cache for the HQ Agent

Created: 29/Apr/08 12:43 PM   Updated: 02/Oct/08 05:12 PM
Component/s: Agent
Affects Version/s: 3.2.2, 3.2.3
Fix Version/s: 4.0.0, 3.2.4

Verify By: Kashyap Parikh
Last comment: 22 weeks, 2 days ago
Resolution Date: 17/Jun/08 08:57 PM


 Description  « Hide
When resources that the agent is monitoring (via the host name) change IP addresses, the resource will appear unavailable in HQ even when it is up and working fine. The reason is because Java is caching the DNS entry and by default will NEVER expire it. The following article contains options for telling Java to periodically expire the cache. We should implement one of these options for the agent installation and document this.

http://www.rgagnon.com/javadetails/java-0445.html

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Ryan Morgan - 14/May/08 02:07 PM
Add in 3.2.4 consideration. Assign to Doug as there may be other issues with the plugins caching host names.

Doug MacEachern - 17/Jun/08 08:57 PM
Change to one minute by default:
-Dsun.net.inetaddr.ttl=60