Hi,
im trying to set up an Allnet Temprature sensor. I found an article from Allnet (https://service.allnet.de/index.php?/Knowledgebase/Article/View/318/0/allnet-msr-und-prtg (only in german)) with an .template file.
{ "prtg":{ "result":[ { "value":{$[#0].name : $[*].value }, "float":1 } ] } }
When i put the .template file into the \Custom Sensors\rest folder i cannot select the template in the rest configuration drop down menu. I tried the webinterface as well as the desktop app from PRTG. Is there any function to refresh the rest configuration drop down menu?
Article Comments
Hello,
thank you for your answer. The template is in the "C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\rest" folder on the Server I start the PRTG Desktop App with IP 127.0.0.1 so it should be the right one.
The template File got the same permissions like the other .templates which are shown in the configuration.
As a test i copied an existing .template in the folder and renamed it but this file is also not shown in the rest configuration.
Sep, 2022 - Permalink
I found the problem, i did not know that every Probe got its own Custom Sensors\rest folder.
Thread can be closed. Thank you for your Help.
Sep, 2022 - Permalink
I was indeed thinking about this potential issue, I'm glad to hear that you already found it.
Have a nice day.
Sep, 2022 - Permalink
Hello,
Thank you for your message.
Regarding the REST template, it is not necessary to load them into PRTG like it would be necessary for a lookup. When adding the sensor, the list of templates is automatically generated from the Custom Sensors\rest folder.
Therefore, I invite you to check the following:
You should be able to use the template afterwards:
Regards.
Sep, 2022 - Permalink