Hello Daniel,
we appreciate your contact.
Please have a look in the following PRTG program directory:
C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\rest\ |
You'll locate a file called wunderground.template, which is the one used for that blog post. The first lines of the file (it's a JSON template file, which can be opened with any text editor) will tell you how to use the file:
Device | api.wunderground.com |
Query | /api/<API-KEY>/conditions/q/pws:<STATION-ID>.json |
Comments | You need a custom api key from weather underground to access the api. Documentation and a free developer key can be found on https://www.wunderground.com/weather/api/ |
Deploying the sensor:
Essentially, this is what you need to get the sensor working. Create a new device with any name and the following address: api.wunderground.com
Head to the website and sign up, create an account, and note your <API-KEY> and <STATION-ID>.
Now in PRTG, deploy a new Rest Custom sensor. You'll need to update the following settings accordingly:
Query | /api/<API-KEY>/conditions/q/pws:<STATION-ID>.json |
Rest Configuration | wunderground.template |
Note the limit of daily requests for your free account and adjust the sensor's scanning interval accordingly. The sensor will display the weather information based on what the Weather API reports.
Best Regards,
Luciano Lingnau [Paessler Support]
Add comment