Running Health Checks Manually in 11g

tell me the procedure of generate HTML report using DBMS_HM PL/SQL package.
Regards
Sachin

Sachin wrote:
tell me the procedure of generate HTML report using DBMS_HM PL/SQL package.
Regards
Sachinwhen all else fails Read The Fine Manual
http://docs.oracle.com/cd/B13789_01/server.101/b12170/ch8.htm

Similar Messages

  • How to automate DB health check report using OEM 11g

    Hi,
    I have been asked to share the DB health check report using OEM 11g. Could you please let me know how to achieve this and the report should go to his email.
    Thanks in advance,
    Bala

    check,
    manually you can schedule it through dbms_hm
    http://www.oracle.com/technetwork/articles/sql/11g-resiliency-091703.html

  • Oracle 11g RAC health check

    Hi All,
    oracle 11g R2
    RHEL5
    can anyone please suggest how to do oracle 11g RAC database health check?suggest any link or metalink notes if any?
    thanks,
    Mike.

    Hi,
    You can use RACcheck tool for monitoring can download from here :RACcheck - RAC Configuration Audit Tool (Doc ID 1268927.1)
    HTH

  • Regarding oracle 11g health check

    Hi,
    Does my oracle 11g health check checks the health of oracle 10g? The other way round is definitely not possible. But i was wondering if this were possible?

    What "11g health check" are we talking about?
    Justin

  • I have Firefox 16.0.2 installed. I have manually upgraded my Citrix plugin to the latest version (12.3.0.8), but when i run the "Check to see if your plugins a

    I have Firefox 16.0.2 installed. I have manually upgraded my Citrix plugin to the latest version (12.3.0.8), but when i run the "Check to see if your plugins are up to date" link it still has Status "Outdated Version", Action "Upgrade" in orange with a link that goes nowhere. Is this a problem with Firefox or Citrix plugin?

    Hi icequake, your question is possibly a duplicate of [https://support.mozilla.org/en-US/questions/929250 Question# 929250] in which you also replied to having the same problem.
    This appears to be a bug in Mozilla Firefox but no one has yet filed a report in [https://bugzilla.mozilla.org Bugzilla].
    If you would be so kind to give more details, I will help you and the others to file a bug report so engineers can take a look at it.

  • Health Check Auto-run disabled (not by me!)

    I've hardly used my laptop since mid-Dec due to gall-stones problems/hospitalisation (now resolved - yippee!).
    When I powered up this morning to run updates/scans etc, WIn Patrol showed a message that my HP Health Check auto-run had been disabled and that I should reinstal it.
    I've not disabled it nor can I find the solution elsewhere in the Forum.
    I'd appreciate your help please. Thanks.
    Compaq Presario CQ71 Notebook PC
    Serial number [Personal Information Removed]
    Product number VK999EA#ABU
    Windows 7 Home Premium 64-bit Service Pack 1
    Taffy087
    Win 7 / IE11
    Hewlett-Packard Compaq Presario CQ71-320SA Notebook PC Rev 1

    thanks for that, Erico.  I already have, and use the HP Support Assistant.
    I've found the HP Health Check Folder - it's dated 7th March 2015 and has four folders in it. Three (ActiveCheck, Guid and HPasset) have the same date - the fourth (Tools) is dated 14th July 2014.
    The oldest file in ActiveCheck is from Nov 2010.
    I have never installed the Health Check nor changed or even seen its settings. All I can say is that from time to time a message would appear that it was running/had run.
    On the 2nd March 2015 (the date of my post) there was a message that Health Check had been disabled etc., hence my post.
    If you think it's best not to have it auto-run I'm happy with that but I'm now confused that five days after my post, the three folders mentioned above were created. I didn't do that so how could it have happened? Are they legit or could they be a trojan/virus or something nasty?
    Taffy087
    Win 7 / IE11
    Hewlett-Packard Compaq Presario CQ71-320SA Notebook PC Rev 1

  • Weblogic in running state. no health check status (empty)

    Hello.
    I have installed weblogic 10.3.5 with os unix in the production enviromente.
    The managed servers fail with the no health status, this behavior is ramdon and the workaround is restart the managed servers.
    Do you know how to solve this problem?
    Regards,
    Milton

    Check if you Managed Server was configured to restart automatically when a stuck thread was detected.
    Login wls->Environment->Servers-><Manage Server Name>->Monitoring->health
    check "restart with stuck thread".

  • Health Checks - 11G

    Hello,
    I am very interested to learn and find out what your daily health checks consists of.
    Thank you

    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • Health Check in Exchange 2007 Scripting

    Hi All,
    I have been looking around for scripts which would help me perform regularised health checks in my enviornment. After lot of googling i was able to get a script which would meet my requirements. However i have a few challenges involved in extracting some
    more information:
    1. Mailbox Store Size, Free Diskspace percentage for mailbox servers
    2. Remote Mail flow Tests & Mailflow test to every exchange 2007 mailbox servers in org.
    3. Automating Email of collected data (in HTML) to Administrator.
    4. Executing the script Automatically without triggering it from Exchange Management Shell.
    Script Below
    param( [string] $auditlist)
    Function Get-CustomHTML ($Header){
    $Report = @"
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
    <html><head><title>$($Header)</title>
    <META http-equiv=Content-Type content='text/html; charset=windows-1252'>
    <meta name="save" content="history">
    <style type="text/css">
    DIV .expando {DISPLAY: block; FONT-WEIGHT: normal; FONT-SIZE: 8pt; RIGHT: 8px; COLOR: #ffffff; FONT-FAMILY: Arial; POSITION: absolute; TEXT-DECORATION: underline}
    TABLE {TABLE-LAYOUT: fixed; FONT-SIZE: 100%; WIDTH: 100%}
    *{margin:0}
    .dspcont { display:none; BORDER-RIGHT: #B1BABF 1px solid; BORDER-TOP: #B1BABF 1px solid; PADDING-LEFT: 16px; FONT-SIZE: 8pt;MARGIN-BOTTOM: -1px; PADDING-BOTTOM: 5px; MARGIN-LEFT: 0px; BORDER-LEFT: #B1BABF 1px solid; WIDTH: 95%; COLOR: #000000; MARGIN-RIGHT:
    0px; PADDING-TOP: 4px; BORDER-BOTTOM: #B1BABF 1px solid; FONT-FAMILY: Tahoma; POSITION: relative; BACKGROUND-COLOR: #f9f9f9}
    .filler {BORDER-RIGHT: medium none; BORDER-TOP: medium none; DISPLAY: block; BACKGROUND: none transparent scroll repeat 0% 0%; MARGIN-BOTTOM: -1px; FONT: 100%/8px Tahoma; MARGIN-LEFT: 43px; BORDER-LEFT: medium none; COLOR: #ffffff; MARGIN-RIGHT: 0px; PADDING-TOP:
    4px; BORDER-BOTTOM: medium none; POSITION: relative}
    .save{behavior:url(#default#savehistory);}
    .dspcont1{ display:none}
    a.dsphead0 {BORDER-RIGHT: #B1BABF 1px solid; PADDING-RIGHT: 5em; BORDER-TOP: #B1BABF 1px solid; DISPLAY: block; PADDING-LEFT: 5px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; MARGIN-BOTTOM: -1px; MARGIN-LEFT: 0px; BORDER-LEFT: #B1BABF 1px solid; CURSOR: hand; COLOR:
    #FFFFFF; MARGIN-RIGHT: 0px; PADDING-TOP: 4px; BORDER-BOTTOM: #B1BABF 1px solid; FONT-FAMILY: Tahoma; POSITION: relative; HEIGHT: 2.25em; WIDTH: 95%; BACKGROUND-COLOR: #CC0000}
    a.dsphead1 {BORDER-RIGHT: #B1BABF 1px solid; PADDING-RIGHT: 5em; BORDER-TOP: #B1BABF 1px solid; DISPLAY: block; PADDING-LEFT: 5px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; MARGIN-BOTTOM: -1px; MARGIN-LEFT: 0px; BORDER-LEFT: #B1BABF 1px solid; CURSOR: hand; COLOR:
    #ffffff; MARGIN-RIGHT: 0px; PADDING-TOP: 4px; BORDER-BOTTOM: #B1BABF 1px solid; FONT-FAMILY: Tahoma; POSITION: relative; HEIGHT: 2.25em; WIDTH: 95%; BACKGROUND-COLOR: #7BA7C7}
    a.dsphead2 {BORDER-RIGHT: #B1BABF 1px solid; PADDING-RIGHT: 5em; BORDER-TOP: #B1BABF 1px solid; DISPLAY: block; PADDING-LEFT: 5px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; MARGIN-BOTTOM: -1px; MARGIN-LEFT: 0px; BORDER-LEFT: #B1BABF 1px solid; CURSOR: hand; COLOR:
    #ffffff; MARGIN-RIGHT: 0px; PADDING-TOP: 4px; BORDER-BOTTOM: #B1BABF 1px solid; FONT-FAMILY: Tahoma; POSITION: relative; HEIGHT: 2.25em; WIDTH: 95%; BACKGROUND-COLOR: #7BA7C7}
    a.dsphead1 span.dspchar{font-family:monospace;font-weight:normal;}
    td {VERTICAL-ALIGN: TOP; FONT-FAMILY: Tahoma}
    th {VERTICAL-ALIGN: TOP; COLOR: #CC0000; TEXT-ALIGN: left}
    BODY {margin-left: 4pt}
    BODY {margin-right: 4pt}
    BODY {margin-top: 6pt}
    </style>
    <script type="text/javascript">
    function dsp(loc){
       if(document.getElementById){
          var foc=loc.firstChild;
          foc=loc.firstChild.innerHTML?
             loc.firstChild:
             loc.firstChild.nextSibling;
          foc.innerHTML=foc.innerHTML=='hide'?'show':'hide';
          foc=loc.parentNode.nextSibling.style?
             loc.parentNode.nextSibling:
             loc.parentNode.nextSibling.nextSibling;
          foc.style.display=foc.style.display=='block'?'none':'block';}} 
    if(!document.getElementById)
       document.write('<style type="text/css">\n'+'.dspcont{display:block;}\n'+ '</style>');
    </script>
    </head>
    <body>
    <b><font face="Arial" size="5">$($Header)</font></b><hr size="8" color="#CC0000">
    <font face="Arial" size="1"><b>Version 1  |M & C | <A HREF='http://mail.exchange.com'>mail.exchange.com</A></b></font><br>
    <font face="Arial" size="1">Report created on $(Get-Date)</font>
    <div class="filler"></div>
    <div class="filler"></div>
    <div class="filler"></div>
    <div class="save">
    Return $Report
    Function Get-CustomHeader0 ($Title){
    $Report = @"
     <div class="dspcont0">
     <h1><a href="javascript:void(0)" class="dsphead0" onclick="dsp(this)">
     <span class="expando">show</span>$($Title)</a></h1>
     <div class="dspcont0">
    Return $Report
    Function Get-CustomHeader ($Num, $Title){
    $Report = @"
     <h2><a href="javascript:void(0)" class="dsphead$($Num)" onclick="dsp(this)">
     <span class="expando">show</span>$($Title)</a></h2>
     <div class="dspcont">
    Return $Report
    Function Get-CustomHeaderClose{
     $Report = @"
      </DIV>
      <div class="filler"></div>
    Return $Report
    Function Get-CustomHeader0Close{
     $Report = @"
      </DIV>
      <div class="filler"></div>
    Return $Report
    Function Get-CustomHTMLClose{
     $Report = @"
    </div>
    </body>
    </html>
    Return $Report
    Function Get-HTMLTable{
     param([array]$Content)
     $HTMLTable = $Content | ConvertTo-Html
     $HTMLTable = $HTMLTable -replace '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">', ""
     $HTMLTable = $HTMLTable -replace '<html xmlns="http://www.w3.org/1999/xhtml">', ""
     $HTMLTable = $HTMLTable -replace '<head>', ""
     $HTMLTable = $HTMLTable -replace '<title>HTML TABLE</title>', ""
     $HTMLTable = $HTMLTable -replace '&lt;', "<"
     $HTMLTable = $HTMLTable -replace '&gt;', ">"
     $HTMLTable = $HTMLTable -replace '</head><body>', ""
     $HTMLTable = $HTMLTable -replace '</body></html>', ""
     Return $HTMLTable
    Function Get-HTMLLink ($activeURL){
    $Report = @"
    <a href=$activeURL>$activeURL</a>
    Return $Report
    Function Get-Ink ([String]$inData){
    [String]$inclPercentage = @(35..100)
    $positive = ($inclPercentage, 'Success', 'Ready', 'Running', 'OK', 'True', 'Information')
    If ($positive -match $inData)
    $Report = @"
    <font color='#009900'>$inData</font>
    Else
    $Report = @"
    <font color='#FF0000'>$inData</font>
    Return $Report
    Function Get-HTMLBasic ($Detail){
    $Report = @"
    <TABLE>
     <tr>
      <td width='75%'>$($Detail)</td>
     </tr>
    </TABLE>
    Return $Report
    Function Get-HTMLDetail ($Heading, $Detail){
    $Report = @"
    <TABLE>
     <tr>
     <th width='25%'><b>$Heading</b></font></th>
     <td width='75%'>$($Detail)</td>
     </tr>
    </TABLE>
    Return $Report
    $input | foreach {$targets += @($_)}
    If ((Test-Path variable:\targets) -eq $True){
       Write-Host "Server list input detected on pipeline" -ForegroundColor Yellow
    Else{
     if ($auditlist -eq ""){
       Write-Host "No server list specified, getting all Exchange 2007 servers" -ForegroundColor Yellow
       $targets = Get-ExchangeServer | Where-Object {$_.IsExchange2007OrLater -eq $True}
      else
       if ((Test-Path $auditlist) -eq $false)
        Write-Host "Invalid server list specified: $auditlist" -ForegroundColor DarkRed
        exit
       else
        Write-Host "Using Audit list: $auditlist" -ForegroundColor Cyan
        $Targets = Get-Content $auditlist
    $now = Get-Date
    #Custom Expressions
    $latencyMS = @{Name="Latency(MS)";expression={[Math]::Round(([TimeSpan] $_.Latency).TotalMilliSeconds)}}
    $MessageLatencyTime = @{Name="MessageLatencyTime";expression={[Math]::Round(([TimeSpan] $_.Latency).TotalMilliSeconds)}}
    $hotLink = @{Name="URL";expression={Get-HTMLLink ($_.URL)}}
    $colourResult = @{Name="Result";expression={Get-Ink ($_.Result)}}
    $colourStatus = @{Name="Status";expression={Get-Ink ($_.Status)}}
    $colourType = @{Name="Status";expression={Get-Ink ($_.Type)}}
    $newResult = @{Name="Result";expression={If ($_.Result.ToString() -ne 'Success'){Get-Ink ('Failure')} Else {Get-Ink ('Success') }}}
    $fullReport = Get-CustomHTML "Exchange 2007 "
    $fullReport += Get-CustomHTMLClose
    Foreach ($Target in $Targets){
    Write-Host "Collating Detail for $Target" -ForegroundColor Yellow
     Write-Host "..getting basic computer configuration"
     $ComputerSystem = Get-WmiObject -computername $Target Win32_ComputerSystem
     switch ($ComputerSystem.DomainRole){
      0 { $ComputerRole = "Standalone Workstation" }
      1 { $ComputerRole = "Member Workstation" }
      2 { $ComputerRole = "Standalone Server" }
      3 { $ComputerRole = "Member Server" }
      4 { $ComputerRole = "Domain Controller" }
      5 { $ComputerRole = "Domain Controller" }
      default { $ComputerRole = "Information not available" }
     $OperatingSystems = Get-WmiObject -computername $Target Win32_OperatingSystem
     $TimeZone = Get-WmiObject -computername $Target Win32_Timezone
     $Keyboards = Get-WmiObject -computername $Target Win32_Keyboard
     $SchedTasks = Get-WmiObject -computername $Target Win32_ScheduledJob
     $BootINI = $OperatingSystems.SystemDrive + "boot.ini"
     $RecoveryOptions = Get-WmiObject -computername $Target Win32_OSRecoveryConfiguration
     $exServer = Get-ExchangeServer | where {$_.Name -eq "$Target"}
     $exVersion = "Version " + $exServer.AdminDisplayVersion.Major + "." + $exServer.AdminDisplayVersion.Minor + " (Build " + $exServer.AdminDisplayVersion.Build + "." + $exServer.AdminDisplayVersion.Revision + ")"
     switch ($ComputerRole){
      "Member Workstation" { $CompType = "Computer Domain"; break }
      "Domain Controller" { $CompType = "Computer Domain"; break }
      "Member Server" { $CompType = "Computer Domain"; break }
      default { $CompType = "Computer Workgroup"; break }
     $LBTime=$OperatingSystems.ConvertToDateTime($OperatingSystems.Lastbootuptime)
     $MyReport += Get-CustomHeader0  "$Target - Role(s): $($exServer.ServerRole)"
     $MyReport += Get-CustomHeader "2" "Basic Server Information"
      $MyReport += Get-HTMLDetail "Computer Name" ($ComputerSystem.Name)
      $MyReport += Get-HTMLDetail "Computer Role" ($ComputerRole)
      $MyReport += Get-HTMLDetail "Exchange Role(s)" ($exServer.ServerRole)
      $MyReport += Get-HTMLDetail "Last System Boot" ($LBTime)
      $MyReport += Get-CustomHeaderClose
      Write-Host "..getting logical disk configuration"
      $Disks = Get-WmiObject -ComputerName $Target Win32_LogicalDisk
      $MyReport += Get-CustomHeader "2" "Logical Disk Configuration"
       $LogicalDrives = @()
       Foreach ($LDrive in ($Disks | Where {$_.DriveType -eq 3})){
        $Details = "" | Select "Drive Letter", Label, "File System", "Disk Size (GB)", "Disk Free Space", "% Free Space"
        $Details."Drive Letter" = $LDrive.DeviceID
        $Details.Label = $LDrive.VolumeName
        $Details."File System" = $LDrive.FileSystem
        $Details."Disk Size (GB)" = [math]::round(($LDrive.size / 1GB))
        $Details."Disk Free Space" = [math]::round(($LDrive.FreeSpace / 1GB))
        $Details."% Free Space" = Get-Ink ([Math]::Round(($LDrive.FreeSpace /1GB) / ($LDrive.Size / 1GB) * 100))
        $LogicalDrives += $Details
       $MyReport += Get-HTMLTable ($LogicalDrives)
      $MyReport += Get-CustomHeaderClose
      if ($exServer.ServerRole -like "*ClientAccess*")
      {$MyReport += Get-CustomHeader "2" "OWA Connectivity"
       Write-Host "..performing OWA connectivity test"
       $colOWAResults = Test-OwaConnectivity -ClientAccessServer $Target
       $MyReport += Get-HTMLTable ($colOWAResults | select MailboxServer, $hotLink, Scenario, $colourResult, $latencyMS, Error)
       $MyReport += Get-CustomHeaderClose
    Write-Host "..getting queue details"
      if ($exServer.ServerRole -like "*HubTransport*")
      $MyReport += Get-CustomHeader "2" "Queue Information"
      $colQs = Get-Queue -server $Target
      $MyReport += Get-HTMLTable ($colQs | Select-Object NextHopDomain, $colourStatus, MessageCount, NextRetryTime)
      $MyReport += Get-CustomHeaderClose
      Write-Host "..getting mailbox database information"
      $spaceLog=[System.Diagnostics.EventLog]::GetEventLogs($target) | where {($_.LogDisplayName -eq "Application")}
      $db = @{Name="database";Expression={$_.ReplacementStrings[1]}}
      $freeMB = @{Name="MB";Expression={[int]$_.ReplacementStrings[0]}}
      $whiteSpace = $spaceLog.entries | where {($_.TimeWritten -ge $now.AddDays(-1))} | where {($_.EventID -eq "1221")} | select $db,$freeMB
      $ws = @{Name="White Space";expression={}}
      if ($exServer.ServerRole -like "*Mailbox*")
       $MyReport += Get-CustomHeader "2" "Mailbox Stores"
       $colMailboxStores = Get-MailboxDatabase -Server $Target -Status | Sort-Object Name
       $storeTable = @()
       Foreach ($objMailboxStore in $colMailboxStores)
        [string]$totalUsers = (get-mailbox -database $objMailboxStore).count
        [string]$empty = $totalUsers.Length -eq 0
        if ($empty -eq 'True')
         [string]$totalUsers = "0"
        $storeDetails = "" | Select Name, Mounted, "Total Users", "White Space", LastFullBackup
        $storeDetails.Name = $objMailboxStore.Name
        $storeDetails.Mounted = Get-Ink ($objMailboxStore.Mounted)
        $storeDetails."Total Users" = $totalUsers
        $storeDetails."White Space" = (($whitespace | where {$_.database -match $objMailboxStore.Name} | select -last 1).mb)
        $storeDetails.LastFullBackup = $objMailboxStore.LastFullBackup
        $storeTable += $storeDetails
        $MyReport += Get-HTMLTable ($storeTable)
       $MyReport += Get-CustomHeaderClose
       $MyReport += Get-CustomHeader "2" "MAPI Connectivity"
       Write-Host "..performing MAPI connectivity test"
       $colMAPIResults = Test-MAPIConnectivity -Server $Target
        $MyReport += Get-HTMLTable ($colMAPIResults | select Database, $newResult, $latencyMS, Error)
       $MyReport += Get-CustomHeaderClose
       $MyReport += Get-CustomHeader "2" "Mailflow Test"
       Write-Host "..performing Mailflow test"
       $colMailflowResults = Test-Mailflow -Server $Target
        $MyReport += Get-HTMLTable ($colMailflowResults | select TestMailflowResult, $MessageLatencyTime)
       $MyReport += Get-CustomHeaderClose
      Write-Host "..getting Exchange services"
      $ListOfServices = (gwmi -computer $Target -query "select * from win32_service where Name like 'MSExchange%' or Name like 'IIS%' or Name like 'SMTP%' or Name like 'POP%' or Name like 'W3SVC%'")
      $MyReport += Get-CustomHeader "2" "Exchange Services"
       $Services = @()
       Foreach ($Service in $ListOfServices){
        $Details = "" | Select Name,Account,"Start Mode",State,"Expected State"
        $Details.Name = $Service.Caption
        $Details.Account = $Service.Startname
        $Details."Start Mode" = $Service.StartMode
        If ($Service.StartMode -eq "Auto")
          if ($Service.State -eq "Stopped")
           $Details.State = $Service.State
           $Details."Expected State" = Get-Ink ("Unexpected")
         If ($Service.StartMode -eq "Auto")
          if ($Service.State -eq "Running")
           $Details.State = $Service.State
           $Details."Expected State" = Get-Ink ("OK")
         If ($Service.StartMode -eq "Disabled")
          If ($Service.State -eq "Running")
           $Details.State = $Service.State
           $Details."Expected State" = Get-Ink ("Unexpected")
         If ($Service.StartMode -eq "Disabled")
          if ($Service.State -eq "Stopped")
           $Details.State = $Service.State
           $Details."Expected State" = Get-Ink ("OK")
         If ($Service.StartMode -eq "Manual")
          $Details.State = $Service.State
          $Details."Expected State" = Get-Ink ("OK")
         If ($Service.State -eq "Paused")
          $Details.State = $Service.State
          $Details."Expected State" = Get-Ink ("OK")
        $Services += $Details
        $MyReport += Get-HTMLTable ($Services)
       $MyReport += Get-CustomHeaderClose
        $eventLogs=[System.Diagnostics.EventLog]::GetEventLogs($Target) | where {($_.LogDisplayName -eq "Application") -OR ($_.LogDisplayName -eq "System")}
        $warningEvents = @()
        $errorEvents = @()
        $LogSettings = @()
     $MyReport += Get-CustomHTMLClose
     $fullReport += $MyReport
     $MyReport = $null
     $Date = Get-Date
     $Filename = ".\" + "Exchange_Health" + "_" + $date.Hour + $date.Minute + "_" + $Date.Day + "-" + $Date.Month + "-" + $Date.Year + ".htm"
     $fullReport | out-file -encoding ASCII -filepath $Filename
     Write "Audit saved as $Filename"
    Invoke-Item $Filename

    please refer to my scripts below, it should get you started.
    http://www.myexchangeworld.com/2010/03/powershell-disk-space-html-email-report/
    http://www.myexchangeworld.com/2010/07/powershell-script-to-monitor-exchange-server-2010-services-email-report/
    you can customsise this to your needs and add relevant information.
    cheers
    thiyagu
    Thiyagu | MCTS/MCITP - Exchange 2007 | MCSE 2003[Messaging] | http://www.myExchangeWorld.com. This posting is provided "AS IS" with no warranties, and confers no rights.

  • OEM health check

    Hi guys
    i want to run oracle health check i.e
    1. check security on the users , roles , privileges
    2. db maintenance
    3. all reports to check the databases
    but the main thing is i have to use Enterprise Manager (OEM) to do all that.
    we are ruining oracle 10g r2 and 11g
    you help with be greatly appreciated.

    855161 wrote:
    hi guys it's all good but you are missing a major key point.
    i need to use oracle enterprise manager OEM to do database security check, health check and other critical loop wholes...What if EM is the loophole? What if it spews information to the web? What if Oracle claims something is not EM but shares the configuration?
    Run this:
    $ORACLE_HOME/ccr/bin/emCCR status
    By default, it is collecting your Network Interface MAC accress [sic] and listing all your users into a world-readable directory. Then when you use support, you are badgered to automatically upload all the information.
    Or maybe I live in some parallel universe and I just don't understand what is happening in your universe.

  • Other tools/option to achieve Health check

    Hi guys,
    I saw that there are a lot threads open regarding health check.
    I`m searching for an open source tool/commercial tool, manually created scripts that can check all oracle prerequisite (system information, oracle kernel parameters, packages) and Oracle database parameters. For performance analyze, top events, sql statements I stay on AWR or Statspack.
    There are already softs that helps to do health check, operating systems prerequisite checks like, Toad, raccheck, rda but I want to know If there are any other great tools/scripts.

    1010009 wrote:
    Yes, you are right EM is the best tool for this. But I`m sure that there are a lot dba that have created ther own scripts/tool/method for a health check. I want to go to clients that have there own dbas, monitoring database with EM, use oracle scripts. Even if they is using the best tools, I want to come with something new that will run upon oracle server. The output I want to put in a document an make an assesment with reported issues and resolution.This demands the quote "why reinvent the wheel" ? So if I understood you correctly, you want to make a best-out-of-the-best tool isn't it? What makes you think that a tool made by a single person would be better than or even equivalent to 12C CC for example? There are scripts created (and there are some really good ones too) by the DBAs but Oracle is very strongly asking people to get shifted towards the GC/CC as the level of complexity within the database is increasing day by day and its just going to increase.
    Aman....

  • 1:N Replication Health Check

    Hello,
    When we run the check of 1:N Replication Health Check  We are getting the following:
    We cant replicate the tables mentioned in this report.
    How should we proceed to fix this issue?
    Thanks,
    Amir

    Hi Roy,
    look at this note. it describes how to setup 1:n once you already created the config without "multiple usage" flagged.
    Best,
    Tobias
    SAP Note 1898479:
    SLT replication: Redefinition of existing DB triggers

  • Turning Off The Alert - Notebook PC Battery Replacement Program Alert in Health Check.

    I want to turn off the Notebook PC Battery Replacement Program Alert in Health Check. It continues to alert me for months now. This is driving me batty since I have checked it 3 times and it is not included in the recall! I have a HP Pavillion dv6000 running Windows Vista Home Premium Edition. Any help to turn this darn alert off permanently would be very helpful. Thanks.

    Thank you to all who have read this post so far.  Please continue to contact HP directly using the above information.
    Matthew|Community Advocate | Best Buy® Corporate
    Visit our Channel on
     Private Message

  • Vmware vsphere health check report v5.1.0

    Hi,
    I'm currently using the vmware vsphere health check report v5.1.0 script. I switched from another perl script to this and the report provide much more information. There is one thing that don't seem to work properly though..
    I currently have a failed disk in my server and the report is showing "unknown" status next to 3 disk / disk day. If I run the other script I have used in the past, I have 3 alerts in red clearly showing that something has failed. Would any of you know why it's showing as unknown instead of critical in the report?
    Old Script
    o Disk or Disk Bay 15 Drive 15 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 15 Drive 15 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 15 Drive 15 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 15 Drive 15 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 15 Drive 15 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 14 Drive 14 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 14 Drive 14 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 14 Drive 14 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 14 Drive 14 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 14 Drive 14 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 13 Drive 13 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 13 Drive 13 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 13 Drive 13 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 13 Drive 13 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 13 Drive 13 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 12 Drive 12 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 12 Drive 12 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 12 Drive 12 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 12 Drive 12 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 12 Drive 12 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 11 Drive 11 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 11 Drive 11 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 11 Drive 11 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 11 Drive 11 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 11 Drive 11 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 10 Drive 10 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 10 Drive 10 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 10 Drive 10 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 10 Drive 10 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 10 Drive 10 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 9 Drive 9 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 9 Drive 9 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 9 Drive 9 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 9 Drive 9 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 9 Drive 9 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 8 Drive 8 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 8 Drive 8 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 8 Drive 8 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 8 Drive 8 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 8 Drive 8 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 7 Drive 7 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 7 Drive 7 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 7 Drive 7 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 7 Drive 7 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 7 Drive 7 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 6 Drive 6 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 6 Drive 6 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 6 Drive 6 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 6 Drive 6 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 6 Drive 6 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 5 Drive 5 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 5 Drive 5 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 5 Drive 5 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 5 Drive 5 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 5 Drive 5 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 4 Drive 4 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 4 Drive 4 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 4 Drive 4 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 4 Drive 4 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 4 Drive 4 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 3 Drive 3 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 3 Drive 3 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 3 Drive 3 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 3 Drive 3 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 3 Drive 3 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 2 Drive 2 0: Drive Fault - Assert: 0
    o Disk or Disk Bay 2 Drive 2 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 2 Drive 2 0: In Critical Array - Deassert: 0
    o Disk or Disk Bay 2 Drive 2 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 2 Drive 2 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 1 Drive 1 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 1 Drive 1 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 1 Drive 1 0: In Critical Array - Assert: 0
    o Disk or Disk Bay 1 Drive 1 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 1 Drive 1 0: Rebuild In Progress - Deassert: 0
    o Disk or Disk Bay 0 Drive 0 0: Drive Fault - Deassert: 0
    o Disk or Disk Bay 0 Drive 0 0: Predictive Failure - Deassert: 0
    o Disk or Disk Bay 0 Drive 0 0: In Critical Array - Assert: 0
    o Disk or Disk Bay 0 Drive 0 0: In Failed Array - Deassert: 0
    o Disk or Disk Bay 0 Drive 0 0: Rebuild In Progress - Deassert: 0
    New Report
    BIOS 1 ABR Status 0: Unspecified - Deassert
    0
    OK
    BIOS 1 Firmware Error 0: Unspecified - Deassert
    0
    OK
    BIOS 1 Firmware Error 0: Unspecified - Deassert
    0
    OK
    Cooling Unit 1 Cooling Zone 1 0 - Fully redundant
    0
    OK
    Cooling Unit 2 Cooling Zone 2 0 - Fully redundant
    0
    OK
    Cooling Unit 3 Cooling Zone 3 0 - Fully redundant
    0
    OK
    Disk or Disk Bay 0 Drive 0 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 0 Drive 0 0: In Critical Array - Assert
    0
    UNKNOWN
    Disk or Disk Bay 0 Drive 0 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 0 Drive 0 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 0 Drive 0 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 1 Drive 1 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 1 Drive 1 0: In Critical Array - Assert
    0
    UNKNOWN
    Disk or Disk Bay 1 Drive 1 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 1 Drive 1 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 1 Drive 1 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 10 Drive 10 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 10 Drive 10 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 10 Drive 10 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 10 Drive 10 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 10 Drive 10 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 11 Drive 11 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 11 Drive 11 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 11 Drive 11 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 11 Drive 11 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 11 Drive 11 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 12 Drive 12 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 12 Drive 12 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 12 Drive 12 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 12 Drive 12 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 12 Drive 12 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 13 Drive 13 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 13 Drive 13 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 13 Drive 13 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 13 Drive 13 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 13 Drive 13 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 14 Drive 14 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 14 Drive 14 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 14 Drive 14 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 14 Drive 14 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 14 Drive 14 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 15 Drive 15 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 15 Drive 15 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 15 Drive 15 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 15 Drive 15 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 15 Drive 15 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 2 Drive 2 0: Drive Fault - Assert
    0
    UNKNOWN
    Disk or Disk Bay 2 Drive 2 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 2 Drive 2 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 2 Drive 2 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 2 Drive 2 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 3 Drive 3 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 3 Drive 3 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 3 Drive 3 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 3 Drive 3 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 3 Drive 3 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 4 Drive 4 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 4 Drive 4 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 4 Drive 4 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 4 Drive 4 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 4 Drive 4 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 5 Drive 5 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 5 Drive 5 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 5 Drive 5 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 5 Drive 5 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 5 Drive 5 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 6 Drive 6 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 6 Drive 6 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 6 Drive 6 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 6 Drive 6 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 6 Drive 6 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 7 Drive 7 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 7 Drive 7 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 7 Drive 7 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 7 Drive 7 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 7 Drive 7 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 8 Drive 8 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 8 Drive 8 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 8 Drive 8 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 8 Drive 8 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 8 Drive 8 0: Rebuild In Progress - Deassert
    0
    OK
    Disk or Disk Bay 9 Drive 9 0: Drive Fault - Deassert
    0
    OK
    Disk or Disk Bay 9 Drive 9 0: In Critical Array - Deassert
    0
    OK
    Disk or Disk Bay 9 Drive 9 0: In Failed Array - Deassert
    0
    OK
    Disk or Disk Bay 9 Drive 9 0: Predictive Failure - Deassert
    0
    OK
    Disk or Disk Bay 9 Drive 9 0: Rebuild In Progress - Deassert
    0
    OK

    Thank you for the follow up. I do understand that a completly unreadable disk might throw an unknown status but the status is different from one report than the other. On one side, it clearly shows in red that the disk has something and on the side, it just throws a "I don't know what's going on with the disk". I ran both report the same day and i'm expecting some red in the report to warn me if a disk fail.
    Is there a way to change that behavior from the health check script?

  • Database Health Check Enquiry

    Hi all,
    Some enquires regarding database health check. I did some research regarding health check, got overwhelmed by the information available out there.
    Currently I don't have any report on hand, but currently working and starting on one. This report serves as a report for reference, to understand if there's any database performance issue, and as a report for management.
    Wish to check with you folks, what are the typical things that I can look at on a daily basis to understand my database health status, eg. Buffer Hitrate, database I/O etc, especially those that may/will contribute to impact on the database performance. Or is there any good reference link whereby I can do some readup regarding such a health check?
    Thanks in advance for any input.
    Eugene

    Hi Eugene,
    Well that's a pretty open question and I guess you will get a lot of replies which I look forward to monitoring as there should be some very interesting ones there.
    Anyway, let me just open with one point that I have found very useful in the past. As regards Database Performance , you can look as much as you like at the statistics and a great deal of discretion is required in interpreting them but the real test for me of how well a database is performing is in terms of the user (or application) perception. Are the responses from the database good enough to meet the users expectations. Check the average response time for example and set guidellines for what is acceptable, very good response , very bad response etc.
    I use this as a guideline so then once the database is perfoming in the sense that the user is satisfied (or better still happy with the performance) we can gather the statistics (from Oracle 10g onwards there are lots of tools built in like ADDM and AWR for gathering and storing the database statistics) and create baselines. Once we have baselines for a normally performing system, as soon as problems are reported we can run off a diagnostic tool like ADDM for that period , compare it against the baseline and look for the striking differences. From there we can start an analysis of individual numbers, buffer hit ratios etc. to delve further.
    Hope this helps , I am sure lots of other people will chip in to this
    Regards

Maybe you are looking for

  • HELP my Ipod keeps on saying it's corrupt and wont restore

    My Ipod won't restore by pressing both the middle button and the menu button. It say's it's corrupt. I think it might of died because i've had it for one year and a couple of months. If it has, what can I do with it?

  • Lion Finder "Find" command window, cannot resize columns

    If I use the Finder's "Find.." command under the File menu, a window appears that allows me to enter my serach criteria. However when I do so and a list of entries is presented, there appears to be no way to resize the columns! Als, unlike a normal F

  • How does Numbers Transpose command (similar to Excel's TRANSPOSE command) work?

    The Excel transpose can be used to convert a row of cell into a column of cells. Or vise versa. In excel there is the critical difference where you identify an Array by tpying Control+U then Command+Return. This provides the stepping through the cell

  • Photoshop elements 13 as a gift

    Hello everybody, I am new here. Me stepfather offered me the software photoshop element and I have to download it now. I have the licence number, and I created my account Adobe, but I do not see where to download it, I can only buy it. Is it somebody

  • Appointment - Transaction is rejected in CRM online

    Hello, When creating an appointment in my CRM calendar i get an email from the admin account set for groupware connector with a link of the appointment. It does synchronise in my calendar successfully but i want to disable the email that i am getting