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

Similar Messages

  • Oracle 10g Database Health Check!

    Can anyone guide me the best way to perform a complete database health check?
    Thanks

    Metalink note:
    How to Perform a Healthcheck on the Database - 122669.1

  • Database health check

    Hello Gurus,
    I have got an opportunity to do database health check in a concern.
    Is there any tool or script to do health check commonly in an organization?
    Is there any procedure to follow?
    Kindly help in this issue.
    Best,
    Balu.

    Database health check or Sanity check covers following topics (learnt from Niall Litchfield) :
    1 Space Management
    2 Backup Management
    3 Security
    4 Transaction Management
    5 Statistics Management
    6 Errors
    7 Performance Management
    8 CONCLUSIONS
    Please check below documentation link also :
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/diag007.htm
    Database health check is nothing other than organizing all your monitoring scripts to display at the same time such as (buffer cache hit, library, dictionary, parse, soft parse, hard parse, iostats etc etc.) If you have OEM with performance pack, there is a module there that is captioned database health check. You can use it to get a bird's eye view of your instance.
    Source:http://www.lazydba.com/oracle/0__99797.html
    Hth
    Girish Sharma

  • Database health check up

    Hi Experts,
    I need you suggestions...
    I was asked to prepare a Database health check up for all databases we use.
    I need to make a run book and it should consist of the scripts.
    I have a list a few..points to be added to the list and could ypou suggest anything can be added or anything i have missed or any suggestions how you experts procced with health checkups..
    Database connectivity
    Tablespace space checks for < 10%
    Filesystem space checks
    Application to database connectivity è tnsping from application host
    Errors in Alert logs
    The overall hit ratios on the database (Library, Dictionary)
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    PL/SQL Release 9.2.0.8.0 - Production
    CORE 9.2.0.8.0 Production
    TNS for Solaris: Version 9.2.0.8.0 - Production
    NLSRTL Version 9.2.0.8.0 - Production

    please check similar posts :
    Database health check
    Metalink note:
    How to Perform a Healthcheck on the Database - 122669.1
    Regards
    Rajesh

  • Graphical Reports for Database Health Check or Database Statictics

    Hello
    we are using oracle 10g on Solaris.
    Is there a way I can get the Database health check or database statictics report in graphical form like to represent the growth of database (in a week or month), log size etc..
    Thanks

    You'll have to develop your own method/application/script as per your requirement. To some extent Enterprise manager may help you but I think this is not your requirement.

  • Cisco ISE database health check

    We had a situation where the DB was corrupted in the process of doing an ISE upgrade from 1.1.4 to 1.2. As a result of which the entire network was down.
    Is there a way to monitor DB health on regular basis just so as to avoid the above situation in future?
    Thanks,
    Keval

    Hi Keval, can you provide more information on what exactly happened when the DB got corrupted? I have done several upgrades from 1.1.x to 1.2 and as long as I followed the upgrade procedure I never had any issues. 
    Otherwise, to answer your question, the access to the database is restricted so I don't think there is a way to monitor/query the DB from an external system. This is why it is very important to have backups! :)
    Thank you for rating helpful posts!

  • Oracle 9i (SE) Solaris 9 (DB Health check)

    Hi Guys,
    I want to compile a list that I can use for my Database health check. What are the things that I should add in this list which are very important. (pro active dba)
    Thank you.

    Not specific to your configuration but refer Metalink note      122669.1 in this regard.

  • 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

  • Database redundansy health check failed ( Exchange 2010 sp3 )

    Hello all ,
    One of the mailbox server have been getting the following error in in application , sometimes
    RealCopyQueu  is 256 and sometimes 0 and healthy  .
    Kindly share how can resolve it please

    Hi,
    I suggest we refer to the following article to troubleshoot this issue. Run
    Database Redundancy Check Script.
    http://social.technet.microsoft.com/Forums/exchange/en-US/b1cfbc4b-b17d-4148-adce-1a565d0f5746/exchange-2010-event-id-4113-msexchangerepl-health-check-failed
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • Event:4133 "Database one datacenter health check failed". and Event:4376 "Database one datacenter available copy health check failed"

    Hi.
    I got two DAG nodes with CAS role installed. Sudently i get this failures on both nodes. This happens for all databases. I have tried do Seed the DB, with no luck
    I run the The CheckDatabaseRedundancy.ps1 script and this seems OK.
    Could somone please help me,
    [PS] D:\Program Files\Microsoft\Exchange Server\V15\Scripts>.\CheckDatabaseRedundancy.ps1
    DatabaseName                        : Users05
    LastRedundancyCount                 : 0
    CurrentRedundancyCount              : 2
    LastState                           : Unknown
    CurrentState                        : Green
    LastStateTransitionUtc              : 05.07.2013 05:49:10
    LastGreenTransitionUtc              : 05.07.2013 05:49:10
    LastRedTransitionUtc                :
    LastGreenReportedUtc                : 05.07.2013 05:49:10
    HasReportedGreenEvent               : True
    LastRedReportedUtc                  :
    PreviousTotalRedDuration            : 00:00:00
    TotalRedDuration                    : 00:00:00
    IsTransitioningState                : True
    HasErrorsInHistory                  : False
    CurrentErrorMessages                :
    ErrorHistory                        :
    IsOneDatacenter                     : False
    CurrentRedundancyCountPerSite       : {[Default-First-Site-Name, 2]}
    CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
    Event:4376
    Database one datacenter available copy health check failed.
    Database copy: Users05
    Redundancy count: 2
    Error:
    ================
    Full Copy Status
    ================
    Database Copy : Users05\casmbx02
    VolumeInfoLastError                  :
    LogPathIsOnMountedFolder             : False
    LogVolumeName                        : \\?\Volume{beecae05-53ca-444d-ab5f-dd98510b4776}\
    LogVolumeMountPoint                  : E:\
    DatabasePathIsOnMountedFolder        : False
    DatabaseVolumeName                   : \\?\Volume{b92c9520-905f-4ee4-902d-1e73c26b1717}\
    DatabaseVolumeMountPoint             : F:\
    ExchangeVolumeMountPoint             :
    LastDatabaseVolumeNameTransitionTime : 01.01.1601 00:00:00
    LastDatabaseVolumeName               :
    DiskFreeSpacePercent                 : 90
    DiskTotalSpaceBytes                  : 107237863424
    DiskFreeSpaceBytes                   : 97164902400
    SeedingSource                        : False
    ActivationPreference                 : 2
    LogsCopiedSinceInstanceStart         : 45
    LogsReplayedSinceInstanceStart       : 86
    ExtendedErrorInfo                    :
    ErrorEventId                         : 0
    ErrorMessage                         :
    ReplayQueueNotKeepingUp              : False
    CopyQueueNotKeepingUp                : False
    SnapshotLatestCopyBackup             : False
    SnapshotLatestDifferentialBackup     : False
    SnapshotLatestIncrementalBackup      : False
    SnapshotLatestFullBackup             : True
    LatestCopyBackupTime                 : 01.01.1601 00:00:00
    LatestDifferentialBackupTime         : 01.01.1601 00:00:00
    LatestIncrementalBackupTime          : 01.01.1601 00:00:00
    LatestFullBackupTime                 : 04.07.2013 19:31:34
    LastLogCopyNotified                  : 4100
    CurrentReplayLogTime                 : 05.07.2013 05:24:26
    LastReplayedLogTime                  : 05.07.2013 05:39:26
    LastInspectedLogTime                 : 05.07.2013 05:39:26
    LastCopiedLogTime                    : 05.07.2013 05:39:26
    LastLogInfoFromClusterGen            : 4100
    LastLogInfoFromClusterTime           : 05.07.2013 05:44:01
    LastLogInfoFromCopierTime            : 05.07.2013 05:44:00
    LastLogInfoIsStale                   : False
    LastCopyNotifiedLogTime              : 05.07.2013 05:39:26
    LatestAvailableLogTime               : 05.07.2013 05:39:26
    DumpsterEndTime                      : 01.01.0001 00:00:00
    DumpsterStartTime                    : 01.01.0001 00:00:00
    DumpsterRequired                     : False
    DumpsterServers                      :
    ActionInitiator                      : Service
    SuspendComment                       :
    SinglePageRestoreNumber              : 0
    SinglePageRestore                    : False
    ReplayLagPercentage                  : 0
    ReplayLagPlayDownReason              : None
    ReplayLagEnabled                     : Disabled
    ReplayLagDisabledReason              :
    ActualReplayLagTime                  : 00:04:40.1554322
    ConfiguredReplayLagTime              : 00:00:00
    NodeStatus                           : Up
    WorkerProcessId                      : 8740
    ReseedBlocked                        : False
    ResumeBlocked                        : False
    ReplaySuspended                      : False
    LostWrite                            : False
    Viable                               : True
    ActivationSuspended                  : False
    DbSeedingKBytesWrittenPerSec         : 0
    DbSeedingKBytesReadPerSec            : 0
    DbSeedingKBytesWritten               : 0
    DbSeedingKBytesRead                  : 0
    DbSeedingPercent                     : 0
    ContentIndexSeedingSource            :
    ContentIndexSeedingPercent           :
    ContentIndexMailboxesToCrawl         :
    ContentIndexBacklog                  : 0
    ContentIndexRetryQueueSize           : 0
    ContentIndexErrorMessage             :
    ContentIndexStatus                   : Healthy
    LastStatusTransitionTime             : 04.07.2013 17:46:02
    InstanceStartTime                    : 04.07.2013 17:45:59
    CICurrentness                        : Current
    CopyStatus                           : Healthy
    ServerVersion                        : 1941996140
    LastLogReplayed                      : 4100
    LastLogInspected                     : 4100
    LastLogCopied                        : 4100
    LastLogGenerated                     : 4100
    DataAvailabilityTime                 : 05.07.2013 05:39:26
    DataProtectionTime                   : 05.07.2013 05:39:26
    LastLogGeneratedTime                 : 05.07.2013 05:44:06
    StatusRetrievedTime                  : 05.07.2013 05:44:06
    ActiveDatabaseCopy                   : CASMBX01
    MailboxServer                        : CASMBX02
    DBName                               : Users05
    DBGuid                               : 57da90db-bc6d-4bf3-b508-64d3bff41377
    Database Copy : Users05\casmbx01
    VolumeInfoLastError                  :
    LogPathIsOnMountedFolder             : False
    LogVolumeName                        : \\?\Volume{94937623-3da4-49ab-825e-49c982ec79f1}\
    LogVolumeMountPoint                  : E:\
    DatabasePathIsOnMountedFolder        : False
    DatabaseVolumeName                   : \\?\Volume{73a9913d-1660-487b-8a8b-b53cb017728e}\
    DatabaseVolumeMountPoint             : F:\
    ExchangeVolumeMountPoint             :
    LastDatabaseVolumeNameTransitionTime : 01.01.1601 00:00:00
    LastDatabaseVolumeName               :
    DiskFreeSpacePercent                 : 90
    DiskTotalSpaceBytes                  : 107237863424
    DiskFreeSpaceBytes                   : 96646443008
    SeedingSource                        : False
    ActivationPreference                 : 1
    LogsCopiedSinceInstanceStart         : 0
    LogsReplayedSinceInstanceStart       : 0
    ExtendedErrorInfo                    :
    ErrorEventId                         : 0
    ErrorMessage                         :
    ReplayQueueNotKeepingUp              : False
    CopyQueueNotKeepingUp                : False
    SnapshotLatestCopyBackup             : False
    SnapshotLatestDifferentialBackup     : False
    SnapshotLatestIncrementalBackup      : False
    SnapshotLatestFullBackup             : True
    LatestCopyBackupTime                 : 01.01.1601 00:00:00
    LatestDifferentialBackupTime         : 01.01.1601 00:00:00
    LatestIncrementalBackupTime          : 01.01.1601 00:00:00
    LatestFullBackupTime                 : 03.07.2013 19:30:53
    LastLogCopyNotified                  : 4100
    CurrentReplayLogTime                 : 01.01.0001 00:00:00
    LastReplayedLogTime                  : 01.01.0001 00:00:00
    LastInspectedLogTime                 : 01.01.0001 00:00:00
    LastCopiedLogTime                    : 01.01.0001 00:00:00
    LastLogInfoFromClusterGen            : 4100
    LastLogInfoFromClusterTime           : 05.07.2013 05:44:01
    LastLogInfoFromCopierTime            : 05.07.2013 05:44:06
    LastLogInfoIsStale                   : False
    LastCopyNotifiedLogTime              : 05.07.2013 05:39:26
    LatestAvailableLogTime               : 01.01.0001 00:00:00
    DumpsterEndTime                      : 01.01.0001 00:00:00
    DumpsterStartTime                    : 01.01.0001 00:00:00
    DumpsterRequired                     : False
    DumpsterServers                      :
    ActionInitiator                      : Unknown
    SuspendComment                       :
    SinglePageRestoreNumber              : 0
    SinglePageRestore                    : False
    ReplayLagPercentage                  : 0
    ReplayLagPlayDownReason              : None
    ReplayLagEnabled                     : Disabled
    ReplayLagDisabledReason              :
    ActualReplayLagTime                  : 00:00:00
    ConfiguredReplayLagTime              : 00:00:00
    NodeStatus                           : Up
    WorkerProcessId                      : 7624
    ReseedBlocked                        : False
    ResumeBlocked                        : False
    ReplaySuspended                      : False
    LostWrite                            : False
    Viable                               : False
    ActivationSuspended                  : False
    DbSeedingKBytesWrittenPerSec         : 0
    DbSeedingKBytesReadPerSec            : 0
    DbSeedingKBytesWritten               : 0
    DbSeedingKBytesRead                  : 0
    DbSeedingPercent                     : 0
    ContentIndexSeedingSource            :
    ContentIndexSeedingPercent           :
    ContentIndexMailboxesToCrawl         :
    ContentIndexBacklog                  : 0
    ContentIndexRetryQueueSize           : 0
    ContentIndexErrorMessage             :
    ContentIndexStatus                   : Healthy
    LastStatusTransitionTime             : 01.01.0001 00:00:00
    InstanceStartTime                    : 04.07.2013 17:45:58
    CICurrentness                        : Current
    CopyStatus                           : Mounted
    ServerVersion                        : 1941996140
    LastLogReplayed                      : 0
    LastLogInspected                     : 0
    LastLogCopied                        : 0
    LastLogGenerated                     : 4100
    DataAvailabilityTime                 : 01.01.0001 00:00:00
    DataProtectionTime                   : 01.01.0001 00:00:00
    LastLogGeneratedTime                 : 01.01.0001 00:00:00
    StatusRetrievedTime                  : 05.07.2013 05:44:06
    ActiveDatabaseCopy                   : CASMBX01
    MailboxServer                        : CASMBX01
    DBName                               : Users05
    DBGuid                               : 57da90db-bc6d-4bf3-b508-64d3bff41377
    Event:4133
    Database one datacenter health check failed.
    Database copy: Users05
    Redundancy count: 2
    Error:
    ================
    Full Copy Status
    ================
    Database Copy : Users05\casmbx02
    VolumeInfoLastError                  :
    LogPathIsOnMountedFolder             : False
    LogVolumeName                        : \\?\Volume{beecae05-53ca-444d-ab5f-dd98510b4776}\
    LogVolumeMountPoint                  : E:\
    DatabasePathIsOnMountedFolder        : False
    DatabaseVolumeName                   : \\?\Volume{b92c9520-905f-4ee4-902d-1e73c26b1717}\
    DatabaseVolumeMountPoint             : F:\
    ExchangeVolumeMountPoint             :
    LastDatabaseVolumeNameTransitionTime : 01.01.1601 00:00:00
    LastDatabaseVolumeName               :
    DiskFreeSpacePercent                 : 90
    DiskTotalSpaceBytes                  : 107237863424
    DiskFreeSpaceBytes                   : 97164902400
    SeedingSource                        : False
    ActivationPreference                 : 2
    LogsCopiedSinceInstanceStart         : 45
    LogsReplayedSinceInstanceStart       : 86
    ExtendedErrorInfo                    :
    ErrorEventId                         : 0
    ErrorMessage                         :
    ReplayQueueNotKeepingUp              : False
    CopyQueueNotKeepingUp                : False
    SnapshotLatestCopyBackup             : False
    SnapshotLatestDifferentialBackup     : False
    SnapshotLatestIncrementalBackup      : False
    SnapshotLatestFullBackup             : True
    LatestCopyBackupTime                 : 01.01.1601 00:00:00
    LatestDifferentialBackupTime         : 01.01.1601 00:00:00
    LatestIncrementalBackupTime          : 01.01.1601 00:00:00
    LatestFullBackupTime                 : 04.07.2013 19:31:34
    LastLogCopyNotified                  : 4100
    CurrentReplayLogTime                 : 05.07.2013 05:24:26
    LastReplayedLogTime                  : 05.07.2013 05:39:26
    LastInspectedLogTime                 : 05.07.2013 05:39:26
    LastCopiedLogTime                    : 05.07.2013 05:39:26
    LastLogInfoFromClusterGen            : 4100
    LastLogInfoFromClusterTime           : 05.07.2013 05:44:01
    LastLogInfoFromCopierTime            : 05.07.2013 05:44:00
    LastLogInfoIsStale                   : False
    LastCopyNotifiedLogTime              : 05.07.2013 05:39:26
    LatestAvailableLogTime               : 05.07.2013 05:39:26
    DumpsterEndTime                      : 01.01.0001 00:00:00
    DumpsterStartTime                    : 01.01.0001 00:00:00
    DumpsterRequired                     : False
    DumpsterServers                      :
    ActionInitiator                      : Service
    SuspendComment                       :
    SinglePageRestoreNumber              : 0
    SinglePageRestore                    : False
    ReplayLagPercentage                  : 0
    ReplayLagPlayDownReason              : None
    ReplayLagEnabled                     : Disabled
    ReplayLagDisabledReason              :
    ActualReplayLagTime                  : 00:04:40.1554322
    ConfiguredReplayLagTime              : 00:00:00
    NodeStatus                           : Up
    WorkerProcessId                      : 8740
    ReseedBlocked                        : False
    ResumeBlocked                        : False
    ReplaySuspended                      : False
    LostWrite                            : False
    Viable                               : True
    ActivationSuspended                  : False
    DbSeedingKBytesWrittenPerSec         : 0
    DbSeedingKBytesReadPerSec            : 0
    DbSeedingKBytesWritten               : 0
    DbSeedingKBytesRead                  : 0
    DbSeedingPercent                     : 0
    ContentIndexSeedingSource            :
    ContentIndexSeedingPercent           :
    ContentIndexMailboxesToCrawl         :
    ContentIndexBacklog                  : 0
    ContentIndexRetryQueueSize           : 0
    ContentIndexErrorMessage             :
    ContentIndexStatus                   : Healthy
    LastStatusTransitionTime             : 04.07.2013 17:46:02
    InstanceStartTime                    : 04.07.2013 17:45:59
    CICurrentness                        : Current
    CopyStatus                           : Healthy
    ServerVersion                        : 1941996140
    LastLogReplayed                      : 4100
    LastLogInspected                     : 4100
    LastLogCopied                        : 4100
    LastLogGenerated                     : 4100
    DataAvailabilityTime                 : 05.07.2013 05:39:26
    DataProtectionTime                   : 05.07.2013 05:39:26
    LastLogGeneratedTime                 : 05.07.2013 05:44:06
    StatusRetrievedTime                  : 05.07.2013 05:44:06
    ActiveDatabaseCopy                   : CASMBX01
    MailboxServer                        : CASMBX02
    DBName                               : Users05
    DBGuid                               : 57da90db-bc6d-4bf3-b508-64d3bff41377
    Database Copy : Users05\casmbx01
    VolumeInfoLastError                  :
    LogPathIsOnMountedFolder             : False
    LogVolumeName                        : \\?\Volume{94937623-3da4-49ab-825e-49c982ec79f1}\
    LogVolumeMountPoint                  : E:\
    DatabasePathIsOnMountedFolder        : False
    DatabaseVolumeName                   : \\?\Volume{73a9913d-1660-487b-8a8b-b53cb017728e}\
    DatabaseVolumeMountPoint             : F:\
    ExchangeVolumeMountPoint             :
    LastDatabaseVolumeNameTransitionTime : 01.01.1601 00:00:00
    LastDatabaseVolumeName               :
    DiskFreeSpacePercent                 : 90
    DiskTotalSpaceBytes                  : 107237863424
    DiskFreeSpaceBytes                   : 96646443008
    SeedingSource                        : False
    ActivationPreference                 : 1
    LogsCopiedSinceInstanceStart         : 0
    LogsReplayedSinceInstanceStart       : 0
    ExtendedErrorInfo                    :
    ErrorEventId                         : 0
    ErrorMessage                         :
    ReplayQueueNotKeepingUp              : False
    CopyQueueNotKeepingUp                : False
    SnapshotLatestCopyBackup             : False
    SnapshotLatestDifferentialBackup     : False
    SnapshotLatestIncrementalBackup      : False
    SnapshotLatestFullBackup             : True
    LatestCopyBackupTime                 : 01.01.1601 00:00:00
    LatestDifferentialBackupTime         : 01.01.1601 00:00:00
    LatestIncrementalBackupTime          : 01.01.1601 00:00:00
    LatestFullBackupTime                 : 03.07.2013 19:30:53
    LastLogCopyNotified                  : 4100
    CurrentReplayLogTime                 : 01.01.0001 00:00:00
    LastReplayedLogTime                  : 01.01.0001 00:00:00
    LastInspectedLogTime                 : 01.01.0001 00:00:00
    LastCopiedLogTime                    : 01.01.0001 00:00:00
    LastLogInfoFromClusterGen            : 4100
    LastLogInfoFromClusterTime           : 05.07.2013 05:44:01
    LastLogInfoFromCopierTime            : 05.07.2013 05:44:06
    LastLogInfoIsStale                   : False
    LastCopyNotifiedLogTime              : 05.07.2013 05:39:26
    LatestAvailableLogTime               : 01.01.0001 00:00:00
    DumpsterEndTime                      : 01.01.0001 00:00:00
    DumpsterStartTime                    : 01.01.0001 00:00:00
    DumpsterRequired                     : False
    DumpsterServers                      :
    ActionInitiator                      : Unknown
    SuspendComment                       :
    SinglePageRestoreNumber              : 0
    SinglePageRestore                    : False
    ReplayLagPercentage                  : 0
    ReplayLagPlayDownReason              : None
    ReplayLagEnabled                     : Disabled
    ReplayLagDisabledReason              :
    ActualReplayLagTime                  : 00:00:00
    ConfiguredReplayLagTime              : 00:00:00
    NodeStatus                           : Up
    WorkerProcessId                      : 7624
    ReseedBlocked                        : False
    ResumeBlocked                        : False
    ReplaySuspended                      : False
    LostWrite                            : False
    Viable                               : False
    ActivationSuspended                  : False
    DbSeedingKBytesWrittenPerSec         : 0
    DbSeedingKBytesReadPerSec            : 0
    DbSeedingKBytesWritten               : 0
    DbSeedingKBytesRead                  : 0
    DbSeedingPercent                     : 0
    ContentIndexSeedingSource            :
    ContentIndexSeedingPercent           :
    ContentIndexMailboxesToCrawl         :
    ContentIndexBacklog                  : 0
    ContentIndexRetryQueueSize           : 0
    ContentIndexErrorMessage             :
    ContentIndexStatus                   : Healthy
    LastStatusTransitionTime             : 01.01.0001 00:00:00
    InstanceStartTime                    : 04.07.2013 17:45:58
    CICurrentness                        : Current
    CopyStatus                           : Mounted
    ServerVersion                        : 1941996140
    LastLogReplayed                      : 0
    LastLogInspected                     : 0
    LastLogCopied                        : 0
    LastLogGenerated                     : 4100
    DataAvailabilityTime                 : 01.01.0001 00:00:00
    DataProtectionTime                   : 01.01.0001 00:00:00
    LastLogGeneratedTime                 : 01.01.0001 00:00:00
    StatusRetrievedTime                  : 05.07.2013 05:44:06
    ActiveDatabaseCopy                   : CASMBX01
    MailboxServer                        : CASMBX01
    DBName                               : Users05
    DBGuid                               : 57da90db-bc6d-4bf3-b508-64d3bff41377
    Rinken

    Hi.
    I also ran the CheckDatabaseRedundancy.ps1 script. the output was:
    DatabaseName                        : Users05
    LastRedundancyCount                 : 0
    CurrentRedundancyCount              : 2
    LastState                           : Unknown
    CurrentState                        : Green
    LastStateTransitionUtc              : 11.07.2013 07:34:16
    LastGreenTransitionUtc              : 11.07.2013 07:34:16
    LastRedTransitionUtc                :
    LastGreenReportedUtc                : 11.07.2013 07:34:16
    HasReportedGreenEvent               : True
    LastRedReportedUtc                  :
    PreviousTotalRedDuration            : 00:00:00
    TotalRedDuration                    : 00:00:00
    IsTransitioningState                : True
    HasErrorsInHistory                  : False
    CurrentErrorMessages                :
    ErrorHistory                        :
    IsOneDatacenter                     : False
    CurrentRedundancyCountPerSite       : {[Default-First-Site-Name, 2]}
    CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
    DatabaseName                        : Users04
    LastRedundancyCount                 : 0
    CurrentRedundancyCount              : 2
    LastState                           : Unknown
    CurrentState                        : Green
    LastStateTransitionUtc              : 11.07.2013 07:34:16
    LastGreenTransitionUtc              : 11.07.2013 07:34:16
    LastRedTransitionUtc                :
    LastGreenReportedUtc                : 11.07.2013 07:34:16
    HasReportedGreenEvent               : True
    LastRedReportedUtc                  :
    PreviousTotalRedDuration            : 00:00:00
    TotalRedDuration                    : 00:00:00
    IsTransitioningState                : True
    HasErrorsInHistory                  : False
    CurrentErrorMessages                :
    ErrorHistory                        :
    IsOneDatacenter                     : False
    CurrentRedundancyCountPerSite       : {[Default-First-Site-Name, 2]}
    CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
    DatabaseName                        : Users02
    LastRedundancyCount                 : 0
    CurrentRedundancyCount              : 2
    LastState                           : Unknown
    CurrentState                        : Green
    LastStateTransitionUtc              : 11.07.2013 07:34:17
    LastGreenTransitionUtc              : 11.07.2013 07:34:17
    LastRedTransitionUtc                :
    LastGreenReportedUtc                : 11.07.2013 07:34:17
    HasReportedGreenEvent               : True
    LastRedReportedUtc                  :
    PreviousTotalRedDuration            : 00:00:00
    TotalRedDuration                    : 00:00:00
    IsTransitioningState                : True
    HasErrorsInHistory                  : False
    CurrentErrorMessages                :
    ErrorHistory                        :
    IsOneDatacenter                     : False
    CurrentRedundancyCountPerSite       : {[Default-First-Site-Name, 2]}
    CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
    DatabaseName                        : Users03
    LastRedundancyCount                 : 0
    CurrentRedundancyCount              : 2
    LastState                           : Unknown
    CurrentState                        : Green
    LastStateTransitionUtc              : 11.07.2013 07:34:17
    LastGreenTransitionUtc              : 11.07.2013 07:34:17
    LastRedTransitionUtc                :
    LastGreenReportedUtc                : 11.07.2013 07:34:17
    HasReportedGreenEvent               : True
    LastRedReportedUtc                  :
    PreviousTotalRedDuration            : 00:00:00
    TotalRedDuration                    : 00:00:00
    IsTransitioningState                : True
    HasErrorsInHistory                  : False
    CurrentErrorMessages                :
    ErrorHistory                        :
    IsOneDatacenter                     : False
    CurrentRedundancyCountPerSite       : {[Default-First-Site-Name, 2]}
    CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
    DatabaseName                        : Users01
    LastRedundancyCount                 : 0
    CurrentRedundancyCount              : 2
    LastState                           : Unknown
    CurrentState                        : Green
    LastStateTransitionUtc              : 11.07.2013 07:34:17
    LastGreenTransitionUtc              : 11.07.2013 07:34:17
    LastRedTransitionUtc                :
    LastGreenReportedUtc                : 11.07.2013 07:34:17
    HasReportedGreenEvent               : True
    LastRedReportedUtc                  :
    PreviousTotalRedDuration            : 00:00:00
    TotalRedDuration                    : 00:00:00
    IsTransitioningState                : True
    HasErrorsInHistory                  : False
    CurrentErrorMessages                :
    ErrorHistory                        :
    IsOneDatacenter                     : False
    CurrentRedundancyCountPerSite       : {[Default-First-Site-Name, 2]}
    CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
    Rinken

  • Oracle Database Audit Health Check

    Hi Experts,
    I have been looking for checklist to perform the oracle database audit.
    what is the best practise to perfrom the database audit health check.
    Regards
    Mohammed. Abdul Muqeet

    Hi,
    What is it mean for Health Check, You mean you have audit enable in your database and you want to manage it. if so
    then you have to take care of Audit area at OS level and sys/aud$ table
    for Audit Area: you can schedule a job to clear that are time to time
    for sys.aud$: Move this table to non- system tablespace and moniter the uage. can purge the data if not required after taking the backup..
    HTH

  • Ora9i  database  monitor health check thro diagnostic pack

    Hi,
    It was quite long time since, i could not able to monitor the database health for all the databases through enterprise manager console--standalone mode ---. Even i tried with connection through intelligent agent and the default is client connection. can any experts guide me to fix this issue please.
    Thanks n advance
    efshafi

    hi,
    Thanks for the prompt reply. The database version is 9.2.0.0 from standalone enterprise mode. I can able to connect and go inside to check the instance, schema, security, etc but on the sublevel of instance management to monitor the database health, it again ask for the usernname, password, service name, connect as. While I log in sys password service name and connect as sys dba. without any error message it comes out the session.
    efshafi

  • HTML format report for Daily basis Oracle Database health Checkup

    Hi All,
    Can anyone provide me the script which I can schedule in BAT file to run againt all the database and gather most of the health check related data and present the same in HTML format.
    Regards,
    Sphinx

    Hi,
    Database Health report can be obtain from my below link:
    http://rafioracledba.blogspot.com/search/label/DBA%20Daily%20activities
    It is a detailed one.Make use of point 20 in the above link to get the report you want.Hope it helps.
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com

  • 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.

  • In TOAD, Need to Enable DB Health check option

    Hi,
    I am using TOAD 10.1.1.8 DBA Suite.
    As my TOAD DBA Suite, DB Health check option should be there under
    Database -> Diagnose -> DB Health Check.
    But its not showing this option.
    Kindly guide me as How to enable DB Health check.
    Expecting your valuable reply.
    Thanks in advance,
    Orahar.
    Edited by: Orahar on Feb 10, 2010 3:06 PM

    Sure.
    As I didn't get any valuable response from TOAD Forum, I have posted here.
    I hope, I will get the solution here at OTN.
    Thanks.

Maybe you are looking for

  • I have windows 7 and I can not download itunes

    I have Windows 7 and can not download itunes. Any help would be greatly appreciated.

  • VBS:How can i determine the last row of an excel-sheet

    I want to replace the chn-comments of an datafile. I pick up the chn-names and want to compare them with an excel-file and so get from the excel-file the right chn-comment and store int back in the datafile. my problem is how can i determine where th

  • Java Sounf Api in Linux

    Hi! I have a question about Java Sound Api on Linux! I have servlet that used JSA. Under Windows OS it working fine, but under Linux i can't record sound and playback it! Anyone have experience with Sound Java Api on linux??? Sorry for my English!

  • How to closed a numbers spreadsheet in ipad?

    How do I close a numbers spreadsheet on my ipad 2? I cannot find a button or menu to close it. It has personal information on and the spreadsheet is password protected. I have opened it but cannot close it so if I lost my ipad, people would be able t

  • Modifying ESS Service

    I have couple questions. PZ31_EWT is the replacement for the old ESS Service PZ31. In the dropdown after I select internet service, I do not see PZ31_EWT. However I see PZ31_EWT under transaction code for the development class PPPE_WWW. I want to cha