Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 853 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 853 Bytes

Whiskerboard-tools

whiskerboard-tools contains a set of modules/tools I am using with our api-based whiskerboard setup.

Quick start guide

$ git clone [email protected]:sijis/whiskerboard-tools.git
$ cd whiskerboard-tools
$ sudo pip install -r requirements.txt (if any)
$ add whiskerboard-tools to your python path

Quick Usage

import whiskerboard

status = whiskerboard.WhiskerBoard(host='status.example.com', port='80')

# enter logic to determine the status of your services
# status.update_status(<status>, <mesassge>, <service-name>)

status.update_status('up', 'All services operational.', 'app1')
status.update_status('down', 'All services are down.', 'app1')
status.update_status('warning', 'Services are degraded.', 'app1')