Support Migration Notice: To update migrated JIRA cases click here to open a new case use www.vmware.com/go/sr | vFabric Hyperic 5.7.0 is Now Available

Hyperic HQ

Trim white spaces from end of agent.properties lines

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 4.6.5
  • Component/s: Agent / PDK
  • Case Links:
    none
  • Regression:
    No
  • Tags:

Description

There are times when the root of the problem is that a customer adds some form of whitespace to the end of a property. This is difficult to diagnose. I believe trimming of the property values would be a good idea, but we should allow the customer to override this by adding a property that would turn off the trimming of the values, in case the want the whitespace.

Activity

Hide
Ryan Morgan added a comment -


Assign to Wes to look at for post 4.6. As part of this we should look at how many ways there are to get the agent.properties, if there are more than we we should changes all areas to use a single API (which does the trimming of whitespace)

Show
Ryan Morgan added a comment - Assign to Wes to look at for post 4.6. As part of this we should look at how many ways there are to get the agent.properties, if there are more than we we should changes all areas to use a single API (which does the trimming of whitespace)
Hide
Wes Schlichter added a comment -

When agent.properties (from all locations) are read the properties are parsed and whitespaces are trimmed from the value.

Tested a few various scenarios and couldn't find anything that broke.

Show
Wes Schlichter added a comment - When agent.properties (from all locations) are read the properties are parsed and whitespaces are trimmed from the value. Tested a few various scenarios and couldn't find anything that broke.
Hide
yael twina (c) added a comment -

tested in agent version 4.6.5 2012-01-11 which installed on server verssion 4.6.5.BUILD-SNAPSHOT-2012-01-11.
the installation succeed, and the server identify the installed agent.

Show
yael twina (c) added a comment - tested in agent version 4.6.5 2012-01-11 which installed on server verssion 4.6.5.BUILD-SNAPSHOT-2012-01-11. the installation succeed, and the server identify the installed agent.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:
    Last comment:
    2 years, 14 weeks, 4 days ago