Search Exchange
Search All Sites
Login
Check Exchange 2010 Hub Transport Queues & provide performance data
Current Version
2.1
Last Release Date
2012-01-01
Compatible With
- Nagios 3.x
Owner
E-mail
License
GPL
Hits
6958
Files:
| File | Description |
|---|---|
| NagiosMonitoring_ExchangeQueueHealth.ps1 | NagiosMonitoring_ExchangeQueueHealth.ps1 |
Monitor mail queues on Exchange 2010 hub transport servers using powershell and nsclient++ and provided also nagios performance data.
This *.ps1 is a script which monitor the status of Exchange 2010 mail queues on all Hub Transport servers using PowerShell, it provided also Nagios performance data.
# History:
# Version 1.x
# Originally created by Joshua Kirkes (joshua@awesomejar.com)
# at AwesomeJar Consulting, LLC in San Francisco, CA
#
# Revision 1.1
# Created by Marc Koene
#
# Version 2.0 (with performance data)
# Created by Bastian W.
This *.ps1 is a script which monitor the status of Exchange 2010 mail queues on all Hub Transport servers using PowerShell, it provided also Nagios performance data.
# History:
# Version 1.x
# Originally created by Joshua Kirkes (joshua@awesomejar.com)
# at AwesomeJar Consulting, LLC in San Francisco, CA
#
# Revision 1.1
# Created by Marc Koene
#
# Version 2.0 (with performance data)
# Created by Bastian W.
Reviews (1)
bymdiorio, May 10, 2012
The script works great when using it on the host, but when I tried executing it using check_nrpe, I received the following error:
Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 2.
When running PowerShell scripts on Server 2008 R2 x64, the default example will run a 32bit powershell console, not the 64bit. sysnative is a virtual directory recognized by 32bit applications to launch 64bit commands. The following in the proper nsc.ini command to get this to work:
check_exchange_queue=cmd /c echo c:NagiosExchangeQueueHealth.ps1 | C:WindowssysnativeWindowsPowerShellv1.0PowerShell.exe -Command -
Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 2.
When running PowerShell scripts on Server 2008 R2 x64, the default example will run a 32bit powershell console, not the 64bit. sysnative is a virtual directory recognized by 32bit applications to launch 64bit commands. The following in the proper nsc.ini command to get this to work:
check_exchange_queue=cmd /c echo c:NagiosExchangeQueueHealth.ps1 | C:WindowssysnativeWindowsPowerShellv1.0PowerShell.exe -Command -


New Listings



