Showing posts with label Monitoring. Show all posts
Showing posts with label Monitoring. Show all posts

Thursday, March 3, 2011

Exchange 2007 mailbox size script V5

Maybe some of you now, Glen Scales has made a PowerShell script to view the mailbox sizes in an Exchange 2007 environment. You can download this script at his blog Script.

It’s a great script, to overview the current mailboxsizes, items, growth history, quota used. Watch the screenshot below, to see the great script of scripting guru Glen ;)

Continue Reading »

ExInsight, free monitoring and statistics tool

ExInsight is a free monitoring and statistics tool for Exchange 2000/2003/2007 that provides a real-time view of the internals of Exchange Server transactions and allows you to evaluate individual user’s usage of Exchange Server.

This tool is especially useful for Exchange administrators and developers. By using this tool, you can gather real-time data about the users in an Exchange environment and learn more about the inner workings of MAPI, OWA, POP3, IMAP4, NNTP and other protocols.

ExInsight helps you to understand how individual users affect the performance of an Exchange Server, analyze application usage of Microsoft Exchange, and guide troubleshooting of applications that depend on Microsoft Exchange.

ExInsight consists of two tools: Activity Statistics and Transaction Monitor . These tools allow you to monitor users’ activity on multiple Exchange servers from any computer in the network.

Activity Statistics

This tool enables administrators to view statistics about individual users’ consumptions of Exchange Server resources and the users’ actual experiences. Shown on a user-by-user basis, this tool allows you to see the following information:

- Protocols used by the clients (MAPI, OWA, POP3, IMAP or NNTP)
- CPU usage (CPU time, CPU percentage)
- Number of messages sent, received or created
- IP addresses used by the clients (only for MAPI clients)
- Microsoft Office Outlook versions and mode, such as Cached Exchange Mode and the classic online mode

Transaction Monitor

This tool displays a continuous communication between any computer and Exchange Server, helping to guide troubleshooting of applications that depend on Exchange. You can view and log every Exchange Server transaction, applying filters and highlighting to pinpoint trouble areas.

Transaction Monitor shows accounts requesting the data, the names and locations of the objects queried in Exchange, timings and transaction results. This tool also provides simplified summaries and links with detailed diagnostic information for each transaction.

Continue Reading »

Managing the Event Viewer with PowerShell

An easy way to manage your windows event viewer is to use PowerShell. With some simple commands you can open all the events. Let’s have a look on that….

Get-EventLog *
(gives an overview of all the available event sources)

Get-EventLog -LogName”DNS Server”
(gives all the event logs in the DNS server log)

Get-EventLog -LogName “DNS Server” -Newest 10
(gives the newest 10 event logs in the DNS server log)

event_01 event_02 event_03

When you put the following commands into a PS1 file and schedule it on a specific server, you’ll receive the event logs in an e-mail! :)
(in this example you’ll receive an e-mail from eventviewer@e2k10.local with the 10 newest event logs)

—————————————————————————
$body = Get-EventLog -LogName “dns server” -Newest 10 | out-string
$From = “eventviewer@e2k10.local”
$to = “administrator@e2k10.local”
$server = “srv-exc2010.e2k10.local”
$subject = “Event Viewer – srv-exc2010.e2k10.local”
$msg = new-object System.Net.Mail.MailMessage $From, $to, $subject, $body
$client = new-object System.Net.Mail.SmtpClient $Server
$Client.Send($msg)
—————————————————————————

event_04

Continue Reading »

Tuesday, March 1, 2011

How to Monitor Exchange 2010 Environment using System Center Essentials 2007 SP1 and up

Recently I needed to configured system center essentials for monitoring Exchange 2010 environment and there is a few tasks to complete for it to work and its very similar to SCOM config.

Prerequisites:

1.      System Center Essentials 2007 SP1 and UP

2.      Monitoring Agent installed and updated on all exchange 2010 servers in the organization.

3.      Exchange 2010 Management Pack - http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7150bfed-64a4-42a4-97a2-07048cca5d23&displaylang=en

4.      SCE Agent Update for exchange 2010 -  For Operations Manager 2007 SP1, install KB 971541 (http://go.microsoft.com/fwlink/?LinkID=167911) For Operations Manager 2007 R2, install KB 974144 (http://go.microsoft.com/fwlink/?LinkID=167912)

Process:

1.      After deploying SCE agent to all exchange 2010 servers in the organization check for pending agent updates on the exchange 2010 server on SCE console go to administration -> Device Management -> Pending  Management and search for the exchange 2010 servers object, if there is any exchange server agent waiting for update approve the update deployment by right click on the object and Approve.

2.      on each exchange server 2010 object in SCE allow agent proxy, go to administration -> device management -> agent managed right click on each exchange server -> properties -> security TAB and enable "Allow this agent to act as proxy and discover managed objects on other computers"

1

3.      Installing Exchange 2010 management pack, go to administration -> on the action panel -> import management pack -> on the opened wizard - > Add - > from disk -> choose the management pack from the location u have extract it after download.

4.      Mack sure that the management pack for exchange 2010 is listed on the management pack list

2

5.      On each exchange 2010 server install the SCE monitoring update for Exchange 2010, double click on the downloaded update -> an installation weird will start press on "Agent Update"

6.      Restart SCE agent on each exchange server, go to Services.msc - > restart OpsManager agent service.

7.      Check if all exchange servers are monitoring the exchange application, go to monitoring -> Microsoft Exchange Server -> Exchange 2010 -> Server state. Mack sure all the exchange servers in the organization are listed.

3

Continue Reading »