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

XMLEXESENSOR: Access to Webapplication with plain Text Credentials

Votes:

0

Good Day to you, I've configured an xmlexesensor. In this Sensor i have to run a Powershellscript to access to a Webapplication with active Directory based User credentials. The Ps1-Script with the folowing paramters, works fine.

-BaseURL "https://Website/" -Username <username@domain> -Password <Password> -ModuleType "Job" -ModuleList <module1>, <module2> .

What can i do, to run the script without credentials in Parameters? I've tried to activate "credentials for Windows Systems", set the domain credentials there und cut off username and password out of the parameters. it doesn't work. What can i do? do i have to configure placeholders as %username %password in the parameterstring? What would be a correct syntax?

Many thanks and regards pascal

json powershell webapplication xmlexesensor

Created on Sep 8, 2022 7:34:48 AM

Last change on Sep 8, 2022 3:13:56 PM by  Felix Wiesneth [Paessler Support]



2 Replies

Votes:

0

Hello Pascal,
You find all available parameters here. Regarding how to use and test them, please have a look here: https://kb.paessler.com/en/topic/11283

You should be able to use the following:

-BaseURL "https://Website/" -Username '%windowsuser' -Password '%windowspassword' -ModuleType "Job" -ModuleList <module1>, <module2> .

Created on Sep 9, 2022 10:40:35 AM by  Timo Dambach [Paessler Support]



Votes:

0

Good morning Timo perfect! It works! Many thanks! regards pascal

Created on Sep 12, 2022 6:02:22 AM




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.