Check AvailableNewMailboxSpace
AvailableNewMailboxSpace.ps1
Icinga/Nagios PowerShell plugin to monitor available free mailbox space in an Exchange database.
Features
- Checks
AvailableNewMailboxSpacein MiB - Configurable minimum free space threshold
- Nagios-compatible output and exit codes
- Performance data output for graphing
Requirements
- Windows PowerShell
- Exchange Management Shell / snap-in available
Usage
.\AvailableNewMailboxSpace.ps1 -DatabaseName "DB01" -MinFreeMB 2048
Optional custom snap-in:
.\AvailableNewMailboxSpace.ps1 -DatabaseName "DB01" -MinFreeMB 2048 -ExchangeSnapIn "Microsoft.Exchange.Management.PowerShell.E2010"
Exit Codes
0OK2CRITICAL3UNKNOWN
License
GNU General Public License v2.0 (see repository license selection).