Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Removing all periodic monitoring functionality from Rubix #10

dhruvbansal opened this Issue Jan 25, 2013 · 1 comment


None yet
2 participants

dhruvbansal commented Jan 25, 2013

I want to remove all functionality having to do with periodic monitoring of resources and writing data to Zabbix. Code like this is too installation specific. Rubix should provide a simple interface for querying the Zabbix API, not a fully-fledged monitoring framework.

The following files will be deleted:

  • lib/rubix/monitors.rb
  • lib/rubix/monitors/* and spec/rubix/monitors/*
  • lib/rubix/examples/*
  • lib/rubix/auto_sender.rb and spec/rubix/auto_sender_spec.rb
  • bin/zabbix_pipe

I will probably leave lib/rubix/sender.rb and spec/rubix/sender_spec.rb alone as you can make the case that the zabbix_sender utility sort of represents an API for Zabbix and so its sensible for Rubix to wrap it.

I think this is okey. I'll add an ruby version of zabbix_sender in future, so it'll be possible to send data to zabbix without creating a pipe to zabbix_sender.

And monitors/* classes seems useless for me too, we just use rubix as simple zabbix API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment