Skip to main content

A convenient CLI around some of the Sensu ReST API

Project description

sensu-cli
=========

version number: 0.1.0
author: Duncan Hutty

Overview
--------

A convenient CLI for some of the [Sensu REST API].

[Sensu REST API]: https://sensuapp.org/docs/0.28/api/

Installation
------------

To install use pip:

$ pip install sensu-cli

Or clone the repo:

$ git clone https://github.com/dhutty/sensu-cli.git
$ python setup.py install

Usage
-----

See the built-in help:

$ sensu --help
Usage: sensu [OPTIONS] COMMAND [ARGS]...

Options:
-l, --log-level [ERROR|INFO|DEBUG]
Specify log verbosity.
-u, --username TEXT Sensu username.
-p, --password TEXT Sensu password.
--scheme [http|https] Specify protocol [default: http]
--server TEXT Specify the Sensu server [default:
localhost]
--port INTEGER Specify the Sensu port [default: 4567]
--help Show this message and exit.

Commands:
info Show info about the Sensu API
silence Create Silence
silenced List Silences
subs Show info on subscriptions
unsilence Clear silencing


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sensu-cli-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

sensu_cli-0.1.0-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sensu-cli-0.1.0.tar.gz.

File metadata

  • Download URL: sensu-cli-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sensu-cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a9799dd303c7eebf5da57bb2ae64e8c4e271c3ffbaef2d397c726503897a6f8c
MD5 494230e2043ea53204b6327379c4d830
BLAKE2b-256 c5772f0950ab086b0adcd4ae82fe4d5ec7726759fc1f640dee9c107394323bf9

See more details on using hashes here.

File details

Details for the file sensu_cli-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sensu_cli-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6da86f6c89fcf66aa3061475b265ddd50fbb5742e7eafe4ea16ac1f5b840f9d6
MD5 958d7135961fdd06366bfc41a3fc2bdb
BLAKE2b-256 32b9ed7d3b89b9555e890e1a291bd4f59890eff2108a46072aeb0c671928cf07

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page