README.md in zabbix-ruby-client-0.0.7 vs README.md in zabbix-ruby-client-0.0.8
- old
+ new
@@ -24,13 +24,16 @@
cd [name]
bundle
# makes the zabbix-ruby-client [name] ready to run
# then edit config.yml according to your needs
- zrc
+ bundle exec zrc
# to list available commands
+ bundle exec zrc show
+ # to test the data collection
+
And when ready just install a cron task according to your environment
echo '* * * * * /bin/bash -lc "cd /path/to/zrc && bundle exec zrc upload"' | crontab
# or
echo '* * * * * /bin/zsh -c ". $HOME/.rvm/scripts/rvm && cd /path/to/zrc && bundle exec zrc upload"' | crontab
@@ -39,19 +42,22 @@
## plugins
There are a set of standart plugins included in the package, aimed at linux systems.
-* cpu (uses /proc/stat) [cpu_tpl](master/zabbix-templates/cpu_tpl.xml)
-* memory (requires iostat, apt-get install sysstat) [memory_tpl](master/zabbix-templates/memory_tpl.xml)
-* disk (requires iostat, apt-get install sysstat) [disk_tpl](master/zabbix-templates/disk_tpl.xml)
-* network (uses /proc/net/dev) [network_tpl](master/zabbix-templates/network_tpl.xml)
+* linux system stats ([system_tpl](master/zabbix-templates/system_tpl.xml) includes the floowing)
+ * load (uses /proc/loadavg) [load_tpl](master/zabbix-templates/load_tpl.xml)
+ * cpu (uses /proc/stat) [cpu_tpl](master/zabbix-templates/cpu_tpl.xml)
+ * memory (requires iostat, apt-get install sysstat) [memory_tpl](master/zabbix-templates/memory_tpl.xml)
+ * disk (uses /proc/diskstats) [disk_tpl](master/zabbix-templates/disk_tpl.xml)
+ * network (uses /proc/net/dev) [network_tpl](master/zabbix-templates/network_tpl.xml)
* apache (depends on mod_status with status_extended on) [apache_tpl](master/zabbix-templates/apache_tpl.xml)
You can add extra plugin directories in the configuration file.
## Todo
+* read /proc rather than rely on installed tools
* write tests
* add more plugins
* memcache
* redis
* mysql master/slave