Skip to content

James-Newman/ZenPacks.JanGaraj.DataMirroring

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

================================================ ZenPacks.JanGaraj.DataMirroring (beta) - code it

About

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.save() 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. Example codes are provided for mirroring to:

  • Carbon (Graphite)/Dataloop/InfluxDB
  • Horizon (Skyline)
  • OpenTSDB
  • collectd
  • Zabbix
  • MySQL/MariaDB
  • file

Use case

You want to test some cool feature (graphing/anomaly detection/analyzing/reporting/alerting) of another system, but you don't want to make full installation. So you can mirror current data from Zenoss to another system and you can test it.

Requirements

Zenoss

You must first have, or install, Zenoss 4. This ZenPack was tested against Zenoss 4.2.5. You can download the free Core version of Zenoss from http://community.zenoss.org/community/download.

Installation

Normal Installation (packaged egg)

Download the ZenPack code, edit init.py file and create your own egg file. Copy this file to your Zenoss server and run the following commands as the zenoss user.

zenpack --install ZenPacks.JanGaraj.DataMirroring-0.0.1.egg
zenoss restart

Developer Installation (link mode)

If you wish to further develop and possibly contribute back to the DataMirroring ZenPack you should clone the git repository, then install the ZenPack in developer mode using the following commands.

git clone git://github.com/jangaraj/ZenPacks.JanGaraj.DataMirroring.git
zenpack --link --install ZenPacks.JanGaraj.DataMirroring
zenoss restart

Thanks

About

Mirror collected Zenoss data realtime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%