Skip to content

zopar/pysensu

 
 

Repository files navigation

Sensu client for python

https://travis-ci.org/sangoma/pysensu.png?branch=master https://pypip.in/d/pysensu-ng/badge.png

This is a client to interact with the Sensu API

Features

  • Includes methods for some entrypoints (clients, events, checks, stashes) of the Sensu API (0.24) IMPORTANT: from 0.6.0 release we are supporting Sensu API 0.24+ .. backward compatibility with previous versions of Sensu API might be broken.
  • Includes methods for handle subscriptions info (nodes subscribed to a specific channel)

Trivial Example

from pysensu.api import SensuAPI

url = 'http://localhost:4567'
my_sensu = SensuAPI(url, username=username, password=password)
print(my_sensu.get_info())

About

Python Sensu Client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 90.5%
  • Makefile 9.5%