Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
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!