How can we monitor exchange server mailbox count

book

Article ID: 185581

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

The requirement is to enable monitoring which triggers an alert as soon the email count in the Inbox folder reaches 200. We have 4 mailboxes for an application where the emails are processed. 

Environment

Release : 8.51

Component : UIM - EXCHANGE_MONITOR

Resolution

At this time, it is not possible to monitor the mail count in a mailbox using the UIM Exchange Monitor probe. We rely on perfmon counters for many metrics and there does not seem to be a counter provided by Microsoft for this.

However, it may be possible to run a PowerShell command to get that value:

https://social.technet.microsoft.com/Forums/office/en-US/4c959d59-62fb-46bb-8998-4c9f353e6556/mailbox-creation?forum=exchangesvradminlegacy

You may use that in combination with the logmon probe to possibly alarm on the count being over a certain value.