Exchange 2013 DB mounted and healthy
Exchange 2013 DB mounted and healthy
Hello,
Can anyone tell me the correct command I should be using to check that Exchange 2013 DBs are mounted and healthy?
I'm having a heck of a time finding anything via Google.
Thank you.
Can anyone tell me the correct command I should be using to check that Exchange 2013 DBs are mounted and healthy?
I'm having a heck of a time finding anything via Google.
Thank you.
Re: Exchange 2013 DB mounted and healthy
This plugin may work for you:
https://exchange.nagios.org/directory/P ... ue/details
OR this:
https://exchange.nagios.org/directory/P ... 2E/details
OR even this:
https://exchange.nagios.org/directory/P ... th/details
These are meant to be run through NSClient++ or NCPA since they are powershell scripts, do you currently have an agent installed on the system to monitor it?
https://exchange.nagios.org/directory/P ... ue/details
OR this:
https://exchange.nagios.org/directory/P ... 2E/details
OR even this:
https://exchange.nagios.org/directory/P ... th/details
These are meant to be run through NSClient++ or NCPA since they are powershell scripts, do you currently have an agent installed on the system to monitor it?
Re: Exchange 2013 DB mounted and healthy
Yes, we have agents installed on all the servers where we need the DBs monitored.
Thank you for your help.
Thank you for your help.
Re: Exchange 2013 DB mounted and healthy
Ok, if you need help setting the agent up let us know which agent you're using and attach your agent configuration file.
Thank you
Thank you
Re: Exchange 2013 DB mounted and healthy
Ok, here's where I'm at. We're running CentOS 6 and have had zero success with PowerShell.
Does anyone know of any commands that are in BASH, PERL or PYTHON that could accomplish this same request?
Does anyone know of any commands that are in BASH, PERL or PYTHON that could accomplish this same request?
Re: Exchange 2013 DB mounted and healthy
Can you provide some details in the issues you are having with the powershell scripts?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Exchange 2013 DB mounted and healthy
According to Microsoft, PowerShell is not supported in CentOS 6 only 7. We've attempted installing PowerShell Core before and could not get it running.
Does anyone know how to get PowerShell working in CentOS 6?
Does anyone know how to get PowerShell working in CentOS 6?
Re: Exchange 2013 DB mounted and healthy
What OS and release version is the the Exchange DB hosted on?
Which Agent is installed on the server?
Which Agent is installed on the server?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Exchange 2013 DB mounted and healthy
Windows Server 2012 R2 Datacenter
Version 6.3.9600 Build 9600
NS agent version 0.3.9.328
Version 6.3.9600 Build 9600
NS agent version 0.3.9.328
Re: Exchange 2013 DB mounted and healthy
The Powershell script runs on the Windows system using an external command and not on the Nagios server.
For example if you use the check_exchange.ps1 script, you would copy it to the C:\Program Files\NSClient++\scripts folder.
Then edit the NSC.ini file on the Windows system and add the following line under section:
And add this under this section
Save and restart Nsclient++
This will create a command called check_exchange that you would call from the Nagios server using the check_nrpe plugin,
Then for example, to Monitor all database in exchange 2013, you would use this command on the Nagios server.
If you have any other questions, let us know.
For example if you use the check_exchange.ps1 script, you would copy it to the C:\Program Files\NSClient++\scripts folder.
Then edit the NSC.ini file on the Windows system and add the following line under section:
Code: Select all
[Wrapped Scripts]
check_exchange=check_exchange.ps1 $ARG1$Code: Select all
[Script Wrappings]
ps1 = cmd /c echo scripts\%SCRIPT%%ARGS%; exit($lastexitcode) | powershell.exe -ExecutionPolicy Bypass -command -This will create a command called check_exchange that you would call from the Nagios server using the check_nrpe plugin,
Then for example, to Monitor all database in exchange 2013, you would use this command on the Nagios server.
Code: Select all
./check_nrpe -H Exchange_IP_Address -t 30 -c check_exchange -a '-CheckType DBStatus -ExchangeVer 2013'Be sure to check out our Knowledgebase for helpful articles and solutions!