00:09:49  * kazuponquit (Remote host closed the connection)
00:45:53  * Akagi201joined
01:16:35  * kazuponjoined
01:26:19  * DarkGodquit (Ping timeout: 250 seconds)
01:31:48  * kazuponquit (Remote host closed the connection)
01:33:10  * kazupon_joined
02:43:12  * kazupon_quit (Remote host closed the connection)
03:13:50  * hdmsquit (Quit: hdms)
03:24:30  * kazuponjoined
03:30:10  * kazuponquit (Ping timeout: 272 seconds)
03:37:52  * kazuponjoined
03:46:08  * kazuponquit (Remote host closed the connection)
04:26:59  * hdmsjoined
04:33:48  * hdmsquit (Quit: hdms)
04:43:19  * kazuponjoined
05:00:43  * erlbot--_joined
05:01:57  * erlbot--quit (Read error: No route to host)
05:07:25  * SkyRocknRolljoined
05:43:55  * SkyRocknRoll_joined
07:22:21  * DarkGodjoined
08:09:36  * kazuponquit (Remote host closed the connection)
08:30:35  * kazuponjoined
10:05:55  * Akagi201quit
11:07:58  * kazuponquit (Remote host closed the connection)
11:16:37  * kazuponjoined
12:04:31  * kazuponquit (Remote host closed the connection)
12:04:58  * kazuponjoined
12:09:11  * kazuponquit (Ping timeout: 246 seconds)
13:05:33  <rphillips>good morning
13:42:04  * SkyRocknRoll_quit (Ping timeout: 265 seconds)
14:22:21  * dan336joined
14:34:59  * KennethWilkejoined
14:35:15  * kazuponjoined
15:05:47  <rphillips>https://github.com/virgo-agent-toolkit/rackspace-monitoring-agent/pull/757
15:14:54  <creationix>mornin
15:21:00  * kazuponquit (Remote host closed the connection)
15:21:26  * kazuponjoined
15:24:43  <creationix>rphillips: is friday hackday still a thing? I never had it explained to me and never bothered because I felt like every day was hackday.
15:24:57  <rphillips>:)
15:25:14  <rphillips>it's every other week on friday, AFAIK
15:25:31  <rphillips>i would say go for it
15:25:59  * kazuponquit (Ping timeout: 265 seconds)
15:53:07  <creationix>rphillips: what's the protocol for custom agent plugins? As I understand it's unstructured data for config and for the response data?
15:53:35  <rphillips>correct. the plugin writes to stdout
15:53:37  <rphillips>i'll find the doc
15:54:04  <creationix>what keeps a plugin from doing bad things? There is no sandboxing is there?
15:54:17  <rphillips>http://docs.rackspace.com/cm/api/v1.0/cm-devguide/content/appendix-check-types-agent.html#section-ct-agent.plugin
15:54:23  <rphillips>'Creating custom plugins'
15:54:39  <rphillips>creationix: no... it runs in a subprocess
15:54:59  <rphillips>customer drops it into a predetermined directory on the filesystem
15:55:27  <rphillips>https://github.com/racker/rackspace-monitoring-agent-plugins-contrib
15:55:35  <rphillips>here are some plugins people have contributed
15:55:49  <creationix>I see, what's the customer facing gui for creating/configuring these
15:55:58  <rphillips>none
15:56:16  <rphillips>usually they get deployed with their OS image, or with ansible/chef/etc
15:56:25  <creationix>I mean on the API side
15:56:30  <rphillips>ah
15:57:19  <rphillips>raxmon-checks-create --type=agent.plugin
15:57:22  <creationix>I don't see a "custom" type in reach
15:58:30  <rphillips>raxmon-checks-create --type=agent.plugin --details=file=plugin.sh
15:58:40  <rphillips>you can also have args and a plugin timeout
15:58:56  <creationix>I wonder if I can pass an entire lisp or lua script as an arg
15:59:34  <creationix>what's the constraints on the arg encoding (length, must be unicode?)
15:59:49  <rphillips>looks like we can't create custom checks within reach
16:01:18  <creationix>that's fine, but will the results at least be visible in reach?
16:02:00  <rphillips>yes, the metrics should be visible
16:02:04  <rphillips>and the check should be as well
16:02:50  <creationix>cd: The directory “/usr/lib/rackspace-monitoring-agent/plugins/” does not exist
16:03:04  <creationix>do we normally need to create the directory manually when adding a custom plugin?
16:04:55  * hdmsjoined
16:09:58  * SkyRocknRoll_joined
16:15:17  * SkyRocknRoll_quit (Remote host closed the connection)
16:20:50  * kazuponjoined
16:52:28  <rphillips>yeah, I don't think it gets created automaticlaly
17:43:27  * kazuponquit (Remote host closed the connection)
17:45:10  * kazuponjoined
18:32:17  * dan336quit (Quit: Leaving.)
18:35:38  * kazuponquit (Remote host closed the connection)
19:11:27  * dan336joined
19:28:02  * sousouxjoined
19:29:46  <sousoux>creationix: I think I found a little bug in lit
19:30:11  <sousoux>In the error handled in the serve.lua command
19:30:25  <sousoux>Around here: if not success then
19:30:25  <sousoux> log("client error", err, "err")
19:30:25  <sousoux> remote.writeAs("error", string.match(err, ":%d+: *([^\n]*)"))
19:30:25  <sousoux> remote.close()
19:30:25  <sousoux> end
19:30:44  <sousoux>I don't think remote has a close method
19:31:22  <sousoux>Found this while debugging proxy issues. I've never seen the problem but then I never seen the error.
20:14:16  * SkyRocknRollquit (Remote host closed the connection)
20:26:41  * KennethWilkequit (Quit: Leaving)
21:10:06  <rphillips>creationix: https://gist.github.com/rphillips/8e996de28468b6a6209f
21:10:17  <rphillips>got the preamble of the ssh protocol parsed
21:11:19  <rphillips>is there a way to do this better with the coro-wrapper?
21:15:11  * kazuponjoined
21:20:00  * kazuponquit (Ping timeout: 252 seconds)
22:10:09  * hdmspart
22:14:16  * hdms_joined
22:40:30  * hdms_quit (Quit: hdms_)
22:44:16  <creationix>rphillips: string.char takes more than one argument
22:44:41  <creationix>string.char(1, 2, 3, 4) is much better than table.concat({string.char(1),string.char(2),string.char(3),string.char(4)})
22:45:52  <creationix>and for the giant message struct, I might use luajit's ffi. But it's not a big deal since this is just once per connection
22:46:15  <creationix>pretty cool though!
22:57:00  * dan336quit (Quit: Leaving.)
23:19:46  * songgaoquit (Ping timeout: 256 seconds)
23:31:07  * kazuponjoined
23:34:18  * songgaojoined
23:39:12  * kazuponquit (Ping timeout: 272 seconds)