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

Rotating Windows Credentials via the API

Votes:

0

Hello,

We need to remove shared credentials (Domain Admin specifically) from our PRTG implementation as part of our security review. I am wanting to automatically rotate Windows credentials for our servers via a scheduled script, but am not finding a way to change device credential settings via the PRTG API. Is this something the PRTG API supports?

Thank you.

credentials credentials-for-windows-systems windows

Created on Aug 24, 2020 9:08:45 PM



1 Reply

Votes:

0

Hello,

Thank you for your post.

It is possible to set new Windows credentials using the API. For this you can use the API call:

/api/setobjectproperty.htm?id=id_of_object&name=property_name&value=new_value

For this to work, the inheritance for the credentials needs to be disabled (assuming you already have credentials set, this is not necessary). The "property_name" parameter can be discerned by opening the "Settings" page of an object and looking at the HTML source of the INPUT fields. For example the INPUT field for the "Domain or Computer Name" field is "windowslogindomain_". Leave away the "_" and use the rest ("windowslogindomain") as a value for the "property_name" parameter.

Please use this API call with caution.


Kind regards,
Sasa Ignjatovic, Tech Support Team

Created on Aug 25, 2020 9:29:57 AM by  Sasa Ignjatovic [Paessler 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.