With a new custom sensor (created by our friend Gerard Feijth) it is now possible to use data from REST-like APIs as sensor data in PRTG. The sensor requests data from an HTTP or HTTPS URL (using GET), parses the XML results and uses selected data from the XML as sensor value in PRTG.
- Monitor the number of new and open tickets in our support ticket system (Fogbugz by FogCreek Software) in order to display the number in our company Intranet dashboard
- Monitor current weather conditions using Google.com, Wheatherbug.com, and www.weather.com, in order to control our datacenter cooling system by tracking outside and inside temperatures.
- Monitor the ranking of our domain Paessler.com on Compete.com
- Monitor the number of views of a photo of my photostream on Flickr.com, just for fun
Step-by-Step
- 1. Download the "XMLValue" sensor from http://code.google.com/p/prtg-addons/wiki/PTF_Custom_Sensors
- 2. Place the "xmlvalue.exe" file from your download into the folder PRTG Network Monitor\custom sensors\EXE of your PRTG installation (or into the same folder on your remote probe, if you want to use the sensor on a remote probe)
- 3. Create a new custom EXE sensor and select "xmlvalue.exe" as the exe file
- 4. Supply the necessary URL parameters for the sensor