upmon-graf

1.0.0 • Public • Published

upmon-graf

Graph upmon output.

Getting started

  1. npm install -g upmon upmon-graf

  2. Create a new $HOME/.upmonrc file and add config:

    {
      "ping": {
        // Time in ms between pings
        "interval": 5000,
        // URL's of services to ping
        "services": ["http://localhost:8000/"]
      },
      "graf": {
        // Port to run graf server on
        "port": 5000
      }
    }
  3. upmon | upmon-graf

  4. open http://localhost:5000

Build your own monitor

Want to run upmon from guvnor or pm2?

Create a new project, add a .upmonrc config file, install the upmon modules you need, and pipe them together!

monitor.js

var upmon = require('upmon')
var sms = require('upmon-sms')
var graf = require('upmon-graf')
 
upmon().pipe(sms()).pipe(graf()).pipe(process.stdout)
pm2 start monitor.js

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    8
    • latest

Version History

Package Sidebar

Install

npm i upmon-graf

Weekly Downloads

8

Version

1.0.0

License

ISC

Last publish

Collaborators

  • alanshaw