Metadata-Version: 2.0
Name: ambari-lld
Version: 0.0.1
Summary: Ambari alerts as Zabbix LLD items
Home-page: https://github.com/vide/zabbix_ambari
Author: Davide Ferrari
Author-email: vide80@gmail.com
License: GPLv2
Keywords: ambari zabbix lld
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Topic :: System :: Monitoring
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Requires-Dist: requests

============================
Ambari alerts LLD for Zabbix
============================

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_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 (http://localhost:8080)
    -u USER, --user USER  Ambari user (admin)
    -p PASSWORD, --password PASSWORD
                          Ambari user password (admin)
    -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.

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



