Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block yokota-shinsuke

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
yokota-shinsuke / discover_s3
Created May 16, 2014
Monitor S3 with Zabbix
View discover_s3
require 'rubygems'
require 'aws-sdk'
require 'optparse'
require 'json'
discovery = {'data' => []}
s3 =
s3.buckets.each do |bucket|
yokota-shinsuke / cloud_watch
Last active May 25, 2018
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 …
View cloud_watch
require 'rubygems'
require 'aws-sdk'
require 'optparse'
params = ARGV.getopts(
You can’t perform that action at this time.