Build precise queries to find exactly what you need
Press ESC to close
There appears to be a syntax error (or at least when executed on my system Server 2008 R2 Exch 2010)
When running on my exchange server, Mounted and Dismounted databases report as OK.
If you change: if(($state.status -match “Mounted”) -or ($state.status -match “Healthy”)){ to: if(($state.status -match ‘^Mounted’) -or ($state.status -match ‘^Healthy’)){
and
if(($ContentIndexState.status -match “Healthy”) -or ($ContentIndexState.status -match “Mounted”)){ to: if(($ContentIndexState.status -match ‘^Healthy’) -or ($ContentIndexState.status -match ‘^Mounted’)){
It then works properly for me.
Other than that great script. Thanks.
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!