Skip to content

Some counter trigger error in event logs #31

@pkolmann

Description

@pkolmann

Since upgrading from 0.5.8 to 0.5.14 I see a lot of errors in event log and it seems some counters trigger this.

If I only specify one counter, the problem doesn't surface, but with the attached WindowsPerformanceCounter.config I see a lot of these errors in the Event Log:

ReadThreadProc() got exception : System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list. at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args) at System.String.Format(IFormatProvider provider, String format, Object[] args) at BloombergFLP.CollectdWin.PerformanceCounterMetricGenerator.NextValues() at BloombergFLP.CollectdWin.WindowsPerformanceCounterPlugin.Read() at BloombergFLP.CollectdWin.MetricsCollector.ReadThreadProc(), at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args) at System.String.Format(IFormatProvider provider, String format, Object[] args) at BloombergFLP.CollectdWin.PerformanceCounterMetricGenerator.NextValues() at BloombergFLP.CollectdWin.WindowsPerformanceCounterPlugin.Read() at BloombergFLP.CollectdWin.MetricsCollector.ReadThreadProc()

The first few minutes I still get values but after some time, I don't get any output anymore.

System is a W2012R2 Server English Standard with GUI

wpc.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions