Prev | Current Page 661 | Next

Joezer Cookey-Gam, Brendan Keane, Jeffrey Rosen, and Jonathan Runyon

"Professional Windows PowerShell for Exchange Server 2007 Service Pack 1"

LastFullBackup) $(Get-Date)
If ($timesincelastbackup.days -gt 2)
{
$messagesubject = ???Backup Alert for ??? + $objItem.Identity
$messagebody = ???Warning ??? + $objItem.Identity + ??? has not completed a
backup in ??? + $timesincelastbackup.days + ??? days!???
$smtpServer = ???relay.exchangeexchange.local???
$smtp = new-object Net.Mail.SmtpClient($smtpServer)
$smtp.Send(???backupalerts@exchangeexchange.com???,???administrators@exchangeexchange.com
???,$messageSubject,$messagebody)
}
}
This script can be modified to send only one email with a list of all of the backups that are outside of the
normal parameters by creating a variable that would have a list of all of the offending databases and
then sending the email at the end of the process. Also, the same concept can be used to send alerts for
message queues that are continuing to increase in size or for a variety of other conditions.
A number of other fairly simple monitoring scripts can be created to make sure you can keep a finger on
the pulse of your Exchange organization:
??‘ Monitor site link costs to make sure that the Active Directory administrators have not modified
something that would affect Exchange message delivery.
??‘ Monitor memory and storage I/O throughput.
??‘ Monitor and trend Hub Transport queue lengths.


Pages:
649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673
wyciągarki profesjonalne wizualizacje 3d eko mama kasyno botox Kraków