Kerry DeVilbiss

Air Quality - Automatic by GeoIP Location

Recommended Posts

Our LogicMonitor headquarters are based in Santa Barbara, CA, which is currently experiencing the wrath of a large wildfire in the backcountry and overwhelming the city with ash and smoke. Monitoring the air quality and particulate levels can help provide information on whether or not it's safe and/ or appropriate to be outside with some form of respiratory protection. The datasource below retrieves Air Quality Index information from, including an overall health score, PM2.5 and PM10 levels, as well as Temperature, Humidity, and Pressure levels. This datasource can be applied to any device in the account; ultimately it will use the WAN IP (of the collector monitoring the device it is applied to) and will automatically attempt to GeoIP locate the closest Air Quality Station and start to monitor it.

If anyone's interested, reach out and I have a couple different versions of this - one that can search a keyword and return multiple stations in the area (and could be adjusted for any locale.)

The locator code for datasource 'AirQualityInformation_GeoIP' is: WCEXT3


Share this post

Link to post
Share on other sites

I cannon seem to figure out what I am doing incorrectly, I keep receiving 

Failed to execute the script - Cannot get property 'v' on null object
java.lang.NullPointerException: Cannot get property 'v' on null object
	at org.codehaus.groovy.runtime.NullObject.getProperty(
	at org.codehaus.groovy.runtime.InvokerHelper.getProperty(
	at org.codehaus.groovy.runtime.callsite.NullCallSite.getProperty(
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(
Any Ides on what I am doing incorrectly?
Edited by Mcooner

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.