This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

This is a simple webapp for presenting data as offered by Salt’s Redis Returner written in Flask.

A static demo is available here.

Features

  • a simple and responsive interface based on purecss (and their example email layout to be exact)

  • three main views:
    • a function view showing all minions that ran a particular function (as shown on the screenshot)
    • a history view for looking at a minion’s history with a specific function
    • a job view listing all minions which ran a specific job
  • a customizable navbar, which links to function views

  • searchpages for everything

  • live updates for the function view using websockets and Redis’ Keyspace Notifications

  • a collapsible representation of raw job data using the awesome renderjson

Running it from PyPI

Just install it using pip install saltobserver. As always, it is recommended to do so in a virtualenv. After that, the command run_saltobserver will be available within this virtualenv. If you want to use non-default settings (at least look at the defaults) prefix the command with export SALTOBSERVER_SETTINGS=/path/to/config. Other than that, you may pass gunicorn options to the run_saltobserver command, they will be passed on so that you can configure gunicorn for use with a proxy server.

A typical deployment could use this command with supervisord:

$ export SALTOBSERVER_SETTINGS=/home/saltobserver/config.cfg run_saltobserver -u saltobserver --bind unix:/var/run/saltobserver/socket

Running it with Docker

Install a recent docker version (at least 1.2) and run

git clone https://github.com/analogbyte/saltobserver.git
cd saltobserver
docker build -t saltobserver .
docker run -d --restart=always --name=saltobserver -p 8000:8000 -e REDIS_HOST=redis.example.org saltobserver

This exposes saltobserver to port 8000 and it tries to connect to redis.example.org as redis host. Change the env var or use docker links as suits your needs. Instead of building it yourself, feel free to use automated build from Docker Hub: docker pull analogbyte/saltobserver

Running it from Source

If your minions return their data to some Redis instance, it is as simple as cloning this repo running scripts/run_saltobserver (and putting that behind a reverse proxy, if needed). This uses Gunicorn, which is pretty flexible and can be configured for pretty much any setup.

Note that your Redis instance has to have a version greater than v2.8.0 for the live updates to work.

Also look at the configuration in saltobserver/config.py.

Release History

Release History

0.9.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
saltobserver-0.9.4.tar.gz (11.3 kB) Copy SHA256 Checksum SHA256 Source Jan 22, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting