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.