Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

comandtakeit

Reviews(1)
bycomandtakeit, January 17, 2013
1 of 1 people found this review helpful
Great plugin, thanks for sharing.

Protip: To get the services status to work correctly you have to add "; exit($lastexitcode)" to the end of your cmd part of the handler in nsclient.ini.

EX:

check_mailbox_health = cmd /c echo C:ScriptsNagiosMailboxHealth.ps1; exit($lastexitcode) | PowerShell.exe -Command -

Otherwise the status code returned by the script dies with that Powershell session.

Thanks!