Improve the help text reporting in the Windows PMDA, in two ways.
Firstly, for the one-line help text, if the metric (as most do)
uses a PDH API regular expression for fetching values, report it
as the one-line help text. This is very useful for matching up
PCP metrics with their associated Windows PDH metrics (and is a
whole lot better than reporting nothing at all).
Secondly, for the long help text, add some (simple) code to wrap
long lines (as most are) that we get back from the PDH help text
interfaces. Simple, yet effective. Also strip out any Windows-
style line endings and non-printable characters.
Improve the help text reporting in the Windows PMDA, in two ways.
Firstly, for the one-line help text, if the metric (as most do)
uses a PDH API regular expression for fetching values, report it
as the one-line help text. This is very useful for matching up
PCP metrics with their associated Windows PDH metrics (and is a
whole lot better than reporting nothing at all).
Secondly, for the long help text, add some (simple) code to wrap
long lines (as most are) that we get back from the PDH help text
interfaces. Simple, yet effective. Also strip out any Windows-
style line endings and non-printable characters.