Good afternoon Paessler. I am using the gettreenodes api call to produce weekly reports on the status of our sensors however am having issues calling this remotely as it does not appear to accept &username=&passhash authentication when called upon from a script.

Is there any way i can remotely authenticate this request or failing that turn off whatever is requesting a login as publicly visible paused device stats doesn't really threaten security.

Happy fridays :)

sam


Article Comments

Hello there,
thank you for your KB-Post.

The first parameter in the call needs to be invoked using ?. The & is only used for additional parameters. This means that you can easily invoke api/gettreenodestats.xml with the following URL's:

  • /api/gettreenodestats.xml?username=prtgauser&passhash=user_passhash
  • /api/gettreenodestats.xml?username=prtgauser&password=user_password

Best Regards,


Nov, 2017 - Permalink