What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Powershell class for Custom Sensor Result

Votes:

0

Your Vote:

Up

Down

Hi all,

I've been writing a lot of custom scripts to be used with PRTG in the past years. Most of these were written in Powershell. A few months ago, I started playing with Python scripts in PRTG and I noticed there's a CustomSensorResult class available which makes outputting the correct JSON Format a piece of cake.

So I started to study that class and finally ended up in creating a similar class to be used in PowerShell scripts. It is still a work in progress, but the current version can already be used except for the limit (warning/error) options on channels.

More information can be found on https://itpro.peene.be/prtg-powershell-class-for-custom-sensor-results/

Feel free to use it. I'll be happy to hear your comments.

custom-sensor powershell prtg

Created on May 26, 2021 3:30:52 PM by  Mickeybyte (10) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hi Mickey,

Thank you for sharing!


Kind regards

Felix Wiesneth - Team Technical Support

Created on May 26, 2021 8:14:24 PM by  Felix Wiesneth [Paessler Support]



Please log in or register to enter your reply.


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.