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:

pipinstallsensucliOrclonetherepo: git clone https://github.com/dhutty/sensu-cli.git
pythonsetup.pyinstallUsageSeethebuiltinhelp: 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


Supported by

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