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
@comandtakeit
Member Since: January 17, 2013
Favorites0
Views
Projects0
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!
Reviewed 13 years ago