Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Exchange Databases and Queue
1.10
2018-12-07
- Nagios 3.x
- Nagios 4.x
- Nagios XI
16842
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
can check if all Exchange Databases are mounted, and Exchange Queue.
### Description:
Plugin for nagios to check Exchange Server 2007,2010,2013,2016.
can check if all Exchange Databases are mounted, and Exchange Queue.
### Auther:
Yossi Bitton yosbit@gmail.com
Date: November 2018
Version 1.1.0
#### PARAMETER CheckType
"DBStatus" - Check all exchange databases if mounted or not, return Critical if one database is not mounted.
"Queue" - Check all queue in exchange server if empty or not. if queue items greater than Warn or Crit.
#### PARAMETER ExchangeVer (Optional)
"2007" , "2010", "2013" ,"2016" - not needed, the plugin automaticly get the exchange version, and load the relevant PS-Module.
#### PARAMETER Warn
integer - Used for test Queue, set the number of items in queue.
#### PARAMETER Crit
integer - Used for test Queue, set the number of items in queue.
#### PARAMETER Debug
Debug Mode.
### EXAMPLE
Check all exchange db status:
.check_exchange.ps1 -CheckType DBStatus
.check_exchange.ps1 DBStatus
Check exchange queue
.check_exchange.ps1 -CheckType Queue -Warn 10 -Crit 50
this command also works, using args position:
.check_exchange.ps1 Queue 10 50
### Instalation
#### NSClient with NSC.ini config file (old version)
Edit NRPE config:
Edit NSC.ini or nsclient.ini and add the following line under section:
[Wrapped Scripts]
check_exchange=check_exchange.ps1 $ARG1$
[Script Wrappings]
ps1 = cmd /c echo scripts%SCRIPT%%ARGS%; exit($lastexitcode) | powershell.exe -ExecutionPolicy Bypass -command -
#### NSClient with nsclient.ini config file (new version)
add the followings lines under:
[/settings/external scripts/scripts]
check_exchange = cmd /c echo scriptscheck_exchange.ps1 $ARG1$ ; exit($lastexitcode) | powershell.exe -ExecutionPolicy Bypass -command -
Plugin for nagios to check Exchange Server 2007,2010,2013,2016.
can check if all Exchange Databases are mounted, and Exchange Queue.
### Auther:
Yossi Bitton yosbit@gmail.com
Date: November 2018
Version 1.1.0
#### PARAMETER CheckType
"DBStatus" - Check all exchange databases if mounted or not, return Critical if one database is not mounted.
"Queue" - Check all queue in exchange server if empty or not. if queue items greater than Warn or Crit.
#### PARAMETER ExchangeVer (Optional)
"2007" , "2010", "2013" ,"2016" - not needed, the plugin automaticly get the exchange version, and load the relevant PS-Module.
#### PARAMETER Warn
integer - Used for test Queue, set the number of items in queue.
#### PARAMETER Crit
integer - Used for test Queue, set the number of items in queue.
#### PARAMETER Debug
Debug Mode.
### EXAMPLE
Check all exchange db status:
.check_exchange.ps1 -CheckType DBStatus
.check_exchange.ps1 DBStatus
Check exchange queue
.check_exchange.ps1 -CheckType Queue -Warn 10 -Crit 50
this command also works, using args position:
.check_exchange.ps1 Queue 10 50
### Instalation
#### NSClient with NSC.ini config file (old version)
Edit NRPE config:
Edit NSC.ini or nsclient.ini and add the following line under section:
[Wrapped Scripts]
check_exchange=check_exchange.ps1 $ARG1$
[Script Wrappings]
ps1 = cmd /c echo scripts%SCRIPT%%ARGS%; exit($lastexitcode) | powershell.exe -ExecutionPolicy Bypass -command -
#### NSClient with nsclient.ini config file (new version)
add the followings lines under:
[/settings/external scripts/scripts]
check_exchange = cmd /c echo scriptscheck_exchange.ps1 $ARG1$ ; exit($lastexitcode) | powershell.exe -ExecutionPolicy Bypass -command -
Reviews (1)
bydamned, December 19, 2019
Great, it works very well and documentation is very complete!