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 files for ambari-lld 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ambari_lld-0.0.2.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ambari_lld-0.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 8.6 kB
Release files / ambari_lld-0.0.2.tar.gz
| Download URL | ambari_lld-0.0.2.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc1ed0384e416a3a215f1cc1044e646ec1ce732ab14a0ed1e68a4d42696eff79
|
|
BLAKE2b-256 checksum How to use checksums |
7e08e93f180f603aad13c61fd9f93c9375ff0381bb4c2b91567b4f6b51301f0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ambari_lld-0.0.2-py2.py3-none-any.whl
| Download URL | ambari_lld-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e84f1a0870a52c4141ba45b80be1930f2611c55186ec299589f81226566b94c7
|
|
BLAKE2b-256 checksum How to use checksums |
c27ccf06eb76ace4e8925eb6d1fb95c52f4b3b66bdde43de2db6ece8454ed382
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |