Hi, how to use the PrtgApi in Powershell to add a sensor to a device?
For example: I want to add a simple ping sensor that already exist in Powershell.
Can not find anything in the wiki. The cmdlet "new-sensor" only support the creation of the following sensor types: EXE/Script Advanced WMI Service HTTP Sensor Factory
maybe someone has an idea?
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Hi there,
Please note that the PRTG API from LordMilko is not supported by Paessler. If you want more information about the API, please check this site: https://github.com/lordmilko/PrtgAPI
Jan, 2020 - Permalink
https://helpdesk.paessler.com/en/support/solutions/articles/79033-adding-new-sensors-using-prtg-api#reply-271495
Jan, 2020 - Permalink