Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Ambari alerts as Zabbix LLD items

Project Description

This program connects to the Ambari server API and returns all the alerts associated to a given host as a JSON that can be easily parsed by Zabbix to create Low-Level-Discovered items.

Usage:

usage: ambari_zabbix_lld [-h] [-a AMBARI_ENDPOINT] [-u USER] [-p PASSWORD]
                [-n HOSTNAME]

Return a Zabbix LLD JSON resource for all available Ambari checks

optional arguments:
  -h, --help            show this help message and exit
  -a AMBARI_ENDPOINT, --ambari-endpoint AMBARI_ENDPOINT
                        Ambari API address
  -u USER, --user USER  Ambari user
  -p PASSWORD, --password PASSWORD
                        Ambari user password
  -n HOSTNAME, --hostname HOSTNAME
                        Filter alerts based on this hostname

By default -n has a value of * which means that no filters are applied to hostnames. You can pass an empty string if you want to retrieve alerts that are not assigned to any particular host. Obviously you can (and probably want to) pass an hostname to filter only relevant alerts.

The AMBARI_ENDPOINT URI must always begin with http(s)://.

Release History

This version
History Node

0.0.2

History Node

0.0.1

History Node

0.0.1a0

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
ambari_lld-0.0.2-py2.py3-none-any.whl
(5.3 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 May 12, 2017
ambari_lld-0.0.2.tar.gz
(3.3 kB) Copy SHA256 Hash SHA256
Source None May 12, 2017

Supported By

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