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_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)://.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ambari_lld-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1155ae0fc99b12091d21925556efce69d361120d4cd4f92c25d80d4871dc095a |
|
MD5 | 883afa3cb9f90376ca05739a8e1f046c |
|
BLAKE2b-256 | 91c8fb2ce8309c27c4e0298408cd19758293b041ee8a59bb98315648c947547c |