<?xml version="1.0"?>
<config>
<apicredentials apikey="%API_KEY%" secretkey="%SECRET_KEY%"/>
<agent name="Weather monitor" interval="300">
<monitor name="Weather in Sunnyvale">
<url>
<url>http://weather.yahooapis.com/forecastjson?w=2502265</url>
<http_statistics>1</http_statistics>
</url>
<metric name="Temperature">
<type>integer</type>
<uom>F</uom>
<json>{'forecast'}[0]->{'low_temperature'}</json>
</metric>
</monitor>
</agent>
</config>