Page 3 of 3

Re: Exchange Connection Refused

Posted: Thu Oct 04, 2012 3:24 pm
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...

Re: Exchange Connection Refused

Posted: Fri Oct 05, 2012 7:25 am
by benningtonr
I have an IP address

Re: Exchange Connection Refused

Posted: Fri Oct 05, 2012 10:21 am
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

Re: Exchange Connection Refused

Posted: Fri Oct 05, 2012 10:24 am
by yancy
benningtonr,

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

regards,

-Yancy

Re: Exchange Connection Refused

Posted: Fri Oct 05, 2012 10:39 am
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.

Re: Exchange Connection Refused

Posted: Fri Oct 05, 2012 10:43 am
by yancy
benningtonr,

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

Regards,

-Yancy

Re: Exchange Connection Refused

Posted: Fri Oct 05, 2012 10:54 am
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)

Re: Exchange Connection Refused

Posted: Fri Oct 05, 2012 11:10 am
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

Re: Exchange Connection Refused

Posted: Wed Dec 19, 2012 11:57 am
by benningtonr
this can be resolved, I have not seen it happen again