Skip to content

Instantly share code, notes, and snippets.

View vukomir's full-sized avatar

Vucomir Ianculov vukomir

  • localhost
View GitHub Profile
@vukomir
vukomir / cloud_watch
Created September 28, 2015 11:08 — forked from yokota-shinsuke/cloud_watch
Zabbix template for AWS/RDS and Ruby script for external check. The template includes Item definitions(all CloudWatch metrics), Graph definitions and Screen definition. Zabbix server needs role with to enough permissions to read CloudWatch and rubygem-aws-sdk. Put script "cloud_watch" at zabbix-server:/usr/lib/zabbix/externalscripts, add excite …
#!/usr/bin/ruby
require 'rubygems'
require 'aws-sdk'
require 'optparse'
params = ARGV.getopts(
"",
"region:",
"service:",