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 Sunday, not knowing anything about your effort.

It is simple shell script, that reads a local state.txt file of the rendering db and compares it to current time, (assuming that the system clock is correctly synchronized).

Jon Burgess subsequently fixed up the code and deployed it on yevaud (the OSM tile server). http://munin.openstreetmap.org/openstreetmap/yevaud.openstreetmap/replication_delay2.html

It would also be easy to include the state.txt on planet.osm.org too, to see how much of the lag comes from the local osm2pgsql import and how much of the lag comes from osmosis generating the diff files in the first place (which partly seems to be the bigger factor at the moment)

Kai




_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to