Welcome Guest (Login, Register)
Follow MonitoringExchange on Twitter

Exchange database size check

Arguments:
  -p <path>        Path to Exchange database directory
  -n <dbname>        Filename of .edb/.stm file (without .edb/.stm suffix)
  -v <version>     Set thresholds according to default values for <version>:
                 2000,2003,2003sp2,2007,2007sp1,2010 (warn set to 80%, crit to 90%)
  -w <mb>        Warning if a database is bigger than <mb> MB
  -c <mb>        Critical if a database is bigger than <mb> MB
 
You may specify multiple databases by providing multiple sequences of -p,-n,-w,-c arguments.
Example:
  check_exchange_dbsize2.exe -p <path to db1> -n <name of db1>  -w <warn for db1> -c <crit for db1> -p <path to db2> -n <name of db2> -w <warn for db2> -c <crit for db2>

Version defaults apply to all all databases which have no specific thresholds given.
 
Does not take white space in DB files into account.
 
To compile, use Microsofts Java Script Compiler (JSC,jsc.exe) included in MS .NET Framework.

Use this script with NRPE or NSClient++. For NSClient++ include as follows (example):
[NRPE Handlers]
  check_exchange_dbsize=scripts\\check_exchange_dbsize2.exe [-v <version>] -p <path> -n pub1  [ -w <mb> -c <mb>] -p <path> -n priv1 [ -w <mb> -c <mb>]

Users:
Overall downloads:
397
Hits:
2397
Added:
2010-09-17 13:15:19
Last Modified:
2010-09-17 13:15:19
Downloads
File
Size
DL
Description
11 kb
211
Precompiled executable
6 kb
186
Check plugin JScript source
Comments
Be the first to comment on this project.
Leave a reply
Captcha Reload Image
Catalot 1.4.0 (AppKit/v1.0.0-, Agavi/1.0.4) | www.netways.de | Legal
© 2011 NETWAYS GmbH. The Program is provided AS IS, without warranty. Licensed under GPLv3.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3.