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?


Article Comments

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://helpdesk.paessler.com/en/support/solutions/articles/89606-rest-auth-token


Kind regards,
Felix Saure, Tech Support Team


Apr, 2022 - Permalink