What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Search AD-Account Custom Sensor Error

Votes:

0

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.

active-directory custom-sensor error-messages exe-script-sensor powershell

Created on Apr 27, 2018 9:31:50 AM

Last change on Apr 27, 2018 10:06:01 AM by  Luciano Lingnau [Paessler]



1 Reply

Votes:

0

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

Created on May 1, 2018 6:04:16 AM by  Sven Roggenhofer [Paessler Technical Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.