[00:20] ion: talking of which [00:20] http://upstart.at/git/?p=scott/intendant.git;a=summary [00:20] could do with some testing [00:21] woot [00:21] basically you build it then do [00:21] sudo ./intendant /some/binary [00:21] I’ll try it out after some sleep. [00:21] in theory no binary should be able to escape it's supervision [00:21] if you can try it with a few favorite daemons and mail me the logs, that'd be great [00:21] (since it's also for comparing techniques) [00:21] Alright [00:26] What’s the clone URL? I guessed git://upstart.at/scott/intendant.git but it didn’t work. [00:26] Hey folks, how do I set the working directory for an upstart job? [00:27] SeveredCross: "chdir /working/directory" in the .conf file [00:27] Awesome, thanks. [00:27] ion: oh, does it not say? git://upstart.at/git/scott/intendant.git iirc [00:27] That was my second guess and it didn’t work either. :-) [00:28] weird [00:29] When using gitweb, one can add a file named ‘cloneurl’ to the root of each repository and the UI’ll display the contents. [00:30] That is, to the directory where ‘description’ goes as well. [00:33] try now [00:36] Works with /git/. (Btw, isn’t that redundant? When i’ve been running git-daemon i haven’t had the need to include that part in the clone URLs.) [00:36] yeah, turns out that is an option to git-daemon [00:36] I added --base-path=/git --base-path-relaxed now [00:36] so both should work [00:41] Yeah, works now. [06:17] My new upstart job needs DNS resolution to be working before it starts [06:17] What even do I "start on" ? [06:19] (This is on lucid, btw) [06:36] Probably networking. [06:36] I don't think there's anything more fine-grained that would get you /just/ DNS. [06:37] It didn't like networking [06:37] Based on what vsftpd does, I used start on (runlevel [2345] and net-device-up IFACE!=lo) [06:37] Which assumes there's only one iface, but that's OK for my immediate purposes [06:38] IIUC networking didn't work because the *network* comes up before dhclient finishes setting up the configuration recommended to it by the dhcp server [06:39] UGH, but now it isn't terminating properly [06:40] http://paste.debian.net/108031/ [06:40] http://paste.debian.net/108033/ [06:45] you could probably hook into a dhclient exit hook [06:45] or something like that [06:48] there should already be one... [06:49] at least, i thought there was [06:49] although come to think of it, the host I'm testing is in the dmz and has static networking [06:58] For some reason http://paste.debian.net/108034/ STARTS UP again during the shutdown sequence [07:09] I give up. I'll just remove the options where collectd needs name resolution, and hard-code IPs into its config file. [07:12] Ooh, I've been looking at deploying collectd, heh. [07:12] I want to collect data from my machines, relay it to a central box, and make pretty graphs so I can monitor them. [07:13] That's what I'm doing [07:13] I'll pastebin my build scripts for you [07:13] Oh, nice, thanks. [07:14] http://paste.debian.net/108035/ is the hub [07:14] http://paste.debian.net/108036/ is the spokes [07:14] (Note that the hub starts out as a spoke, so really hub = spoke+hub) [07:15] And the latter should also have an "apt-get install collectd-core" at the top. [07:15] Nice. [07:15] Thanks, I'll save those and work off of them. [07:17] Unless your spokes are all LXC containers, you'll want to add in a bunch more plugins, e.g. disk and network [07:17] Yeah, disk, network, processes and memory is what I want to monitor. [07:17] Ref. http://collectd.org/wiki/index.php/Table_of_Plugins [07:18] I'll probably end up graphing the data with rrdtool on the hub side, but I'm not sure how that's going to work [07:18] In my code, you can see I use collection3 to do it [07:18] Yeah. [07:18] It's at least as nice as munin [07:19] I'm just unsure if it's going to display all the machines in the same graph for any particular data type, or if it'll do graph per spoke per data type. [07:19] SeveredCross: collection3 can display all hosts for a graph, or all graphs for a host (or subsets of either). [07:19] Nice. [07:19] Each image is of one datum of one host [07:20] I'd like to at some point write a frontend for it that I can just connect to a connectd hub and it'll get the data, but that's far off in the future. [07:20] SeveredCross: well, collection3 does that -- you connect by way of HTTP :-P [07:21] :P [07:21] Or you could rsync the rrd databases over ssh, I guess [07:22] Yeah, but that's failure-prone, and why do that when I have a fancy VPN connection to the hub. :> [07:22] What, you run rsh instead of ssh on your private networks? [07:23] Heh, no, but I'm forgetful, and I don't like having lots of files on my home machine that I don't need. === apachelogger_ is now known as apachelogger === mezcaler1 is now known as mezcalero [19:54] keybuk: You’ve got mail. [20:54] ion: thx! === ion_ is now known as ion