Proposed Montoring the Exchange 2007 Database in SCC / CCR

  • Sunday, January 22, 2012 2:30 PM
     
     

    Hi Team

    I expecting to script (PS1) to monitor all my  Exchnage 2007 database (5 No's)

    The Script should send the email to our Exchage admins, whenever the database is down.. We don't want to use any SCCM or MOM....and 3rd part utility.

    Any help

     

     


    ramakrishnan

All Replies

  • Sunday, January 22, 2012 6:50 PM
     
     
  • Monday, January 23, 2012 11:56 PM
     
     

    Hi Sukh

    I went the above link aleady ....but it looks different one...

    am too searching in google

    Thnaks for your update

     

     

     


    ramakrishnan
  • Tuesday, January 24, 2012 7:39 AM
    Moderator
     
     

    Hello,

     

    Please check the following article to see if it meet your requirement:

     

    Script to send an email if your server is down

    http://www.lowendtalk.com/discussion/604/script-to-send-an-email-if-your-server-is-down

     

    Thanks,

    Simon

  • Tuesday, January 24, 2012 4:14 PM
     
     

    Hi Simon and all

    Am just expecting the script like

    Get-MailboxDatabase –Status | Format-Table Name, Server, Mounted

    It will give the output of the Database Name , ServerName, and Mounted status(True or Fase)

    If  Mounted status is false that is Dismonuted it should send the email to the respective people

    Since we have 4 mailbox server and mutiple SG and Database , am expecting the output of the script lik

    DatababaseName   Servername  Database Status

    ============    ========  =============

    DB01                     MBXSRV1        Dismounted

    Hope you all understand my Query..

     

     

     


    ramakrishnan
    • Proposed As Answer by Shashi.Surve Wednesday, February 08, 2012 12:19 PM
    • Unproposed As Answer by Shashi.Surve Wednesday, February 08, 2012 12:19 PM
    •  
  • Wednesday, February 08, 2012 12:18 PM
     
     Proposed

    Hi,

    You need to use the same PS cmdlet but added the filter to only check for dismounted state.

    Get-MailboxDatabase –Status | where {$_.mounted -like "False"}| Format-Table Name, Server, Mounted

    If you have Windows 2008 where Exchange management tools installed schdule it from there with email action.

    you need to schedule for every 15 or 20 minutes interval. depends on your monitoring poll.

    Regards,

    Shashi


    Shashi

    • Proposed As Answer by Shashi.Surve Wednesday, February 08, 2012 12:19 PM
    •