Exchange 2010 mail queues size

Exchange 2010 mail queues size

A very basic PowerShell script to check the max sizes of the MS Exchange 2010 mail queues.

Critical and warning numbers are specificed in the script.

Replace in the script "1000" with your critical and "500" with your warning numbers accordinlgy.

To use with NSClient++ :

[ NRPE Handlers]

command[check_mail_queu=cmd] /c echo C:ScriptsNagioscheck_mail_queue.ps1 | PowerShell.exe -Command -

Call from Nagios: