Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

With the introduction of the Extension Manager in up.time 7.3, plugins and gadgets are now even easier to install then ever before. As part of this change, we 've have also posted the source code for all our plugins on github. Which provides some great examples and Use these examples as starting templates for building your own plugins. This doc will explain the general concepts that go into script based plugins, and walk through a simple example from the-grid to explain howto plugin your own plugin monitor for up.time. 

Plugins

What's a plugin?

Plugins are custom service monitors that allow up.time to monitor and collect metrics from a variety of different sources. In most cases they're a combination of XML which defines the input and output variables, and some simple shell scripts that handle the actual task of monitoring. These monitors usually consists of some sort of login or connectivity check, as well as exposing key metrics in a format that can be understood by up.time.  The specifics of the scripts themselves depend on what protocol and libraries are required to the talk to device/system/service on the other end. But this doc will explain howto use element details from up.time to control where these scripts are targeted. As well howto define your own input variables that are stored as service monitor settings in the up.time.

...