Skip to main content

[![Build Status](https://travis-ci.org/arachnys/cabot.svg?branch=master)](https://travis-ci.org/arachnys/cabot) [![PyPI version](https://badge.fury.io/py/cabot.svg)](https://badge.fury.io/py/cabot) [![Coverage Status](https://codecov.io/github/arachnys/cabot/coverage.svg?branch=master)](https://codecov.io/github/arachnys/cabot?branch=master) [![Requirements Status](https://requires.io/github/arachnys/cabot/requirements.svg?branch=master)](https://requires.io/github/arachnys/cabot/requirements/?branch=master) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Gitter](https://img.shields.io/gitter/room/arachnys/cabot.svg)](https://gitter.im/arachnys/cabot)

Cabot is a free, open-source, self-hosted infrastructure monitoring platform that provides some of the best features of [PagerDuty](http://www.pagerduty.com), [Server Density](http://www.serverdensity.com), [Pingdom](http://www.pingdom.com) and [Nagios](http://www.nagios.org) without their cost and complexity. (Nagios, I’m mainly looking at you.)

It provides a web interface that allows you to monitor services (e.g. “Stage Redis server”, “Production ElasticSearch cluster”) and send telephone, sms or hipchat/email alerts to your on-duty team if those services start misbehaving or go down - all without writing a line of code. Best of all, you can use data that you’re already pushing to Graphite/statsd to generate alerts, rather than implementing and maintaining a whole new system of data collectors.

You can alert based on:

We built Cabot as a Christmas project at [Arachnys](https://www.arachnys.com) because we couldn’t wrap our heads around Nagios, and nothing else out there seemed to fit our use case. We’re open-sourcing it in the hope that others find it useful.

Cabot is written in Python and uses [Django](https://www.djangoproject.com/), [Bootstrap](http://getbootstrap.com/), [Font Awesome](http://fontawesome.io) and a whole host of other goodies under the hood.

## Screenshots

### Services dashboard

![Services dashboard](https://dl.dropboxusercontent.com/s/cgpxe3929is2uar/cabot-service-dashboard.png?dl=1&token_hash=AAHrlDisUzWRxpg892LhlKQWFRNSkZKD7l_zdSxND-YKhw)

### Single service overview

![Individual service overview](https://dl.dropboxusercontent.com/s/541p0kbq3pwone6/cabot-service-status.png?dl=1&token_hash=AAGpSI6lyHm3-xCQSFOyyZ_SkJOzfdMIxfa-gYgCVS25pw)

## Quickstart

Using Docker: Deploy in 5 minutes or less using [official quickstart guide at cabotapp.com](http://cabotapp.com/qs/quickstart.html). (See also https://hub.docker.com/r/cabotapp/cabot/)

## How it works

Docs have moved to [cabotapp.com](http://cabotapp.com)

Sections:

For those who want to contribute:

## FAQ

### Why “Cabot”?

My dog is called Cabot and he loves monitoring things. Mainly the presence of food in his immediate surroundings, or perhaps the frequency of squirrel visits to our garden. He also barks loudly to alert us on certain events (e.g. the postman coming to the door).

![Cabot watching… something](https://dl.dropboxusercontent.com/sc/w0k0185wur929la/RN6X-PkZIl/0?dl=1&token_hash=AAEvyK-dMHsvMPwMsx89tSHXsUlMC8WN_fIu_H1Vo9wxWA)

It’s just a lucky coincidence that his name sounds like he could be an automation tool.

## API

The API has automatically generated documentation available by browsing https://cabot.yourcompany.com/api. The browsable documentation displays example GET requests and lists other allowed HTTP methods.

To view individual items, append the item id to the url. For example, to view graphite_check 1, browse: ` /api/graphite_checks/1/ `

### Authentication

The API allows HTTP basic auth using standard Django usernames and passwords as well as session authentication (by submitting the login form on the login page). The API similarly uses standard Django permissions to allow and deny API access.

All resources are GETable by any authenticated user, but individual permissions must be granted for POST, PUT, and other write methods.

As an example, for POST access to all status_check subclasses, add the following permissions: ` cabotapp | status check | Can add graphite status check cabotapp | status check | Can add http status check cabotapp | status check | Can add icmp status check cabotapp | status check | Can add jenkins status check `

Access the Django admin page at https://cabot.yourcompany.com/admin to add/remove users, change user permissions, add/remove groups for group-based permission control, and change group permissions.

### Sorting and Filtering

Sorting and filtering can be used by both REST clients and on the browsable API. All fields visible in the browsable API can be used for filtering and sorting.

Get all jenkins_checks with debounce enabled and CRITICAL importance: ` https://cabot.yourcompany.com/api/jenkins_checks/?debounce=1&importance=CRITICAL `

Sort graphite_checks by name field, ascending: ` https://cabot.yourcompany.com/api/graphite_checks/?ordering=name `

Sort by name field, descending: ` https://cabot.yourcompany.com/api/graphite_checks/?ordering=-name `

Other (non-Cabot specific) examples are available in the [Django REST Framework](http://www.django-rest-framework.org/api-guide/filtering#djangofilterbackend) documentation.

## License

See LICENSE file in this repo.

Metadata

Release files for cabot 0.11.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cabot 0.11.12
File Size Uploaded Provenance
cabot-0.11.12.tar.gz 9.2 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cabot 0.11.12
File Interpreter ABI Platform
cabot-0.11.12-py2-none-any.whl Python 2 none any Details

Total release size: 19.1 MB

Release files / cabot-0.11.12.tar.gz

Download URL cabot-0.11.12.tar.gz
Size 9.2 MB
Tags Source
SHA-256 checksum
How to use checksums
d82cd714c38495502c199f4e14621b8d293479542116dfa7a27e664184b16753
BLAKE2b-256 checksum
How to use checksums
482b641672e932f2a0e9871c745ee7b5e0617db170d7f31dfa1a1f2b72971fd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cabot-0.11.12-py2-none-any.whl

Download URL cabot-0.11.12-py2-none-any.whl
Size 9.9 MB
Tags Python 2
SHA-256 checksum
How to use checksums
d94335487b7a54d1901ee068ff467c2597ac6b3226954ad21877bf9073c417ea
BLAKE2b-256 checksum
How to use checksums
25c7ce7f89a43cd6bc7c90e5a7e5e03be5679e08df08b2a4a80eca1e3437c5b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cabot 0.11.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page