[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (delta-)syncrepl and nagios

On Mon, 2006-02-06 at 14:41 -0500, Aaron Richton wrote:
> That's been on my todo list for over a year now. (So I'll join in the
> request for a copy if there is such a script!)
> If anybody does write this, it's important to note that something that
> strictly compares contextcsns is likely useless (I think it would just be
> a false positive disaster). Replication doesn't happen instantly; there
> should be some sort of configurable threshold for "csns should be within
> <time>".
> I've been meaning to ask the list: how many of you check up on your slaves
> from a consistency perspective? What do you do? (contextcsn is the
> approach I've wanted to take. Every time I get annoyed enough to write a
> nagios plugin, I notice that everything is in sync and defer it...)
> On Mon, 6 Feb 2006, Francis Swasey wrote:
> > Has anyone already written a script to allow nagios to check the
> > contextcsn value of a replica against the one on the master and
> > determine if it is in sync or not?
> >
> > If so, may I borrow your work?

Is it as simple as comparing the contextCSN of the provider and the
consumer? If yes, I'll write a Python script for that.

Samuel Tran <stran@amnh.org>
Systems Administration - Information Technology
American Museum of Natural History
(P) 212-313-7231