No counters in Threshold XML file found in the perfmon log

Sep 2, 2008 at 3:22 PM
Edited Sep 2, 2008 at 3:25 PM

Hi all,

See my environment ...I get the blg file from a remote computer Windows Server 2003, and i'm trying to run PAL on this files on my Windows XP Pro,
my XP is in Inglish and the Windows Server 2003 too.

I don't know whats happen, but on the middle of execution the error below occour...this error occour in the other versions of PAL too...

C:\Documents and Settings\Admin\Desktop\PerfLogs_>CScript "C:\Program Fi
les\PAL\PAL v1.3 Beta 9\PAL.vbs" /LOG:"C:\Documents and Settings\admin\Desktop
\PerfLogs_\Temp_SMTP.blg" /THRESHOLDFILE:"C:\Program Files\PAL\PAL v1.3 Be
ta 9\SystemOverview.xml" /INTERVAL:"AUTO" /ISOUTPUTHTML:True /ISOUTPUTXML:False
/HTMLOUTPUTFILENAME:"[LogFileName]_PAL_ANALYSIS_[DateTimeStamp]_[GUID].htm" /Num
berOfProcessors:4 /ThreeGBSwitch:True /SixtyFourBit:False /TotalMemory:2 /Kernel
DumpOnCDrive:True
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

PAL.vbs v1.3 Beta 9

Creating the resource directory: "C:\Documents and Settings\admin\My Documents
\PAL Reports\Temp_SMTP_PAL_ANALYSIS_2008-09-02_11-16-24AM_F7D21597-5959-4CF6-918
8-806783F84346"...
Created user defined resource directory: "C:\Documents and Settings\admin\My D
ocuments\PAL Reports\Temp_SMTP_PAL_ANALYSIS_2008-09-02_11-16-24AM_F7D21597-5959-
4CF6-9188-806783F84346"
Determining if counters are in the Perfmon log...
 Using Relog to create a counter list...
Executing: ReLog.exe "C:\Documents and Settings\admin\Desktop\PerfLogs_\
Temp_SMTP.blg" -f CSV -y -o C:\DOCUME~1\admin\LOCALS~1\Temp\{F7D21597-5959-4CF
6-9188-806783F84346}\_FilteredLogForCounterlist.csv

Input
----------------
File(s):
     C:\Documents and Settings\admin\Desktop\PerfLogs_\Temp_SMTP.blg (Bi
nary)

Begin:    7/14/2008 8:00:56
End:      7/14/2008 18:00:26
Samples:  1200

Output
----------------
File:     C:\DOCUME~1\admin\LOCALS~1\Temp\{F7D21597-5959-4CF6-9188-806783F8434
6}\_FilteredLogForCounterlist.csv

Begin:    7/14/2008 8:00:56
End:      7/14/2008 18:00:26
Samples:  1200

The command completed successfully.

Waiting for C:\DOCUME~1\admin\LOCALS~1\Temp\{F7D21597-5959-4CF6-9188-806783F84
346}\_FilteredLogForCounterlist.csv to be created...
Found C:\DOCUME~1\adminwb8z_\LOCALS~1\Temp\{F7D21597-5959-4CF6-9188-806783F84346}\_
FilteredLogForCounterlist.csv
 Done using Relog to create a counter list.
 Reading counter list file...
 Done reading counter list file.
 Determining if all counters needed in each analysis is in the perfmon log...
  Checking "Processor Utilization Analysis"...
   [DetermineIfCountersAreInThePerfmonLog] The following Analysis is unable to p
rocess due missing counters:
    Analysis Name: Processor Utilization Analysis
     The following counter was not found in the perfmon log:
      \Processor(*)\% Processor Time
  All counters for "Processor Utilization Analysis" found.
  Checking "Network Utilization Analysis"...
   [DetermineIfCountersAreInThePerfmonLog] The following Analysis is unable to p
rocess due missing counters:
    Analysis Name: Network Utilization Analysis
     The following counter was not found in the perfmon log:
      \Network Interface(*)\Bytes Total/sec
   [DetermineIfCountersAreInThePerfmonLog] The following Analysis is unable to p
rocess due missing counters:
    Analysis Name: Network Utilization Analysis
     The following counter was not found in the perfmon log:
      \Network Interface(*)\Current Bandwidth
    Analysis Name: LogicalDisk Disk Transfers/sec
     The following counter was not found in the perfmon log:
      \LogicalDisk(*)\Avg. Disk sec/Read
   [DetermineIfCountersAreInThePerfmonLog] The following Analysis is unable to p
rocess due missing counters:
    Analysis Name: LogicalDisk Disk Transfers/sec
     The following counter was not found in the perfmon log:
      \LogicalDisk(*)\Avg. Disk sec/Write
  All counters for "LogicalDisk Disk Transfers/sec" found.
  Checking "Memory Pages Input/sec"...
   [DetermineIfCountersAreInThePerfmonLog] The following Analysis is unable to p
rocess due missing counters:
    Analysis Name: Memory Pages Input/sec
     The following counter was not found in the perfmon log:
      \Memory\Pages Input/sec
  All counters for "Memory Pages Input/sec" found.
  Checking "Paging File % Usage"...
   [DetermineIfCountersAreInThePerfmonLog] The following Analysis is unable to p
rocess due missing counters:
    Analysis Name: Paging File % Usage
     The following counter was not found in the perfmon log:
      \Paging File(*)\% Usage
  All counters for "Paging File % Usage" found.
  Checking "Paging File % Usage Peak"...
   [DetermineIfCountersAreInThePerfmonLog] The following Analysis is unable to p
rocess due missing counters:
    Analysis Name: Paging File % Usage Peak
     The following counter was not found in the perfmon log:
      \Paging File(*)\% Usage Peak
  All counters for "Paging File % Usage Peak" found.
 Done determining if all counters needed in each analysis is in the perfmon log.
..
Done determining if counters are in the Perfmon log.
Organizing data structures...
[GetCountersNeededForAnalysis] No counters in Threshold XML file found in the pe
rfmon log.

Can samebody help me !?
Marcio

Coordinator
Sep 3, 2008 at 12:03 AM
PAL uses English string comparisons to match counters with analyses. If your computer is running in a non-English locale, then likely it is able to properly match the counters. Try running PAL in an English locale.

Some of other users have created non-English threshold files that work. If anyone has some, then please post them here.

A colleague of mine, Walter Eder, has been making attempts at automating the localization of PAL threshold files. Since I can't attach the script he wrote on the Discussions section, I'll try to post it to the Issues section of this web site.

Thank you,
Sep 3, 2008 at 12:44 AM
Thanks for reply Clint !

I'll try change de locale of my local desktop and try again.

Wait for my response !

Marcio
Feb 3, 2009 at 2:28 AM
Clint,

Are you sure that's the only time that error message occurs? What I've experience leads me to believe that if you have a log file that doesn't have all the counters specified in the threshold file, you can also run into the same problem. After encountering that problem, I removed the threshold analysis of the missing counter and PAL was able to generate a report for the same log file.

My log file is in English (US) locale and I used typeperf to generate the CSV log rather than perfmon. I split up the logging of counters into separate logs as I monitor across several machines. So one log is for CPU usage across all the machines, another log for memory use, etc. But in my threshold file, I have all those counters configured rather than have separate threshold files for each counter like I do with my logs.

If this another problem case, it would be ideal for PAL to just ignore the missing counters and not process them rather than abort or at least give the user an option to continue (skipping analysis of the missing counter) or to abort. NOTE: I do have two counters (private bytes and handle count) used in the memory analysis portion of the threshold file as mentioned below, and handle count is not in the log file I supplied.

Here's an excerpt of my error message:

 Analysis Name: ViewPoint % Processor Time
     The following counter was not found in the perfmon log:
      \Process(Vertical.Wave.ViewPoint)\% Processor Time
  All counters for "ViewPoint % Processor Time" found.
  Checking "ViewPoint Memory Consumption"...
   Matched: "\\TVQA270\Process(Vertical.Wave.ViewPoint)\Private Bytes"
   Matched: "\\TVQA267\Process(Vertical.Wave.ViewPoint)\Private Bytes"
   Matched: "\\TVQA266\Process(Vertical.Wave.ViewPoint)\Private Bytes"
   Matched: "\\TVQA265\Process(Vertical.Wave.ViewPoint)\Private Bytes"
   Matched: "\\TVQA264\Process(Vertical.Wave.ViewPoint)\Private Bytes"
   Matched: "\\TVQA262\Process(Vertical.Wave.ViewPoint)\Private Bytes"
   Matched: "\\TVQA261\Process(Vertical.Wave.ViewPoint)\Private Bytes"
   Matched: "\\TVQA260\Process(Vertical.Wave.ViewPoint)\Private Bytes"
   Matched: "\\TVQA259\Process(Vertical.Wave.ViewPoint)\Private Bytes"
   Matched: "\\TVQA255\Process(Vertical.Wave.ViewPoint)\Private Bytes"
   Matched: "\\TVQA254\Process(Vertical.Wave.ViewPoint)\Private Bytes"
   Matched: "\\TVQA253\Process(Vertical.Wave.ViewPoint)\Private Bytes"
   [DetermineIfCountersAreInThePerfmonLog] The following Analysis is unable to p
rocess due to missing counters:
    Analysis Name: ViewPoint Memory Consumption
     The following counter was not found in the perfmon log:
      \Process(Vertical.Wave.ViewPoint)\Handle Count
  All counters for "ViewPoint Memory Consumption" found.
 Done determining if all counters needed in each analysis is in the perfmon log.
..
Done determining if counters are in the Perfmon log.
Organizing data structures. Please wait...
   Looking for duplicate counters in counter list...
[GetCountersNeededForAnalysis] No counters in Threshold XML file found in the pe
rfmon log.
Coordinator
Feb 4, 2009 at 3:08 AM
If any of the datasource counters are missing in an analysis, then the analysis is skipped. If you want an analysis to analyze with less counters, then create another analysis with less counters. Also, if you are only interested in creating graphical chart of the counters in the log, then consider using Bling.ps1 which is a PowerShell script I wrote as a proof of concept towards PAL v2.0. Bling.ps1 will enumerate all of the counters in a perfmon log and create graphical charts - no analysis. To get Bling.ps1, click on the PAL releases tab.
Feb 4, 2009 at 6:45 AM
thanks for the info on bling.ps1