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-2190
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Doug MacEachern
Reporter: Doug MacEachern
Votes: 0
Watchers: 0
Operations

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

Support override of platform.name in agent.properties

Created: 15/Jun/08 09:40 AM   Updated: 30/Jun/08 03:07 PM
Component/s: Plugins
Affects Version/s: None
Fix Version/s: 4.0.0, 3.2.4

Verify By: Nipuna Bhayani
Last comment: 20 weeks, 4 days ago
Resolution Date: 15/Jun/08 09:45 AM


 Description  « Hide
It is possible to override platform.fqdn in agent.properties, but the server and service names are still prefixed using the hostname.
We should support a similar override, platform.name in agent.properties

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Doug MacEachern - 15/Jun/08 09:45 AM
4.0.0
Revision: 9679
Modified:
   trunk/src/org/hyperic/hq/product/GenericPlugin.java
   trunk/src/org/hyperic/hq/product/ProductPluginManager.java

3.2.4
Revision: 9797
Modified:
   branches/HQ_3_2/src/org/hyperic/hq/product/GenericPlugin.java
   branches/HQ_3_2/src/org/hyperic/hq/product/ProductPluginManager.java

Doug MacEachern - 15/Jun/08 09:47 AM
Example using agent.properties or ~/.hq/agent.properties:
platform.fqdn=myhost.mydomain.com
platform.name=myhost

Command-line test:
java -jar pdk/lib/hq-product.jar -m discover > discover.1
java -Dplatform.fqdn=myhost.mydomain.com -Dplatform.name=myhost pdk/lib/hq-product.jar -m discover > discover.2
diff -u discover.1 discover.2

Nipuna Bhayani - 30/Jun/08 03:07 PM
Works fine in release 3.2.4-EE build 678