Re: [osmosis-dev] Patch: ReplicationLagReader

2010-07-27 Thread Peter Körner
Am 27.07.2010 10:38, schrieb Kai Krueger: What a coincidence. I also wrote a munin plugin to monitor minutely-diff replication lags on Sunday, not knowing anything about your effort. It was no big effort - one evening to learn about osmosis' task structure and to write the code and another eveni

Re: [osmosis-dev] Patch: ReplicationLagReader

2010-07-27 Thread Kai Krueger
Peter Körner wrote: >I also added a munin plugin that plots the replication lag into a >graph. >On some systems the plugin needs some extra time (upper munin-node >timeout) because of javas slow startup. What a coincidence. I also wrote a munin plugin to monitor minutely-diff replication lags on

Re: [osmosis-dev] Patch: ReplicationLagReader

2010-07-26 Thread Brett Henderson
Yep, go ahead and commit it. Keep an eye on the continuous integration server to ensure the build successfully completes: http://dev.openstreetmap.de:23457/hudson/job/osmosis-SNAPSHOT-ant/ You can trigger a build manually once you've checked in, although it will eventually start automatically (it

Re: [osmosis-dev] Patch: ReplicationLagReader

2010-07-26 Thread Peter Körner
Am 26.07.2010 21:15, schrieb Peter Körner: I fixed all this and attached a new version of the patch. Oops there was a bug in the munin script. Anyway - If it's ok for you I'd suggest to commit the changes myself (I already got a svn account) so that it's later clear who did what changes. Pe

Re: [osmosis-dev] Patch: ReplicationLagReader

2010-07-26 Thread Peter Körner
Am 26.07.2010 13:05, schrieb Brett Henderson: I'm happy to apply it, just needs a few cleanups first. * If you run "ant clean all" from the replication directory you'll notice it fails at the checkstyle step (You may need to run "ant publish" from the root directory first). Some

Re: [osmosis-dev] Patch: ReplicationLagReader

2010-07-26 Thread Brett Henderson
On Mon, Jul 26, 2010 at 7:40 PM, Peter Körner wrote: > Am 26.07.2010 10:01, schrieb Brett Henderson: > > > Hi Peter, > > > > You seem to have left my name as the author in some of the source > > code. > > Presumably that should be your name ;-) > Yes, I think so ^^ > > > > Can you let me know what

Re: [osmosis-dev] Patch: ReplicationLagReader

2010-07-26 Thread Peter Körner
Am 26.07.2010 10:01, schrieb Brett Henderson: > Hi Peter, > > You seem to have left my name as the author in some of the source > code. > Presumably that should be your name ;-) Yes, I think so ^^ > Can you let me know what the purpose of this is? Okay, I understand > that this is for "replicati

Re: [osmosis-dev] Patch: ReplicationLagReader

2010-07-26 Thread Brett Henderson
Hi Peter, You seem to have left my name as the author in some of the source code. Presumably that should be your name ;-) Can you let me know what the purpose of this is? Okay, I understand that this is for "replication lag", but what is it comparing? On first read it appears to be comparing th

[osmosis-dev] Patch: ReplicationLagReader

2010-07-24 Thread Peter Körner
Hi To learn a bit about the internal structure of osmosis I developed a new task in the "replication" section. It's basicly the same as the little replag script [1] I use on my servers. I also added a munin plugin that plots the replication lag into a graph. On some systems the plugin needs