@inform, Glad that it worked! Now as far as Exchnage Core Services. I think by default it tries to monitor all ever known exchange services on your host. Here's the list:
Code: Select all
MSExchangeADTopology,MSExchangeAntispamUpdate,MSExchangeDagMgmt,MSExchangeDelivery,MSExchangeDiagnostics,MSExchangeEdgeSync,MSExchangeFastSearch,MSExchangeFrontEndTransport,MSExchangeHM,MSExchangeImap4,MSExchangeIMAP4BE,MSExchangeIS,MSExchangeMailboxAssistants,MSExchangeMailboxReplication,MSExchangePop3,MSExchangePOP3BE,MSExchangeRepl,MSExchangeRPC,MSExchangeServiceHost,MSExchangeSubmission,MSExchangeThrottling,MSExchangeTransport,MSExchangeTransportLogSearch,MSExchangeUM,MSExchangeUMCR
Looks like if atleast one of these services is down the whole check goes into critical. So my advise is to modify this check to monitor only important services, the ones that you know for sure are actually running on your Exchange Server.
Your check result might even give you more info on which services are down if you click on it. And read the whole Status information paragraph.
Also, with IMAP and POP, are they set up and running on your server? Because the plugin says that their default ports are closed.
Code: Select all
https://support.prolateral.com/index.php?/Knowledgebase/Article/View/179/35/what-ports-does-ms-exchange-use
If you are actually running them, can you check your configuration to make sure you aren't using, for example, IMAP/SSL 993, and POP3/SSL ports?
With OWA HTTP service check, it checks the specified http path and returns OK if it's up and exists. You might want to change the default /exchange/ to some reachable webpage. Like /index/
Code: Select all
check_xi_service_http! -H centos7x64 -f ok -I yourIP -u "/exchnage/"
check_pdh. This plugin is using a counter, and I think some new versions of Exchange do not have it by default. Search windows for performance monitor. Then go to monitoring tools/select performance monitor. Then right-click on the empty graph space on your screen and choose "Add counters". Look in a drop-down list for "SMTP Server\Remote Queue Length counter" and "SMTP Message Pending Routing". Good chance that you don't actually have them on your system.
Finally, go to core configuration manager and delete services that you're not using.
Let us know if you have any other questions.