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

Can PRTG auto generate REST API access token



Hi all,

I have a client ID and a secret for Crowdstrike API.

I want to use the custom REST V2 sensor. I need to provide a bearer token but I am unsure on:

  1. how do I generate it
  2. Crowdstrike bearer token only last for 30 minutes then needs renewing. How do I do that?

Can PRTG generate the token at a set interval and I can make it to be used in the Custom REST V2 sensor?

custom rest-api token

Created on Apr 11, 2022 6:32:40 PM

Last change on Apr 12, 2022 5:36:07 AM by  Felix Wiesneth [Paessler Support]

1 Reply



Hello Rippie,

Thanks for reaching out to us!

I'm afraid that the REST v2 Sensors are not capable of getting the token automatically. This needs to be done outside of PRTG in a custom script using the Exe Script (Advanced) Sensor.

For your reference and a script example, kindly take a look at this conversation: https://kb.paessler.com/en/topic/89606-rest-auth-token

Kind regards,
Felix Saure, Tech Support Team

Created on Apr 13, 2022 5:55:42 AM by  Felix Saure [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.