Open dhruvbansal opened 11 years ago
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.
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/*
andspec/rubix/monitors/*
lib/rubix/examples/*
lib/rubix/auto_sender.rb
andspec/rubix/auto_sender_spec.rb
bin/zabbix_pipe
I will probably leave
lib/rubix/sender.rb
andspec/rubix/sender_spec.rb
alone as you can make the case that thezabbix_sender
utility sort of represents an API for Zabbix and so its sensible for Rubix to wrap it.