Zabbix Agent extension to monitor CouchDB 3
Project description
This is an extension for the Zabbix Agent to enable it to monitor CouchDB 3 servers.
Requirements
Python 3.5+
Installation (agent side)
You first have to install the extension on the server that runs the Zabbix Agent.
From PIPY
Run the following command (as root):
pip3 install zabbix-agent-extension-couchdb3
Then copy the zabbix-agent-extension-couchdb3.conf file from this repository to the /etc/zabbix/zabbix_agentd.conf.d/ folder on the server.
And finally, restart the Zabbix Agent (with systemd: systemctl restart zabbix-agent).
Installation (zabbix side)
TODO (import template)
CLI Usage
This extension also provides a CLI to simplify debugging.
usage: zabbix-agent-extension-couchdb3 [-h] [--host HOST] [--port PORT] [--user USER] --password PASSWORD [--proto PROTO] [--show-json] [--show-stats] optional arguments: -h, --help show this help message and exit --host HOST The CouchDB server host (default: localhost) --port PORT The CouchDB server port (default: 5984) --user USER The username to use for the connexion (default: admin) --password PASSWORD The password to use for the connexion (mandatory) --proto PROTO The protocol to use (default: http) --show-json Display the raw JSON stats from CouchDB and exit (no stats will be sent to Zabbix) --show-stats Display the available stats with their values and description and exit (no stats will be sent to Zabbix)
Example: dumping CouchDB stats as JSON:
zabbix-agent-extension-couchdb3 --password=XXXXX --show-json
Example: displaying CouchDB stats in a more friendly format:
zabbix-agent-extension-couchdb3 --password=XXXXX --show-stats
Changelog
v0.1.1: Fixes an issue with the entry point
v0.1.0: Initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for zabbix-agent-extension-couchdb3-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 615a2775c28b1c57d594e4663f0a76e989fc787380689a4e5cbc7190a2179e81 |
|
MD5 | fdc80cccf3563823915c250c7228973a |
|
BLAKE2b-256 | 9fd0b15fc3da1471a90aa3ac8a41704c2d26631e9fb65f9f35f5e4aacaed3844 |