Recomended CPU threshold percentages in EarlyWatch reports...

Hi,
In Solution Manager you are able to generate EarlyWatch reports that provide a traffic light for various system performance statistics.
Couold anyone tell me what the general thresholds are (i.e. at what percentage does the light change from green to amber, and amber to red) for CPU utilisation?
thanks
Brian

Hello Brian,
Unfortunately it is not possible to provide a list of all thresholds used in a EWA session as they are not all stored in a central
repository.
In Solution Manager you can access the software tool that is used to generate the EWA report from within transaction DSWP. From within this tool you can see most of thresholds that are used and the relevant ratings for each check.
You may also view this on your system to see what the actual values are set to.
You may also want to review this note:
322896 - Thresholds for important I/O Events(v$system_event)
Thanks,
Mark

Similar Messages

  • Customized "EarlyWatch" report

    Dear Gurus!
    Is there any solutions for customizing of a summarized look of EarlyWatch report. I mean can we add extra data (expand It) with diagrams or ... some workload tables (or specific fields from ST03N) to It?
    Any information & tips would be appreciated!
    Best regards,
    Ivan

    Hi Ivan,
    the EarlyWatch Alert Report is fixed and can not be customized or enhanced by you.
    As you have already found out on your own, you can configure individually Service Level Reports.
    Service Level Reports aggregates information from EarlyWatch Reports, Central Performance History (CPU) and alerts from Business Process Monitoring.
    In the setup of Service Level Reports, it allows you to de/select the chapters:
    - System Configuration
    - System Availability
    - Key performance indicators
    - Transactions with the highest system load
    - History of response time
    - Maximum resource consumption of the hardware
    - Accounting Profile
    - Trend  Analysis
    - Dump statistics
    - Update errors and involved programs/transactions
    - Transports
    - Monitoring Objects from CCMS Central Performance History
    You can set individual threshold for the KPIs:
    System Performance         Max. Active Users
    System Performance         Avg. Availability
    System Performance         Avg. Response Time in Dialog Task
    System Performance         Avg. Response Time at Peak Dialog Hour
    System Performance         Max. Dialog Steps per Hour
    Query Performance          Avg. Total Runtime of the BW Queries
    Query Performance          Avg. DB Runtime of the BW Queries
    Database Performance       Avg. DB Request Time in Dialog Task
    Database Performance       Avg. DB Request Time in Update Task
    Database Space Management  DB Size
    Database Space Management  DB Growth
    Hardware Capacity          Max. CPU Utilization on DB Server
    Hardware Capacity          Max. CPU Utilization on Appl. Server
    You can choose "Weekly" or "Monthly" aggregation of values.
    Best regards
    Ruediger Stoecker

  • No Server Name displyed in mail notification Alert generated by "total CPU Utilization Percentage is too high" Monitor

    Hello Everyone,
    I need your assisstance in one of the issues with Mail Notification Alert generated by SCOM.
    Mail notification received as below:
    Alert: Total CPU Utilization Percentage is too high
    Severity: 2
    ServerName:Microsoft Windows Server 2008 R2 Standard  - The threshold for the Processor\% Processor Time\_Total performance counter has been exceeded. The values that exceeded the threshold are: 97.091921488444015% CPU and a processor queue length of 16.
    Last modified by: System
    The Alert was generated by "Total CPU Utilization Percentage"
    But the problem with the above mail notification is it doesn't mentions about the affected server. So I would like to know how to tweak the monitors to provide the server name into it.
    Thanks & Regards,
    VROAN

    Hi 
    You can add alert source to the email format in the scom server.
    refer below link for parameters 
    http://blogs.technet.com/b/kevinholman/archive/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications.aspx
    Regards
    sridhar v

  • CPU Idle Percentage Near 90 -- Beachball City.

    {Sigh}
    Slow, slow, slow.
    Approximately one month ago I upgraded from Tiger to Snow Leopard. My iMac has been sluggish to slow since. The context/problems/actions
    There are three accounts on the computer. A root, a system administrator, and a guest account. The problems are much more pronounced in the System Administrator account than in the Guest account. (In hopes of resolving a Snow Leopard install Filevault issue I deleted a System Administrator account and shortly thereafter recreated it, using its original name.)
    Put short, the beachball is a frequent visitor whether using Safari, Text Edit, Finder et al. Additionally, logging out of an account takes much more time than it once did: approximately three minutes to log out.
    As to Safari -- slow to launch, slow to load pages. Two-five minutes to visit one page.
    What I have tried
    1) Checked Activity Monitor --- Percentage CPU of Safari and others is often at less than one percent. The CPU idle percentage is often in 90% range.
    2) Compared the DNS of the guest account and sys adm account --- Identical.
    3) Uninstalled Flash Player.
    4) Checked Disk Utility --- Verified disk. Errors found. Then through Snow Leopard Install Disk, repaired the Disk. Rechecked. No errors found.
    Additional info if helpful --
    1) The HD is size is 150 GB, only 30 GB in use.
    2) Two GB of Ram; one GB is listed as Free.
    Day to day tasks are almost impossible in the sys adm account. Please help.
    Yours,
    Lxloco

    Thank you Lyssa, Pondini, and The hatter for taking an interest.
    I took some time away from rooting against the Steelers to do some of the homework mentioned above.
    1) File Vault file -- Isn't on this HD; hasn't been on this HD for a couple of weeks. Rather, the file (the sparse bundle) was saved on an external and then deleted from this iMac's HD
    2) Smart Utility HD Check -- Results: "Failing;" what's more: "Pending Bad Sectors: 1." Continuing on, "Completed: read failure;" "Remaining 90%;" and "LBA of First Error: 101643935."
    3) System Log --- "Insert-Hang-Detected." This untrained eye takes immediate note of that message. It is most frequently associated with Safari, Safari Webpage Preview Fetcher, and Mail. An occasional "Query-Hang-Detected" is also spotted.
    4) System Preferences - Login Items --- Only one item reported: A Lexmark Printer that was removed several years ago.
    Trying to help myself, elsewhere I read something about a "Performance Update 1.0" from October 2009 and how it could have ameliorated "Insert-Hang-Detected" problems. Yet, when I review the webpage for that Update I fail to see my iMac's model number listed.
    http://support.apple.com/kb/HT3901
    Lastly, I will attempt to copy and paste excerpts of the system log. I hope this works and offers insights.
    *EXCERPT ONE*
    Feb 6 01:39:33 lxlocos-computer com.apple.launchd.peruser.501[136] (com.apple.Kerberos.renew.plist[157]): Exited with exit code: 1
    Feb 6 01:41:16 lxlocos-computer WDSmartWareD[45]: Daemon Start -- User registered
    Feb 6 01:44:18 lxlocos-computer com.apple.launchd.peruser.501[136] ([0x0-0x14014].se.coolbook.CPUTest[189]): Exited: Terminated
    Feb 6 01:45:02 lxlocos-computer com.apple.launchd.peruser.501[136] ([0x0-0x17017].se.coolbook.CPUTest[220]): Exited: Terminated
    Feb 6 01:45:08 lxlocos-computer com.apple.launchd.peruser.501[136] ([0x0-0x15015].com.apple.grapher[200]): Exited: Killed
    Feb 6 01:45:22 lxlocos-computer Safari[228]: INSERT-HANG-DETECTED: Tx time:4.366120, # of Inserts: 1, # of bytes written: 118598, Did shrink: NO
    Feb 6 01:45:31 lxlocos-computer Safari[228]: INSERT-HANG-DETECTED: Tx time:8.865640, # of Inserts: 5, # of bytes written: 156588, Did shrink: NO
    Feb 6 01:45:34 lxlocos-computer Safari[228]: INSERT-HANG-DETECTED: Tx time:3.200036, # of Inserts: 0, # of bytes written: 0, Did shrink: NO
    Feb 6 01:45:51 lxlocos-computer Safari[228]: INSERT-HANG-DETECTED: Tx time:8.405790, # of Inserts: 23, # of bytes written: 245779, Did shrink: NO
    Feb 6 01:45:57 lxlocos-computer com.apple.launchd.peruser.501[136] ([0x0-0x11011].com.apple.TextEdit[173]): Exited: Killed
    Feb 6 01:46:41 lxlocos-computer Safari[228]: INSERT-HANG-DETECTED: Tx time:3.748904, # of Inserts: 26, # of bytes written: 244185, Did shrink: NO
    Feb 6 01:48:16 lxlocos-computer com.apple.launchd.peruser.501[136] ([0x0-0x1d01d].se.coolbook.CPUTest[242]): Exited: Terminated
    Feb 6 01:49:33 lxlocos-computer /System/Library/CoreServices/CCacheServer.app/Contents/MacOS/CCacheServer[160]: No valid tickets, timing out
    Feb 6 01:50:27 lxlocos-computer com.apple.launchd.peruser.501[136] ([0x0-0x1e01e].com.apple.TextEdit[247]): Exited: Killed
    Feb 6 01:51:15 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:6.215394, # of Inserts: 16, # of bytes written: 581694, Did shrink: NO
    Feb 6 01:51:34 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:5.002433, # of Inserts: 15, # of bytes written: 153168, Did shrink: NO
    Feb 6 01:51:41 lxlocos-computer Safari[228]: INSERT-HANG-DETECTED: Tx time:4.232596, # of Inserts: 8, # of bytes written: 83235, Did shrink: NO
    Feb 6 01:52:04 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:10.811223, # of Inserts: 2, # of bytes written: 115937, Did shrink: NO
    Feb 6 01:52:14 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:5.694347, # of Inserts: 7, # of bytes written: 81588, Did shrink: NO
    Feb 6 01:52:22 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:3.331573, # of Inserts: 2, # of bytes written: 2490, Did shrink: NO
    Feb 6 01:52:25 lxlocos-computer Safari Webpage Preview Fetcher[264]: QUERY-HANG-DETECTED - time: 3.176528, DB size: 31385600
    Feb 6 01:52:28 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:3.983146, # of Inserts: 2, # of bytes written: 589, Did shrink: NO
    Feb 6 01:52:41 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:7.192635, # of Inserts: 10, # of bytes written: 201402, Did shrink: NO
    Feb 6 01:52:50 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:9.396734, # of Inserts: 20, # of bytes written: 579885, Did shrink: NO
    Feb 6 01:53:00 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:10.352105, # of Inserts: 11, # of bytes written: 127955, Did shrink: NO
    Feb 6 01:53:05 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:4.025091, # of Inserts: 1, # of bytes written: 42, Did shrink: NO
    Feb 6 01:53:14 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:5.343501, # of Inserts: 1, # of bytes written: 1191, Did shrink: NO
    Feb 6 01:53:23 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:4.528598, # of Inserts: 1, # of bytes written: 13800, Did shrink: NO
    Feb 6 01:53:37 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:3.819838, # of Inserts: 0, # of bytes written: 0, Did shrink: NO
    Feb 6 01:54:03 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:4.588173, # of Inserts: 7, # of bytes written: 80110, Did shrink: NO
    Feb 6 01:54:17 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:3.210238, # of Inserts: 2, # of bytes written: 14358, Did shrink: NO
    Feb 6 01:54:29 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:5.436849, # of Inserts: 6, # of bytes written: 205449, Did shrink: NO
    Feb 6 01:54:47 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:3.471765, # of Inserts: 37, # of bytes written: 279087, Did shrink: NO
    Feb 6 01:54:56 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:7.150560, # of Inserts: 2, # of bytes written: 14807, Did shrink: NO
    Feb 6 01:55:07 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:8.734574, # of Inserts: 13, # of bytes written: 166086, Did shrink: NO
    Feb 6 01:55:13 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:5.456079, # of Inserts: 3, # of bytes written: 49535, Did shrink: NO
    Feb 6 01:55:27 lxlocos-computer Safari Webpage Preview Fetcher[264]: INSERT-HANG-DETECTED: Tx time:3.640008, # of Inserts: 1, # of bytes written: 15176, Did shrink: NO
    *EXCERPT TWO*
    Feb 6 14:29:44 lxlocos-computer com.apple.launchd.peruser.0[872] (com.apple.Kerberos.renew.plist[899]): Exited with exit code: 1
    Feb 6 14:29:44 lxlocos-computer storeagent[903]: port created
    Feb 6 14:29:50 lxlocos-computer SoftwareUpdateCheck[885]: INSERT-HANG-DETECTED: Tx time:12.314055, # of Inserts: 0, # of bytes written: 0, Did shrink: NO
    Feb 6 14:30:18 lxlocos-computer SoftwareUpdateCheck[885]: INSERT-HANG-DETECTED: Tx time:20.604123, # of Inserts: 1, # of bytes written: 1212620, Did shrink: NO
    Feb 6 14:30:26 lxlocos-computer SoftwareUpdateCheck[885]: INSERT-HANG-DETECTED: Tx time:15.947163, # of Inserts: 0, # of bytes written: 0, Did shrink: NO
    Feb 6 14:30:41 lxlocos-computer SoftwareUpdateCheck[885]: INSERT-HANG-DETECTED: Tx time:6.006698, # of Inserts: 0, # of bytes written: 0, Did shrink: NO
    Feb 6 14:30:42 lxlocos-computer com.apple.fontd[887]: FODBCheck: foRec->annexNumber != kInvalidAnnexNumber (0)
    Feb 6 14:30:54 lxlocos-computer SoftwareUpdateCheck[885]: INSERT-HANG-DETECTED: Tx time:8.966403, # of Inserts: 10, # of bytes written: 96834, Did shrink: NO
    Feb 6 14:31:02 lxlocos-computer SoftwareUpdateCheck[885]: INSERT-HANG-DETECTED: Tx time:6.418564, # of Inserts: 4, # of bytes written: 27111, Did shrink: NO
    Feb 6 14:31:20 lxlocos-computer iCalExternalSync[931]: [ec20] |Server|Warning| failed to connect to the server: NSPortTimeoutException connection timeout: did not receive reply
    Feb 6 14:31:20 lxlocos-computer Dock[880]: [65dc70] |Server|Warning| failed to connect to the server: NSPortTimeoutException connection timeout: did not receive reply
    Feb 6 14:31:20 lxlocos-computer [0x0-0x81081].com.apple.iCal.helper[0]: 2011-02-06 14:31:20.557 iCalExternalSync[931:903] [ec20] |Server|Warning| failed to connect to the server: NSPortTimeoutException connection timeout: did not receive reply
    Feb 6 14:31:29 lxlocos-computer SoftwareUpdateCheck[885]: INSERT-HANG-DETECTED: Tx time:23.337264, # of Inserts: 3, # of bytes written: 37225, Did shrink: NO
    Feb 6 14:31:35 lxlocos-computer com.apple.fontd[887]: FODBCheck: foRec->annexNumber != kInvalidAnnexNumber (0)
    Feb 6 14:31:39 lxlocos-computer SoftwareUpdateCheck[885]: INSERT-HANG-DETECTED: Tx time:3.584134, # of Inserts: 8, # of bytes written: 118906, Did shrink: NO
    Feb 6 14:31:50 lxlocos-computer Dock[880]: [65dc70] |Server|Warning| failed to connect to the server: NSPortTimeoutException connection timeout: did not receive reply
    Feb 6 14:31:50 lxlocos-computer iCalExternalSync[931]: [ec20] |Server|Warning| failed to connect to the server: NSPortTimeoutException connection timeout: did not receive reply
    Feb 6 14:31:50 lxlocos-computer [0x0-0x81081].com.apple.iCal.helper[0]: 2011-02-06 14:31:50.710 iCalExternalSync[931:903] [ec20] |Server|Warning| failed to connect to the server: NSPortTimeoutException connection timeout: did not receive reply
    Feb 6 14:32:20 lxlocos-computer Dock[880]: [65dc70] |Server|Warning| failed to connect to the server: NSPortTimeoutException connection timeout: did not receive reply
    Feb 6 14:32:20 lxlocos-computer iCalExternalSync[931]: [ec20] |Server|Warning| failed to connect to the server: NSPortTimeoutException [NSPortCoder sendBeforeTime:sendReplyPort:] timed out (318713540.862623 318713540.864886) 1
    Feb 6 14:32:20 lxlocos-computer [0x0-0x81081].com.apple.iCal.helper[0]: 2011-02-06 14:32:20.865 iCalExternalSync[931:903] [ec20] |Server|Warning| failed to connect to the server: NSPortTimeoutException [NSPortCoder sendBeforeTime:sendReplyPort:] timed out (318713540.862623 318713540.864886) 1
    Feb 6 14:32:29 lxlocos-computer SoftwareUpdateCheck[885]: INSERT-HANG-DETECTED: Tx time:38.527892, # of Inserts: 16, # of bytes written: 147173, Did shrink: NO
    Feb 6 14:32:39 lxlocos-computer /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Support/genatsdb[925]: GENATSDB FontObjects generated = 295
    Feb 6 14:32:39 lxlocos-computer SoftwareUpdateCheck[885]: INSERT-HANG-DETECTED: Tx time:8.416577, # of Inserts: 2, # of bytes written: 32292, Did shrink: NO
    Feb 6 14:32:44 lxlocos-computer SoftwareUpdateCheck[885]: INSERT-HANG-DETECTED: Tx time:3.905415, # of Inserts: 5, # of bytes written: 332034, Did shrink: NO
    Feb 6 14:32:51 lxlocos-computer Dock[880]: [65dc70] |Server|Warning| failed to connect to the server: NSPortTimeoutException [NSPortCoder sendBeforeTime:sendReplyPort:] timed out (318713571.014017 318713571.016298) 1
    Feb 6 14:32:51 lxlocos-computer iCalExternalSync[931]: [ec20] |Server|Warning| failed to connect to the server: NSPortTimeoutException [NSPortCoder sendBeforeTime:sendReplyPort:] timed out (318713571.016351 318713571.018601) 1
    Feb 6 14:32:51 lxlocos-computer [0x0-0x81081].com.apple.iCal.helper[0]: 2011-02-06 14:32:51.018 iCalExternalSync[931:903] [ec20] |Server|Warning| failed to connect to the server: NSPortTimeoutException [NSPortCoder sendBeforeTime:sendReplyPort:] timed out (318713571.016351 318713571.018601) 1
    Feb 6 14:33:07 lxlocos-computer iCalExternalSync[931]: Client state being vacuumed
    Feb 6 14:33:20 lxlocos-computer DockSyncClient[944]: Client state being vacuumed
    Feb 6 14:33:25 lxlocos-computer SoftwareUpdateCheck[885]: PackageKit: * Missing bundle identifier: /Library/Receipts/EKPD_fat.pkg
    Feb 6 14:33:41 lxlocos-computer quicklookd[939]: [QL] 'Creating thumbnail - cancelled' timed out for '<QLThumbnailRequest <a class="jive-link-external-small" href="file://">file:///.file/id=6571367.4426212>' (Start date: 2011-02-06 14:33:36 -0500)
    Feb 6 14:33:52 lxlocos-computer quicklookd[951]: INSERT-HANG-DETECTED: Tx time:10.756175, # of Inserts: 0, # of bytes written: 0, Did shrink: NO
    Oddly enough, things are working better today. Perhaps my computer is a Packers fan?
    Thanks again for care and insights.
    Lxloco

  • BW statistics cubes having data like earlywatch report?

    Trying to create reporting similar to the snapshots on the earlywatch report section 2.  Looking through the statistics cubes but have not found the items below.  Any suggestions on where I might find these?  Since earlywatch recognizes changes since last report run I am assuming this data is stored in tables somewhere?
    The following table shows the relevant performance indicators in various system areas.
    Area Indicators Value Trend
    System Performance Active Users 26
    Avg. Response Time in Dialog Task 515 ms
    Max. Dialog Steps per Hour 1413
    Avg. Response Time at Peak Dialog Hour 479 ms
    Avg. Availability per Week 100 %
    Database Performance Avg. DB Request Time in Dialog Task 206 ms
    Avg. DB Request Time in Update Task 210 ms
    Database Space Management DB Size 57.62 GB up
    Last Month DB Growth 0.50 GB up
    Hardware Capacity Max. CPU Utilization on DB Server 100 % steady
    Max. CPU Utilization on Appl. Server 50 % up
    For BW:
    Area Indicators Value Trend

    Hi dear,
    sorry for your manager, but in order to have this kind of information (look at this std cube http://help.sap.com/saphelp_nw04s/helpdata/en/52/e91c3b85e6e939e10000000a11402f/content.htm ) you have to activate the BW statistics recording BEFORE (as you can read in the file I suggested you in the previous answer)...but this can be useful for the future!
    Hope it helps!
    Bye,
    Roberto
    ...and remember that some point is always welcome !

  • Error while generating earlywatch report.

    Hi Guru's
                  I am having problem in generating earlywatch report.
    In solution manager i find these errors:-
    The data for this session is overdue. Data has not yet been transferred from the associated satellite system.
    Go to the Service Data Control Center (transaction SDCCN) in the satellite system and check why the data has not been sent.
    Typical sources of errors are:
    The RFC connection for the SAP Solution Manager system is not working.
    The 'Task Processor' background job, which collects the session data, has been changed.
    Problems arose while data was being collected (see the detail log for the task that collects the session data).
    A periodic 'SDCC Maintenance Package' task has not been scheduled to check whether your SAP Solution Manager system requests session data.
    Session number: 1000000002286
    In source system tcode sdccn when i try to run Refresh sessions i get following error:-
    31.05.2010     12:24:34      > Task rescheduled for 20100531125533 ( attempt 0001 )     /BDL/SAPLBDL11     0
    31.05.2010     12:24:34     Refresh of session overview failed from destination SM_SMPCLNT100_BACK     /BDL/SAPLBDL11     0
    31.05.2010     12:24:34      > Sessions cannot be refreshed from destination SM_SMPCLNT100_BACK ( SMP , 0020275310 )     /BDL/SAPLBDL11     0
    31.05.2010     12:24:34      > You cannot log on (CUA system assignment missing)     /BDL/SAPLBDL11     0
    31.05.2010     12:24:34      > error reading function module interface DSWP_API_SESSIONLIST_GET from  SM_SMPCLNT100_BACK     /BDL/SAPLBDL11     0
    31.05.2010     12:23:58     Refresh of session overview started from destination SM_SMPCLNT100_BACK     /BDL/SAPLBDL11     0
    I have checked with the rfc's they are working fine.
    Please help.
    Regards
    Akif

    Hi Akif,
    Could you please try deleting the RFC Connection and entering it again in the Managed system.
    1) SDCCN
    2) Goto-> Settings-> Task specific.
    3) RFC Destinations-> Settings click on change mode.
    4) Delete the RFC and then add the RFC Connection again and mark as Master and active.
    Then check it, hope it solves the issue.
    Thanks,
    Raghavendra.

  • How to calculate difference and percentage in matrix report dynamic columns in SSRS 2008

    Hi Friends,
    I need to calculate Difference and Percentage In matrix report SSRS 2008
    1) Row grouping based On Product
    2) Column Grouping Week and Fiscal Year Current week  and Previous Year same Weeks 
    3)Data Invnetory(Value fileld)
    Example:
    If value1 and Value2 Available we need to calculate Percentage and Difference.Otherwise Not required NA I need to Show.
    For example If Particular week,Current year data is available,Previous year  week data is not available No
    need to cal Diff and Percentage we need to show Empty.
    Below Code is working for If two values is available.
    If any one of the fiscal year week data is not there it's taking some garbage values.
    I tries with If condition in GetPCT() and GetDiff() It's not working.
    Can some one please help me on this.
    I am using the custom code 
    Public Shared Value1 as String
    Public Shared Value2 as String
    Public Shared previous as string
    Public Shared previousweek as string
    Public Shared Function GetValue(Value as String,partner as String,Week as String) as String
    If partner =previous and Week =previousweek Then
    Value2=Value
    Else
    previous=partner
    previousweek=Week
    Value1=Value
    End If
    return Value
    End Function
    Public Shared Function GetDiff()
    return Value2-Value1
    End Function
    Public Shared Function GetPct()
    return (Value2-Value1)/Value1
    End Function
    How to handle this.
    Thank You, Manasa.V

    Hi veerapaneni,
    According to your description, if one of the fiscal year week doesn’t have data, the custom code returns false results.
    For your requirement, if NULL value exists in the database, we should replace it as zero then perform calculate. So within the code, we should judge whether the value is NULL. To achieve your goal, please refer to the steps below:
    1. Create a table like below.
    create table dif4
    ([Product Group] varchar(50),
    [Week] varchar(50),
    [Fiscalyearweek] varchar(50),
    value int
    insert into dif4 values
    ('Desktops','W01','FY14W01',0),
    ('Desktops','W01','FY15W01',45),
    ('Desktops','W02','FY14W02',null),
    ('Desktops','W02','FY15W02',30),
    ('Desktops','W03','FY14W03',12),
    ('Desktops','W03','FY15W03',50),
    ('Notebooks','W01','FY14W01',35),
    ('Notebooks','W01','FY15W01',56),
    ('Notebooks','W02','FY14W02',45),
    ('Notebooks','W02','FY15W02',87),
    ('Notebooks','W03','FY14W03',75),
    ('Notebooks','W03','FY15W03',105),
    ('Tablets','W01','FY14W01',34),
    ('Tablets','W01','FY15W01',46),
    ('Tablets','W02','FY14W02',49),
    ('Tablets','W02','FY15W02',96),
    ('Tablets','W03','FY14W03',42),
    ('Tablets','W03','FY15W03',113)
    2. Add the custom code in the Report Properties.
    Public Shared Value1 as Integer
    Public Shared Value2 as Integer
    Public Shared previous as string
    Public Shared previousweek as string
    Public Shared Function GetValue(Value as Integer,product as String,Week as String) as Integer
    If Value=Nothing Then
    Value=0
    End If
    If product =previous and Week =previousweek Then
    Value2=Value
    Else
    previous=product
    previousweek=Week
    Value1=Value
    End If
    return Value
    End Function
    Public Shared Function GetPct()
    If Value1=0 Then
    return 0
    Else
    return (Value2-Value1)/Value1
    End If
    End Function
    Public Shared Function GetDiff()
    return Value2-Value1
    End Function
    3. Design the matrix like below.
    4. Then get the expected results.<o:p></o:p>
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Earlywatch report setup - step by step

    Hello All,
    I was hoping to get some documentation, best practice or something, on the set up of earlywatch reports within solution manager.  I'm new enough to SAP and everything with it that I will spend an hour on service marketplace but not find anything on how to do something.  my email is [[email protected]].  Thanks in advance.

    Hi Ryan,
    The setup of SAP EarlyWatch Alert is descibed in the Application Help of SAP Solution Manager.
    [http://help.sap.com -> SAP Solution Manager|http://help.sap.com/content/documentation/solutionmanager/index.htm] -> SAP Solution Manager -> Solution Monitoring -> SAP EarlyWatch Alert
    Best regards,
    Ruediger

  • EarlyWatch Report

    Ladies/Gents
    Can someone please confirm if I need to put on / activate statistics (RSA1->Tools->Settings for BI Statistics) to obtain query statistics results in the EarlyWatch report? I understand that statistics needs to be switched on if I want to analyse the RDSDSTAT* tables or load stats from Business Content BI Stats....but I can not determine if this is required for the EarlyWatch Report. I am specifically interested in the top five bad performing queries section in the EarlyWatch report but was not sure if this report reviewed all the queries in my BW system - as statistics is not switched on for all queries/info providers.
    Thanks!

    Hi
    Check these notes 216952,1040343
    3.2 TROUBLESHOOTING in Solution manager of docu EWA_non-ABAP.ZIP enclosed in SAP Note 976054
    Everything will be step-by-step in this is notes,
    Points if helpfull
    Regards,
    Neni

  • Retrive EarlyWatch Report.

    Hi experts,
    I have follow the SAP Note. 207223 -Activating the SAP EarlyWatch Report at my DEV system.
    Using the SDCC t.code I was able to see all the EarlyWatch session completed.
    To my understanding, the completed SDCC-EarlyWatch session will sent data to SAP. Then SAP will be generate a report base on the received data, and then sent it back to my SAP-OSS-Inbox.
    Is this correct? I have already running my EarlyWatch session everyday for a month. But never get any report in my inbox.
    How can I get the EarlyWatch report?
    Thank you.
    ck chai

    Hi Barry,
    Thank for your reply.
    I had just logged a message to SAP -OSS.
    So this mean we need to tell SAP to generate for us.
    Regards,
    ck chai

  • CISCO 2941-DC router, acceptable CPU utilization percentage

    What is the maximum acceptable CPU Utilization percentage for a CISCO MWR 2941-DC router that is not prone to errors?

    There is no specific percent given for CPU utilization that is not prone to errors.

  • SQL 2008R2 - Performance Condition alert for CPU Threshold event

    I am trying to use SQLServer Agent alert for Resoure governor setup. I would like to be alerted when CPU threshold -> REQUEST_MAX_CPU_TIME_SEC >  20 -> is crossed for any particular query. I am in RTM version for SQL2008R2. For some reason
    the alert never occurs thru SQL Agent Alert.
    Here is my alert configuration
    EXEC msdb.dbo.sp_add_alert
    @name=N'CPU Alert',
    @message_id = 0,
    @severity = 0,
    @enabled = 1,
    @delay_between_responses = 60,
    @include_event_description_in = 1,
    @notification_message = N'Email from alert CPU',
    @category_name = N'[Uncategorized]',
    @performance_condition = N'MSSQL$XXXXXX:Workload Group Stats|Max request cpu time (ms)|default|>|1',
    @job_id = N'00000000-0000-0000-0000-000000000000'
    THe same alert is working if I put < 5, I am able to notified by email. But when I put > I dont see any alert.
    I have tried changing the default setting for resource governor to various #s (1, 5, 20, 600) . But for any change, if i use perf condition > 5, i dont get any alert. If i use < 5 then i get alerts...
    Is it a bug, or am i missing something...
    Any help will be much appreciated...

    I got the event notifications / service broker solution working.  Thanks to
    Aaron Bertrand blog for providing me with a working model.
    I ended up using Aaron's code to create a more generic framework to support the processing of any number of trace events (not just exceeding resource governor's max cpu). 
    Here it is... use at your own risk:
    -- Create the Target Service:
    USE msdb;
    go
    CREATE QUEUE eventNotificationsQueue ;
    GO
    CREATE SERVICE eventNotificationsService
    ON QUEUE eventNotificationsQueue ( [http://schemas.microsoft.com/SQL/Notifications/PostEventNotification] );
    GO
    CREATE ROUTE eventNotificationsRoute
    WITH SERVICE_NAME = 'eventNotificationsService',
    ADDRESS = 'LOCAL';
    GO
    -- Create the event notification:
    -- SQL Trace Event Types: http://msdn.microsoft.com/en-us/library/ms186265.aspx
    -- drop event NOTIFICATION [CPUThresholdExceededNotification] on server
    CREATE EVENT NOTIFICATION CPU_THRESHOLD_EXCEEDEDNotification
        ON SERVER 
    WITH FAN_IN
        FOR CPU_THRESHOLD_EXCEEDED
        TO SERVICE 'eventNotificationsService', 'current database';
    GO
    -- ******************  Add new notifications here ********************
    --CREATE EVENT NOTIFICATION CPU_THRESHOLD_EXCEEDEDNotification
    --    ON SERVER 
    -- WITH
    FAN_IN
    --    FOR XXXX
    --    TO SERVICE 'eventNotificationsService', 'current database';
    --GO
    USE msdb;
    GO
    CREATE PROCEDURE [dbo].[dba_processEventNotifications]
    WITH EXECUTE AS OWNER
    AS 
    -- [dbo].[dba_processEventNotifications] - Provides a framework to alert on trace events.
    -- Reference: Aaron Bertran's post at http://www.mssqltips.com/sqlservertip/2595/get-alerts-for-specific-sql-server-login-failed-events/
    -- Revision History:
    -- 20140827 D Turpin Original creation.
    -- Candidate events include select * from sys.trace_events
    BEGIN
    SET NOCOUNT ON;
    DECLARE
    @message_body XML
    , @message
    NVARCHAR(max)
    , @subject
    NVARCHAR(255)
    , @recipients
    varchar(max);
    --SET @recipients = '[email protected]; [email protected]';
    SET @recipients = '[email protected]';
    WHILE (1 = 1)
    BEGIN
    WAITFOR (
    RECEIVE TOP(1) @message_body = message_body
    FROM dbo.eventNotificationsQueue)
    , TIMEOUT 1000;
    IF (@@ROWCOUNT = 1)
    BEGIN
    -- Let's see if we can capture the query that is running:
    EXECUTE sp_start_job 'DBA Load whoisactive';
    IF (@message_body.value('(/EVENT_INSTANCE/EventType)[1]', 'nvarchar(max)') = N'CPU_THRESHOLD_EXCEEDED')
    BEGIN
    SELECT @subject =
    N'A query on ' + CAST(@@SERVERNAME AS nvarchar(256)) + 
    N' exceeded the Resource Governor limit REQUEST_MAX_CPU_TIME_SEC';
    SELECT @message = N'Event Notification: User query exceeded REQUEST_MAX_CPU_TIME_SEC at '
    + @message_body.value('(/EVENT_INSTANCE/PostTime)[1]', 'nvarchar(max)' )
    + CHAR(13) + CHAR(10)
    + @message_body.value('(/EVENT_INSTANCE/CPU)[1]', 'nvarchar(max)' ) + ' CPU (ms) '
    + CHAR(13) + CHAR(10)
    + N'SPID: ' + @message_body.value('(/EVENT_INSTANCE/OwnerID)[1]', 'nvarchar(max)' )
    + CHAR(13) + CHAR(10)
    + N' Check dba_baselines.dbo.whoisactive for currently active queries';
    --Use this if you want to list the XML nodes/values.
    --SELECT @message = CAST(@message_body AS NVARCHAR(max));
    END
    -- ********************* Add new events here ********************
    --IF (@message_body.value('(/EVENT_INSTANCE/EventType)[1]', 'nvarchar(max)') = N'CPU_THRESHOLD_EXCEEDED')
    --BEGIN
    -- SELECT @subject = = N'A query on ' + CAST(@@SERVERNAME AS nvarchar(256)) + 
    -- N' exceeded the Resource Governor limit REQUEST_MAX_CPU_TIME_SEC';
    -- SELECT @message = N'Event Notification: User query exceeded REQUEST_MAX_CPU_TIME_SEC at '
    -- + @message_body.value('(/EVENT_INSTANCE/PostTime)[1]', 'nvarchar(max)' )
    + CHAR(13) + CHAR(10)
    -- + @message_body.value('(/EVENT_INSTANCE/CPU)[1]', 'nvarchar(max)' ) + ' CPU (ms) '
    + CHAR(13) + CHAR(10)
    -- + N'SPID: ' + @message_body.value('(/EVENT_INSTANCE/OwnerID)[1]', 'nvarchar(max)' )
    + CHAR(13) + CHAR(10)
    -- + N' Check dba_baselines.dbo.whoisactive for currently active queries';
    --END
    EXECUTE msdb.dbo.sp_send_dbmail
    @profile_name = 'DBMailProfile'
    , @recipients = @recipients
    , @subject =
    @subject
    , @body =
    @message;
    END
    END
    END
    GO
    ALTER QUEUE eventNotificationsQueue
    WITH ACTIVATION (
    STATUS = ON
    , PROCEDURE_NAME = [dbo].[dba_processEventNotifications]
    , MAX_QUEUE_READERS = 1
    , EXECUTE AS OWNER );
    GO

  • Percentage calculation in report painter

    Friends,
    How do we calculate percentage in report painter. I know we can do it using a formula. But when i give the formula as ex: A/B it is giving it as Zero. Do i need to do anything else? A is a subtotal of some accounts and B is a subtotal is some accounts.
    Thanks in Advance

    Hi,
    For decimal places
    select the column
    go to formatting--> columns
    in decimal places put 0.00
    This will give u decimals
    Points if useful
    Regards,
    Kiran

  • Query help,  Percentages / ratio to reports / nests

    Hi
    I have a query that returns data like this
    D_NO POINTS COUNT_POINTS ID_COUNT
    4002 L_T_69 12 282
    4219 L_T_69 1 151
    4228 L_T_69 18 193
    4229 L_T_69 7 181
    4230 L_T_69 0 197
    I need to also output a column that works out a percentage of count_points and Id_count. e.g 12/282 * 100 = 4.2
    I had a try with ratio to reports function but no joy for me. I think i need to add in
    another nested select or something but what i was trying wasnt working.
    Can anyone help.
    here is the query so far
    SELECT D_NO,
    GROUPS.POINTS,
    DECODE(GROUPS.POINTS, 'L_T_69' , L_T_69) AS COUNT_POINTS,
    ID_COUNT
    FROM
         (SELECT D_NO,
         Count (CASE WHEN VERBAL <= 69 THEN 1
              END) AS L_T_69,
         COUNT(ID_NUMBER) AS ID_COUNT
         FROM TBL_1
         WHERE VERBAL IS NOT NULL
         group by D_NO)
    TBL_1,
    ( SELECT 'L_T_69' POINTS FROM DUAL )GROUPS
    thank you

    Not sure if this is what you're looking for but it may give you some clues:
    select object_type
          ,has_a_c
          ,type_total
          ,round(100 * (has_a_c / type_total),2) ratio
    from
       select object_type
             ,sum (case when instr(object_name,'C') <> 0 then 1
                        else 0
                   end) has_a_c
             ,count(*) type_total
       from   all_objects
       group by object_type
    OBJECT_TYPE          HAS_A_C   TYPE_TOTAL   RATIO
    CONSUMER GROUP             1            2      50
    EVALUATION CONTEXT         1            1     100
    FUNCTION                  50          113   44.25
    INDEX                      7           20      35
    LIBRARY                    0            2       0
    OPERATOR                   1            2      50
    PACKAGE                  500         1158   43.18
    PACKAGE BODY             487         1126   43.25
    PROCEDURE                 54           86   62.79
    SEQUENCE                  62          116   53.45
    SYNONYM                 1060         2298   46.13
    TABLE                    365          721   50.62
    TABLE PARTITION           15           15     100
    TYPE                     104          272   38.24
    VIEW                     834         1896   43.99
    15 rows selected.

  • Percentage in alv report

    Hi Expert,
                In alv report percentage calculation.Here we have a problem, In total column it will adding  the fields
           in percentage column, but i want to calculate the percentage in run time.
                Example:   
                              A               B                       %*100
                             10               20                      20%
                             20               40                      20%
         TOTAL:         30               60                      40 -
    >it is a total but not percentage 
    Thank you,
    Dinesh.

    Hi,
    1. In the ALV output tab add extra fields that are the same as those on which you are sorting and contain the same values.
    2. In the Field Catalog you must add these fields but they must be hidden i.e. no_out = 'X'.
    3. These fields must be included in the Sort Catalog with subtot = 'X'.
    4. In order to handle the final total line in your layout for the ALV you must set field no_totalline'X' because you are going to be taking this over as well.
    5. Create a form called SUBTOTAL_TEXT or similar structured as follows:
    form subtotal_text using ep_subtot_line like output_tabes_subtottxt type slis_subtot_text.
    In this form you will do the percentage calculation again at total level. The structure ep_subtot_line
    will contain a field for each of the fields in your output_tab i.e. ep_subtot_line-sales,
    ep_subtot_line-cost and ep_subtot_line-margin. Put the margin calculation into ep_subtot_line-margin.
    6. In the eventtab that you pass to the ALV_GRID function module you must create a record with the
    field name = 'SUBTOTAL_TEXT' and the field form = the name of the form you created in step 5 above.

Maybe you are looking for