Page 1 of 4
nsclient not working on new exchange 2016 server
Posted: Thu May 17, 2018 9:59 am
by benningtonr
installed the client as I always do on our new exchange 2016 server, and `most checks are not working.
Exchange Core ServicesNotifications are disabled for this service Critical 6d 1h 26m 16s 5/5 2018-05-17 10:53:56 connect to address 192.168.99.28 and port 12489: Connection refused
Exchange Web ServicesNotifications are disabled for this service Critical 6d 1h 25m 38s 5/5 2018-05-17 10:54:38 connect to address 192.168.99.28 and port 12489: Connection refused
Messages Pending RoutingNotifications are disabled for this service Critical 6d 1h 24m 34s 5/5 2018-05-17 10:55:29 connect to address 192.168.99.28 and port 12489: Connection refused
Remote Queue LengthNotifications are disabled for this service Critical 6d 1h 27m 18s 5/5 2018-05-17 10:58:11 connect to address 192.168.99.28 and port 12489: Connection refused
SMTP, OWA and ping are working
Re: nsclient not working on new exchange 2016 server
Posted: Thu May 17, 2018 12:35 pm
by scottwilkerson
Check the windows firewall and verify that port 12489 is open and allowing traffic.
If this is the case for sure, please include you nsclient.ini for review
Re: nsclient not working on new exchange 2016 server
Posted: Thu May 17, 2018 1:01 pm
by benningtonr
I have actually turned the firewall off.
Re: nsclient not working on new exchange 2016 server
Posted: Thu May 17, 2018 2:35 pm
by scottwilkerson
That looks correct, is the service running?
Re: nsclient not working on new exchange 2016 server
Posted: Thu May 17, 2018 2:40 pm
by benningtonr
Yes the service is running, i even stopped and restarted, to no avail.
Re: nsclient not working on new exchange 2016 server
Posted: Thu May 17, 2018 3:11 pm
by scottwilkerson
I believe we need to remove this line from the config
Then restart the nsclient services
If it still does not work, please attach the nsclient.log
Re: nsclient not working on new exchange 2016 server
Posted: Thu May 17, 2018 3:20 pm
by scottwilkerson
You are likely going to also need to enable at a minimum these
Code: Select all
; Undocumented key
CheckHelpers = disabled
; Undocumented key
CheckDisk = disabled
; Undocumented key
CheckSystem = disabled
Which are currently disabled in the config
Re: nsclient not working on new exchange 2016 server
Posted: Fri May 18, 2018 8:18 am
by benningtonr
Okay I change all of the above and now i am getting this
Unknown command(s): check_service
Exchange Core ServicesNotifications are disabled for this service Unknown 3m 14s 5/5 2018-05-18 09:14:26 Unknown command(s): check_service
Exchange Web ServicesNotifications are disabled for this service Unknown 1m 15s 5/5 2018-05-18 09:16:25 Unknown command(s): check_service
Messages Pending RoutingNotifications are disabled for this service Unknown 5m 19s 5/5 2018-05-18 09:17:19 NSClient - ERROR: No performance data from command: check_pdh
OWA HTTPNotifications are disabled for this service Warning 7d 0h 31m 47s 5/5 2018-05-18 09:12:42 HTTP WARNING: HTTP/1.1 403 Forbidden - 129 bytes in 0.001 second response time
OWA HTTPS Ok 7d 0h 31m 13s 1/5 2018-05-18 09:13:15 HTTP OK: HTTP/1.1 302 Moved Temporarily - 294 bytes in 0.018 second response time
Ping Ok 7d 0h 35m 5s 1/5 2018-05-18 09:15:39 OK - 192.168.99.28: rta 0.253ms, lost 0%
Remote Queue LengthNotifications are disabled for this service Unknown 2m 39s 5/5 2018-05-18 09:15:01 NSClient - ERROR: No performance data from command: check_pdh
SMTP Ok 7d 0h 34m 0s 1/5 2018-05-18 09:16:50 SMTP OK - 0.003 sec. response time
Re: nsclient not working on new exchange 2016 server
Posted: Fri May 18, 2018 9:05 am
by scottwilkerson
Check_service is part of CheckSystem
Make sure you have
and you have restarted nsclient service after
Re: nsclient not working on new exchange 2016 server
Posted: Fri May 18, 2018 9:11 am
by benningtonr
I enabled them all at the same time.
I have attached a picture