Hi,
I have a question about passing parameters to PRTG. I want to access some data from the webpage of our company and write it in the form of channels with some values in PRTG. To enter the webpage, I have to login with my username and password. Now, I have passed them directly in the PhantomJS script, but I would like to pass them as parameters to PRTG, because then can anybody in my company access the Sensor with their own username and password. How can I do that? I tried it as follows: In my script, I defined the username and password as system.args[] and then tried to write it directly into the Parameters of the PRTG Sensor but it didn't work. I found something about placeholders but I don't understand it.
Best regards, Benjamin
Add comment