Exchange Connection Refused

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Exchange Connection Refused

Post by scottwilkerson »

In the host configuration do you have the actual IP address in the Address field, or just exchange2 ?

the reason I ask is that maybe it is failing because for some reason it is trying to connect to the wrong machine...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Exchange Connection Refused

Post by benningtonr »

I have an IP address
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Exchange Connection Refused

Post by scottwilkerson »

For what it is worth, the error you are receiving basically is saying that the Exchange server in refusing connections for all of the ports that Nagios is trying to connect to when this happens.

It has to be something on the server as it is not isolated to just one service/port, the screenshot you posted shows the server refusing connections for
IMAP
SMTP
HTTPS
NSCLIENT
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Exchange Connection Refused

Post by yancy »

benningtonr,

does check_ping also fail at the same time? Maybe it's a lower layer network issue.

regards,

-Yancy
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Exchange Connection Refused

Post by benningtonr »

No, ping and a blacklist are still fine.
I know BL does not go to the server, but it replies to ping, and the mail still flows as it is supposed to.
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Exchange Connection Refused

Post by yancy »

benningtonr,

Is there anything in the nsclient.log file during that time period that might help explain the issue.

Regards,

-Yancy
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Exchange Connection Refused

Post by benningtonr »

012-10-01 03:40:24: error:modules\CheckSystem\CheckSystem.cpp:1084: ERROR: Counter not found: \SMTP Server(_Total)\Messages Pending Routing: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:40:24: error:modules\CheckSystem\CheckSystem.cpp:1086: ERROR: Counter not found: \SMTP Server(_Total)\Messages Pending Routing: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:40:24: error:modules\CheckSystem\CheckSystem.cpp:1115: ERROR: \SMTP Server(_Total)\Messages Pending Routing: PdhAddCounter failed: The specified object was not found on the computer. (C0000BB8) (\SMTP Server(_Total)\Messages Pending Routing|\SMTP Server(_Total)\Messages Pending Routing)
2012-10-01 03:44:44: error:modules\CheckSystem\CheckSystem.cpp:1084: ERROR: Counter not found: \SMTP Server(_Total)\Remote Queue Length: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:44:44: error:modules\CheckSystem\CheckSystem.cpp:1086: ERROR: Counter not found: \SMTP Server(_Total)\Remote Queue Length: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:44:44: error:modules\CheckSystem\CheckSystem.cpp:1115: ERROR: \SMTP Server(_Total)\Remote Queue Length: PdhAddCounter failed: The specified object was not found on the computer. (C0000BB8) (\SMTP Server(_Total)\Remote Queue Length|\SMTP Server(_Total)\Remote Queue Length)
2012-10-01 03:45:24: error:modules\CheckSystem\CheckSystem.cpp:1084: ERROR: Counter not found: \SMTP Server(_Total)\Messages Pending Routing: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:45:24: error:modules\CheckSystem\CheckSystem.cpp:1086: ERROR: Counter not found: \SMTP Server(_Total)\Messages Pending Routing: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:45:24: error:modules\CheckSystem\CheckSystem.cpp:1115: ERROR: \SMTP Server(_Total)\Messages Pending Routing: PdhAddCounter failed: The specified object was not found on the computer. (C0000BB8) (\SMTP Server(_Total)\Messages Pending Routing|\SMTP Server(_Total)\Messages Pending Routing)
2012-10-01 03:49:44: error:modules\CheckSystem\CheckSystem.cpp:1084: ERROR: Counter not found: \SMTP Server(_Total)\Remote Queue Length: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:49:44: error:modules\CheckSystem\CheckSystem.cpp:1086: ERROR: Counter not found: \SMTP Server(_Total)\Remote Queue Length: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:49:44: error:modules\CheckSystem\CheckSystem.cpp:1115: ERROR: \SMTP Server(_Total)\Remote Queue Length: PdhAddCounter failed: The specified object was not found on the computer. (C0000BB8) (\SMTP Server(_Total)\Remote Queue Length|\SMTP Server(_Total)\Remote Queue Length)
2012-10-01 03:50:24: error:modules\CheckSystem\CheckSystem.cpp:1084: ERROR: Counter not found: \SMTP Server(_Total)\Messages Pending Routing: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:50:24: error:modules\CheckSystem\CheckSystem.cpp:1086: ERROR: Counter not found: \SMTP Server(_Total)\Messages Pending Routing: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:50:24: error:modules\CheckSystem\CheckSystem.cpp:1115: ERROR: \SMTP Server(_Total)\Messages Pending Routing: PdhAddCounter failed: The specified object was not found on the computer. (C0000BB8) (\SMTP Server(_Total)\Messages Pending Routing|\SMTP Server(_Total)\Messages Pending Routing)
2012-10-01 03:54:44: error:modules\CheckSystem\CheckSystem.cpp:1084: ERROR: Counter not found: \SMTP Server(_Total)\Remote Queue Length: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:54:44: error:modules\CheckSystem\CheckSystem.cpp:1086: ERROR: Counter not found: \SMTP Server(_Total)\Remote Queue Length: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:54:44: error:modules\CheckSystem\CheckSystem.cpp:1115: ERROR: \SMTP Server(_Total)\Remote Queue Length: PdhAddCounter failed: The specified object was not found on the computer. (C0000BB8) (\SMTP Server(_Total)\Remote Queue Length|\SMTP Server(_Total)\Remote Queue Length)
2012-10-01 03:55:24: error:modules\CheckSystem\CheckSystem.cpp:1084: ERROR: Counter not found: \SMTP Server(_Total)\Messages Pending Routing: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:55:24: error:modules\CheckSystem\CheckSystem.cpp:1086: ERROR: Counter not found: \SMTP Server(_Total)\Messages Pending Routing: The specified object was not found on the computer. (C0000BB8)
2012-10-01 03:55:24: error:modules\CheckSystem\CheckSystem.cpp:1115: ERROR: \SMTP Server(_Total)\Messages Pending Routing: PdhAddCounter failed: The specified object was not found on the computer. (C0000BB8) (\SMTP Server(_Total)\Messages Pending Routing|\SMTP Server(_Total)\Messages Pending Routing)
2012-10-01 03:59:44: error:modules\CheckSystem\CheckSystem.cpp:1084: ERROR: Counter not found: \SMTP Server(_Total)\Remote Queue Length: The specified object was not found on the computer. (C0000BB8)
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Exchange Connection Refused

Post by yancy »

benningtonr,

It seems as if your performance count library may have some corruption.

The following explains how to rebuild performance counter library

http://support.microsoft.com/kb/300956

You'll want to take caution when following the instructions as it does require editing your registry (make a backup).

Regards,

-Yancy
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Exchange Connection Refused

Post by benningtonr »

this can be resolved, I have not seen it happen again
Locked