Discussion:
All Values of all Samples in detail report
(too old to reply)
Geri
2009-05-14 12:47:02 UTC
Permalink
Hi To all,

i?ve created some performance collection rules. They?re working great
and i do 4 samples/hour. When i run a detail report i can see, the value
of the 4 samples sumarized. What i need is to see all values for each
single sample.
Is there a way to geht these values!?

Thanks & best regards
Geri
Blake Mengotto [MVP]
2009-05-14 19:14:40 UTC
Permalink
You can't drill down and see more detail? There should be a collapsed table
that you can expand that will show you all the samples in numeric form.
This is found under the chart.
--
Regards,
Blake
Email: mengotto<at>hotmail.com
Blog: http//discussitnow.spaces.live.com
OpsMgr MVP
Post by Geri
Hi To all,
i?ve created some performance collection rules. They?re working great and
i do 4 samples/hour. When i run a detail report i can see, the value of
the 4 samples sumarized. What i need is to see all values for each single
sample.
Is there a way to geht these values!?
Thanks & best regards
Geri
Geri
2009-05-15 13:26:59 UTC
Permalink
Post by Blake Mengotto [MVP]
You can't drill down and see more detail? There should be a collapsed
table that you can expand that will show you all the samples in numeric
form. This is found under the chart.
HI Blake,

sure, i can drill down the reports, but these are only showing average
data (min/max/average) and not data for each single sample!
what i need is:

09.00 - 10.00 (4 samples)

Sample 1: 45,5
Sample 2: 60,6
Sample 3: 70,5
Sample 4: 25,2

what i get is:

09.00 - 10.00 (4 samples)

Min - Max - Average - Standard deviation !!

Thanks & best regards
Geri
Blake Mengotto [MVP]
2009-05-15 16:04:36 UTC
Permalink
Gotcha.

Ok, so here is what we need to figure out to move forward:

1) Are these performance collection rules you created, or are they perf
rules from a sealed mp?
- If your, then what kind of perf collection did you set up, if perf
from sealed mp, you know that the scom agent will sample a counter and only
logs a delta. Do you want that or do you want values logged every time it
samples, if so you need to create a rule to do that.

2) Have you logged into the DW SQL server to see if you can query the
performance data for x server to see if it returns the actual samples?

3) Once you create the SQL query that returns this data, you will probably
have to create a very generic report and publish it.

We have done this in our environment so that we can get reports that return
data without charts. However, when creating the SQL statements you have to
first find the object, then the server, or servers, then the instance, then
format that data. Our AD team has one MOM administrator who had to create
all of these custom reports for AD. His management wanted the RAW samples,
like you want. So he created these reports. I asked him for a snipit of
his SQL code and he gave it to me:

select
dateadd(hour,convert(int,@tzOffSet),a.[datetime]) as
sampledate
,c.path as [name]
,d.objectname
,d.countername
,b.instancename
,AVG(a.samplevalue) as AvgValue
from Perf.vPerfRaw a inner join dbo.vPerformanceRuleInstance b on
a.PerformanceRuleInstanceRowId =
b.PerformanceRuleInstanceRowId
INNER JOIN dbo.vManagedEntity c ON
a.managedentityrowid = c.managedentityrowid
INNER JOIN dbo.vPerformanceRule d ON
b.RuleRowID = d.RuleRowID
INNER JOIN dbo.vRelationship e ON
c.managedentityrowid = e.TargetManagedEntityRowID
WHERE d.objectname = @PerfObj
AND d.countername = @PerfCounter
AND (b.instancename = @instance OR @instance = '<ALL>')
AND c.path = @server
AND (dateadd(hour,convert(int,@tzOffSet),a.[datetime]) >=
@startdate
AND
dateadd(hour,convert(int,@tzOffSet),a.[datetime]) <= @enddate)
GROUP BY c.path ,d.objectname ,d.countername ,b.instancename ,a.[datetime]
ORDER BY a.[datetime]

All of the variables in this code are taken from previous chained select
statements. He created a few different reports: Hourly, Daily, and
detailed. Hourly he said isn't too bad, but detailed will hammer your DW
SQL server. I suspect MSFT hasn't created any reports similar to these
because of the performance impact on the SQL DW server. This was a pain for
him to discover and set up, so if you have someone who is familiar with SQL
then this snipit of code might be helpful in developing your own raw perf
reports.
--
Regards,
Blake
Email: mengotto<at>hotmail.com
Blog: http//discussitnow.spaces.live.com
OpsMgr MVP
Post by Geri
Post by Blake Mengotto [MVP]
You can't drill down and see more detail? There should be a collapsed
table that you can expand that will show you all the samples in numeric
form. This is found under the chart.
HI Blake,
sure, i can drill down the reports, but these are only showing average
data (min/max/average) and not data for each single sample!
09.00 - 10.00 (4 samples)
Sample 1: 45,5
Sample 2: 60,6
Sample 3: 70,5
Sample 4: 25,2
09.00 - 10.00 (4 samples)
Min - Max - Average - Standard deviation !!
Thanks & best regards
Geri
Vitaly Filimonov [MSFT]
2009-05-17 18:11:02 UTC
Permalink
Geri,

We do not provide out-of-the-box reports that access performance "raw"
data (actual samples). The report we provide always access/display
aggregated data. That is done for perf reasons (it is hard to query data
that is being actively written). However, you can create custom reports that
access raw samples. You'll need to query Perf.vPerfRaw view for that.

Thanks,
Vitaly
--
-------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Post by Geri
Post by Blake Mengotto [MVP]
You can't drill down and see more detail? There should be a collapsed
table that you can expand that will show you all the samples in numeric
form. This is found under the chart.
HI Blake,
sure, i can drill down the reports, but these are only showing average
data (min/max/average) and not data for each single sample!
09.00 - 10.00 (4 samples)
Sample 1: 45,5
Sample 2: 60,6
Sample 3: 70,5
Sample 4: 25,2
09.00 - 10.00 (4 samples)
Min - Max - Average - Standard deviation !!
Thanks & best regards
Geri
Loading...