ZenPack:Data Mirroring
- Author(s)
- Jan Garaj
- Current Maintainer(s)
- Jan Garaj
- Organization
- Jan Garaj
- License
- GNU General Public License, Version 2, or later
- ZenPack name
- ZenPacks.JanGaraj.DataMirroring
- More Information
- GitHub page/HomePage
- Git sources (for cloning)
- Link
Data Mirroring ZenPack
Warning
The ZenPack Catalog has moved to its new home at https://www.zenoss.com/product/zenpacks as of January 17, 2017. The following information may be out of date, and this page will eventually be removed.
Support
This ZenPack is developed by the Zenoss user community and supported via our online forums. Zenoss, Inc. does not provide direct support for this ZenPack.
Background
This ZenPack is not standard Zenpack Install&Use. It provides only example code to mirror Zenoss data into another (monitoring) systems. It's monkey patch for Products.ZenRRD.RRDUtil.RRDUtil.put() method, so you have to be 100% sure about your ZenPack code. Mirror tasks are executed in new threads and they don't block Zenoss RRDUtil code. It depends on your requirements, but probably you will need to implement some performance improvements (persistent connections/connection pool/...) for serious production service. Keep in mind also concurrency and timeouts problems in your code.
Example codes are provided for mirroring to:
Carbon (Graphite)/Dataloop/InfluxDB Horizon (Skyline) OpenTSDB collectd Zabbix MySQL/MariaDB file
Installation
Normal Installation (packaged egg)
- Download the appropriate egg file for the version of Zenoss you are running.
- Ensure you are logged in as the zenoss user:
$ sudo su - zenoss
- Install the ZenPack:
$ zenpack --install ZenPacks.JanGaraj.DataMirroring-*.egg
- Restart these services:
$ zenoss restart
Developer Mode Installation
In order to do a development mode installation you will want to clone the existing git repository, and then use the --link flag with the zenpack command:
- Ensure you are logged in as the zenoss user:
$ sudo su - zenoss
- Start by cloning the upstream repository:
$ git clone https://github.com/monitoringartist/ZenPacks.JanGaraj.DataMirroring.git
- Next, perform the installation:
$ zenpack --link --install ZenPacks.JanGaraj.DataMirroring
- Finally, restart these serivices:
$ zenoss restart
Discuss
New: Don't forget to add yourself to the Zenoss User Map!