Hi, I have this cURL command curl --globoff -H "authorization:5v5wxxxxxxxxxxxxxxxxxxfO5Pvto" -i https://xxxxxxxxx.xxxxxxx.com/api/v1/getLastValue/19/3960ZYVGID8F/?items=[2000150227,2000150150]
I need to send --globoff parameter in cURL. Is this possibile with rest sensor? Ty
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Hi afnetsistemi
Thank you for the post, at this time our Rest sensors do not support turning off globs, but you can create an EXE/script sensor that uses curl https://www.paessler.com/manuals/prtg/exe_script_advanced_sensor
It would need to return something in the format:
<prtg> <result> <channel>First channel</channel> <value>10</value> </result> <result> <channel>Second channel</channel> <value>20</value> </result> </prtg>
More examples here: https://www.paessler.com/manuals/prtg/custom_sensors
Jul, 2023 - Permalink