Skip to content

Instantly share code, notes, and snippets.

View sricola's full-sized avatar
🍦
searching for Ice Cream

Sri Ray sricola

🍦
searching for Ice Cream
View GitHub Profile
define command{
command_name notify-host-by-txt
command_line /usr/bin/printf "%b" "**$NOTIFICATIONTYPE$**\n$HOSTALIAS$\n$HOSTOUTPUT$\n$SHORTDATETIME$\n$HOSTACKAUTHORALIAS$\n$HOSTACKCOMMENT$" | /bitly/local/bin/python /bitly/bin/send_sns.py $CONTACTPAGER$
}
@sricola
sricola / sricola-public-key
Created April 30, 2013 15:56
sricola - public key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyMg3S7FzN4aRt7dKjv5JTpw9ahqtsbUkFBFMXSTbSqpMGwi88cilzyAQj85pM/RG7x4wncVR2Rf3YYOiyXDoeEmIAXLGPhZnPNLvqtQ8yNgLbikilUj8OknAnXeM79UmwUwNCPF07ftugPV+fblg578feO4i9bFzNksb/t1oTVc271ctVT1QQNisQxW09ldA7CV+vZhU0vSmFyCvq35JiiiXGdsW3g4MnGX424KaAndpTUhlxbNFLweFvY0CCSne4RSKKQtCKqMfYvklLuQcmf0x/iLzQTdjSw+b5L4VPg+U/r345iEJu34EZqIfqXuPVk8HFKNqqx1lAdKAeTTN1 sri@sri
This file has been truncated, but you can view the full file.
(1.7ms) BEGIN
E, [2013-05-07T00:36:52.908978 #21300] ERROR -- : /var/lib/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/relation.rb:159:in `to_a'
E, [2013-05-07T00:36:52.909207 #21300] ERROR -- : /var/lib/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:380:in `find_first'
E, [2013-05-07T00:36:52.909336 #21300] ERROR -- : /var/lib/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:122:in `first'
E, [2013-05-07T00:36:52.909465 #21300] ERROR -- : /var/lib/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:289:in `find_or_instantiator_by_attributes'
E, [2013-05-07T00:36:52.909579 #21300] ERROR -- : /var/lib/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/dynamic_matchers.rb:52:in `method_missing'
E, [2013-05-07T00:36:52.909697 #21300] ERROR -- : /var/lib/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/relation/delegation.rb:14:in `block in find_or_initialize_by_uuid'
E, [2013-05-07T00:36:52.909793 #
E, [2013-05-07T00:53:48.155081 #21933] ERROR -- : /usr/local/bin/unicorn:23:in `<main>'
E, [2013-05-07T00:53:48.174059 #21929] ERROR -- : /var/lib/gems/1.9.1/gems/newrelic_rpm-3.6.0.78/lib/new_relic/agent/method_tracer.rb:235:in `trace_execution_scoped'
E, [2013-05-07T00:53:48.174266 #21929] ERROR -- : /var/lib/gems/1.9.1/gems/newrelic_rpm-3.6.0.78/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:267:in `perform_action_with_newrelic_trace'
E, [2013-05-07T00:53:48.174326 #21929] ERROR -- : /var/lib/gems/1.9.1/gems/newrelic-grape-1.2.0/lib/newrelic-grape/instrument.rb:15:in `call!'
E, [2013-05-07T00:53:48.174371 #21929] ERROR -- : /var/lib/gems/1.9.1/gems/grape-0.3.2/lib/grape/middleware/base.rb:18:in `call'
E, [2013-05-07T00:53:48.174414 #21929] ERROR -- : /var/lib/gems/1.9.1/gems/grape-0.3.2/lib/grape/middleware/base.rb:24:in `call!'
E, [2013-05-07T00:53:48.174465 #21929] ERROR -- : /var/lib/gems/1.9.1/gems/grape-0.3.2/lib/grape/middleware/base.rb:18:in `call'
E, [2013-05-07T00:53:48.174513 #
This file has been truncated, but you can view the full file.
Device Load (2.1ms) SELECT `devices`.* FROM `devices` WHERE `devices`.`uuid` = '37D94E33-FC76-417A-818F-3BFEE2AFC3E5' LIMIT 1
User Load (2.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1557 LIMIT 1
Show Load (2.8ms) SELECT `shows`.* FROM `shows` WHERE `shows`.`live` = 1 AND (shows.id NOT IN (88,56,21,46,43,45,17,27,22,52,29,51,16,54,55,20,49,18,53,48,24,103,64,89,92,80,84,106,87,107,57,25,23,91,47,101,82,98,81,83,95,114,120,90,117,127,65,108,86,94,85,105,128,73,115,104,36)) ORDER BY RAND() LIMIT 3
(1.8ms) BEGIN
(2.0ms) UPDATE `users` SET `watched_show_ids` = '---\n- 88\n- 56\n- 21\n- 46\n- 43\n- 45\n- 17\n- 27\n- 22\n- 52\n- 29\n- 51\n- 16\n- 54\n- 55\n- 20\n- 49\n- 18\n- 53\n- 48\n- 24\n- 103\n- 64\n- 89\n- 92\n- 80\n- 84\n- 106\n- 87\n- 107\n- 57\n- 25\n- 23\n- 91\n- 47\n- 101\n- 82\n- 98\n- 81\n- 83\n- 95\n- 114\n- 120\n- 90\n- 117\n- 127\n- 65\n- 108\n- 86\n- 94\n- 85\n- 105\n- 128\n- 73\n- 115\n- 104\n- 36\n- 125\n- 44\n- 124\n', `personality` = '---\n- 17\n- 18\n- 5\n- 6\n- 11
E, [2013-05-07T01:02:19.661309 #22141] ERROR -- : app error: undefined method `collect' for nil:NilClass (NoMethodError)
E, [2013-05-07T01:02:19.661431 #22141] ERROR -- : /var/lib/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:384:in `block in tables'
E, [2013-05-07T01:02:19.661481 #22141] ERROR -- : /var/lib/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:259:in `execute_and_free'
E, [2013-05-07T01:02:19.661528 #22141] ERROR -- : /var/lib/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:383:in `tables'
E, [2013-05-07T01:02:19.661573 #22141] ERROR -- : /var/lib/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:390:in `table_exists?'
E, [2013-05-07T01:02:19.661619 #22141] ERROR -- : /var/lib/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/schema_cache.rb:30:in `table_exists?'
E, [20
Cheetah==2.4.4
Django==1.4.3
List==1.3.0
M2Crypto==0.21.1
PAM==0.4.2
PyYAML==3.10
Twisted-Core==11.1.0
Twisted-Names==11.1.0
Twisted-Web==11.1.0
apt-xapian-index==0.44
@sricola
sricola / resume
Last active August 29, 2015 14:16
Srivatsa Ray | hi@sri.so | 1.301.792.6027
# Profile
Fast paced systems/operations focused technology lover with a desire to make the
world a better place, one server at a time.
# Skills
Amazon Web Services (AWS - EC2, RDS, S3, CloudFront, ELB and all that other fun stuff),
alicloud (China’s white box clone of AWS), puppet, python (scripting skills),

Keybase proof

I hereby claim:

  • I am sricola on github.
  • I am sricola (https://keybase.io/sricola) on keybase.
  • I have a public key whose fingerprint is BC82 FF21 E287 7AD5 DAD9 65D5 A567 0E9D 37C5 5F2D

To claim this, I am signing this object:

+ module.shared.aws_elasticache_parameter_group.default
description: "" => "Cache cluster default param group; allows append only file"
family: "" => "redis2.8"
name: "" => "rig-dataprod-default"
parameter.#: "" => "2"
parameter.1256273689.name: "" => "maxmemory-policy"
parameter.1256273689.value: "" => "volatile-lru"
parameter.283487565.name: "" => "appendonly"
parameter.283487565.value: "" => "yes"