Skip to content

Monitoring an HTTP API

This tutorial will describe an efficient approach to monitoring data via a HTTP API. We’ll start by using zenpack.yaml to extend the Zenoss object model. Then we’ll use a Python modeler plugin to fill out the object model. Then we’ll use PythonCollector to monitor for events, datapoints and even to update the model.

For purposes of this guide we’ll be building a ZenPack that monitors the weather using the National Weather Service's weather API.

This tutorial assumes your system is already setup as described in Development environment and Getting started.

  1. NWS API
  2. Create the ZenPack
  3. Create a modeler plugin
  4. Add a device class
  5. Datasource plugin (events)
  6. Datasource plugin (data points)
  7. Datasource plugin (modeling)