I hereby claim:
- I am happymcplaksin on github.
- I am happymcplaksin (https://keybase.io/happymcplaksin) on keybase.
- I have a public key ASDOWMBlQtCiKlCN5Hv-JL6teDRpoT1PYqEsrWDkAQKBSAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| 2016/02/01 20:07:54 [INFO][iamacname.example.com] acme: Obtaining bundled SAN certificate | |
| 2016/02/01 20:07:54 [INFO][iamacname.example.com] acme: Could not find solver for: http-01 | |
| 2016/02/01 20:07:54 [INFO][iamacname.example.com] acme: Could not find solver for: tls-sni-01 | |
| 2016/02/01 20:07:54 [INFO][iamacname.example.com] acme: Trying to solve DNS-01 | |
| 2016/02/01 20:07:54 [INFO] acme: Please create the following TXT record in your DNS zone: | |
| 2016/02/01 20:07:54 [INFO] acme: _acme-challenge.iamacname.example.com. 120 IN TXT "pVPLrrztiNGjYSKfNvyKbJloXZBEB9aTGuHVDOeUF7w" | |
| 2016/02/01 20:07:54 [INFO] acme: Press 'Enter' when you are done | |
| 2016/02/01 20:07:54 [INFO] acme: You can now remove this TXT record from your DNS zone: | |
| 2016/02/01 20:07:54 [INFO] acme: _acme-challenge.iamacname.example.com. 120 IN TXT "..." | |
| panic: interface conversion: dns.RR is *dns.CNAME, not *dns.SOA |
| 2016/02/01 20:07:26 [INFO][iamacname.example.com] acme: Obtaining bundled SAN certificate | |
| 2016/02/01 20:07:27 [INFO][iamacname.example.com] acme: Could not find solver for: http-01 | |
| 2016/02/01 20:07:27 [INFO][iamacname.example.com] acme: Could not find solver for: tls-sni-01 | |
| 2016/02/01 20:07:27 [INFO][iamacname.example.com] acme: Trying to solve DNS-01 | |
| 2016/02/01 20:07:27 [INFO] acme: Please create the following TXT record in your DNS zone: | |
| 2016/02/01 20:07:27 [INFO] acme: _acme-challenge.iamacname.example.com. 120 IN TXT "Fx1t-6XpC7KpFjPZ3TtZJZKYCEBwCLEqtp3rVgaThDY" | |
| 2016/02/01 20:07:27 [INFO] acme: Press 'Enter' when you are done | |
| 2016/02/01 20:07:27 [INFO] acme: You can now remove this TXT record from your DNS zone: | |
| 2016/02/01 20:07:27 [INFO] acme: _acme-challenge.iamacname.example.com. 120 IN TXT "..." | |
| panic: interface conversion: dns.RR is *dns.CNAME, not *dns.SOA |
| #!/usr/bin/ruby | |
| require 'rubygems' | |
| require 'json' | |
| require 'yaml' | |
| user = ARGV[0] || %x{id -u -n}.strip | |
| if user == 'root' | |
| dir = "/var/lib/puppet/client_data/catalog" |
| require 'pp' | |
| facts2get = %w(orgName numberOfVApps memoryUsedMB memoryLimitMB memoryAllocationMB cpuUsedMhz cpuLimitMhz cpuAllocationMhz storageUsedMB storageLimitMB storageAllocationMB cpuOverheadMhz memoryOverheadMB storageOverheadMB) | |
| vcloud.get_execute_query("adminOrgVdc").body[:AdminVdcRecord].each do |vdc| | |
| facts = Hash.new | |
| facts2get.each do |fact| | |
| facts[fact] = vdc[fact.to_sym] | |
| end | |
| orgs[facts['orgName']] = facts | |
| end | |
| pp orgs |
| [{"name":"load","columns":["time","sequence_number","fqdn","path","ts","value"],"points":[[1384802851715,916,"kage.bor.usg.edu","5-minute","1384537501","0.780000"],[1384802851715,915,"kage.bor.usg.edu","5-minute","1384537621","0.790000"],[1384802851715,914,"kage.bor.usg.edu","5-minute","1384537562","0.650000"],[1384802851715,913,"kage.bor.usg.edu","5-minute","1384537681","0.900000"],[1384802851715,912,"kage.bor.usg.edu","5-minute","1384537741","1.050000"],[1384802851715,911,"kage.bor.usg.edu","15-minute","1384537501","0.830000"],[1384802851715,910,"kage.bor.usg.edu","15-minute","1384537621","0.820000"],[1384802851715,909,"kage.bor.usg.edu","15-minute","1384537562","0.780000"],[1384802851715,908,"kage.bor.usg.edu","15-minute","1384537681","0.850000"],[1384802851715,907,"kage.bor.usg.edu","15-minute","1384537741","0.910000"],[1384802851715,906,"kage.bor.usg.edu","1-minute","1384537501","0.450000"],[1384802851715,905,"kage.bor.usg.edu","1-minute","1384537621","1.070000"],[1384802851715,904,"kage.bor.usg.edu","1- |
| /var/lib/gems/2.0.0/gems/influxdb-0.0.8/lib/influxdb/client.rb:119:in `denormalize_series': undefined method `map' for nil:NilClass (NoMethodError) | |
| from /var/lib/gems/2.0.0/gems/influxdb-0.0.8/lib/influxdb/client.rb:104:in `block in query' | |
| from /var/lib/gems/2.0.0/gems/influxdb-0.0.8/lib/influxdb/client.rb:104:in `each' | |
| from /var/lib/gems/2.0.0/gems/influxdb-0.0.8/lib/influxdb/client.rb:104:in `query' | |
| from ./influxq:32:in `<main> |
| [ | |
| { | |
| "name": "load", | |
| "columns": ["fqdn","project", "role", "prodlevel", "stack", "minute","time","value"], | |
| "points": [ | |
| ["jazz.example.com","music","db" ,"prod","school1","1-minute", "TS","VALUE"], | |
| ["jazz.example.com","music","db" ,"prod","school1","5-minute", "TS","VALUE"], | |
| ["jazz.example.com","music","db" ,"prod","school1","15-minute","TS","VALUE"], | |
| ["jojo.example.com","dance","app","test","school2","1-minute", "TS","VALUE"], | |
| ["jojo.example.com","dance","app","test","school2","5-minute", "TS","VALUE"], |
| [ | |
| { | |
| "name": "load", | |
| "columns": ["fqdn","path","time","value"], | |
| "points": [ | |
| ["jazz.example.com","1-minute", "TS","VALUE"], | |
| ["jazz.example.com","5-minute", "TS","VALUE"], | |
| ["jazz.example.com","15-minute","TS","VALUE"], | |
| ["jojo.example.com","1-minute", "TS","VALUE"], | |
| ["jojo.example.com","5-minute", "TS","VALUE"], |
| #!/usr/bin/ruby | |
| require 'json' | |
| host = 'graphite.example.com' | |
| port = 2003 | |
| now = Time.now.to_i | |
| stats = '' | |
| # <metric path> <metric value> <metric timestamp> |