Search This Blog

Friday, July 8, 2016

Skype for Business SCOM watchernode is not doing all tests

For syntetic tests in watcher we want to see all tests, but in one co nfiguration we see only 2-3 first test in Eventlog and that's it.   All manual tests are passing ok.

To debug we will run MainSTExecuter.ps1  (that's main script for watcher - it gets regenerated by SCOM agent and can be found in temp folders of monitoring agent on watcher). When we run the script (run as admin) we can see that it takes a lot of time to run each test due to error in autodiscovers HTTP. This port is closed, in favour of HTTPS. But for tests it is a big problem as timeouits gets accumulated and not enough time to run whole script inside 15 minutes.

We will disable this check

Set-CsWatcherNodeConfiguration -Identity "poo.fqdn" -UseAutoDiscovery $false

and now all tests are passing ok with no delays.

No comments: