How to check the size of .stm and .edb files in exchange.

1. Add the information below to your Sysorb Agent folder, “custom.conf”. You need to change some info in the check so that it corresponds with your own system.

[Exchange First Storage Group - Information Store Size]
command="c:\Program Files (x86)\Sysorb Agent\fsg.bat"
type=real
result_pattern=([[:digit:]]+) bytes$
unit=B
timeout=3

 [Exchange First Storage Group - Mailbox Store]
command="c:\Program Files (x86)\Sysorb Agent\fsg_ms.bat"
type=real
result_pattern=([[:digit:]]+) bytes$
unit=B
timeout=3

[Exchange First Storage Group - Public Folder Store]
command="c:\Program Files (x86)\Sysorb Agent\fsg_pfs.bat"
type=real
result_pattern=([[:digit:]]+) bytes$
unit=B
timeout=3

2 Add the following information in 3 different (bat files.) You need to change so that the info corresponds with your own system.

dir "d:\Exchange Database\*.*" /-c
dir "d:\Exchange Database\public*.*" /-C
dir "d:\Exchange Database\mailbox*.*" /-c