Hello there

As I tried to setup a custom sensor, using the code of a earlier post:

I received this error message:

Response not wellformed: "(WARNING: Error initializing default drive: 'Unable to find a default server with Active Directory Web Services running.'. <prtg> <result> <channel>Locked Out Users</channel> <value>4</value> </result> <text>krbtgt, random, Guest, DefaultAccount</text> </prtg> )" (Code: PE132)

I restarted the Service "Active Directory Web Services" to make sure it's running and changed the script from the link above a bit:

  • I added $WarningPreference = "SilentlyContinue" to suppress the Warning message (which obviously does't seem to work)
  • I added the options -Server $server and -Credential $credential to be sure the dafault server should be clear.

Any suggestions how to get this my "EXE/Script"-Sensor running? Thanks in advance.


Article Comments

Hey Campus,

The problem is the error message (WARNING: Error initializing default drive: 'Unable to find a default server with Active Directory Web Services running.'. which is part of the reply.

So, as long the error message is part of the reply, PRTG will be unable to interpret it correctly and you will always get the Response not wellformed: message.

Regarding, the error message, please refer to this article which might point you in the right direction.

Best regards,
Sven


May, 2018 - Permalink