→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !
11-07-2023 01:20 PM - last edited on 04-01-2024 02:02 PM by Mercedes_O
Hi everyone, I am trying to create a REST sensor (user definition) using Lansweeper API for PRTG and Lansweeper integration.
I am doing this according to the example below: https://blog.paessler.com/prtg-lansweeper-taking-the-un-out-of-unknown
However, on PRTG, I get the following error message: "Unable to load endpoint https://api.lansweeper.com/api/v2/graphql: expected status 200 OK but 400 Bad Request."
On the PRTG REST (custom) sensor addition page there is a warning: "This sensor is no longer supported and will be replaced in the future. Follow any XML or JSON REST API and map the JSON or XML result to the sensor values using a custom JSON template."
In this case, could the source of my problem be this sensor or a problem on the PRTG side?
or on the Lanasweeper side
as explained here: https://docs.lansweeper.com/docs/api/authenticate#personal-application
I have created a Personal Application for authentication. I can receive tokens, but I am a site member with administrator authorization, not the owner of the site from which I received them.
Thank you in advance to those who will share their experience to solve my problem in this regard.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now