pcp
[Top] [All Lists]

Re: scale/coordinate pmie question

To: ti chi <tichi404@xxxxxxxxx>
Subject: Re: scale/coordinate pmie question
From: kenmcd@xxxxxxxxxxxxxxxxx
Date: Mon, 26 Jul 2004 10:39:54 +1000 (EST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <20040723011035.82028.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Ken McDonell <kenmcd@xxxxxxxxxxxxxxxxx>
Sender: pcp-bounce@xxxxxxxxxxx
On Thu, 22 Jul 2004, ti chi wrote:

> 
> been thinking much about this and have idea ? what
> about a ?event? pmda that coordinate and forwards pmie
> exception ?events? to master server?
> 
> when different customer running different pmie?s have
> a exception in their environment ? a pmie ?action? can
> forward the exception message to the event pmda that
> sends it to master server.  big problem would be
> getting those events into master pmie rule engine ?
> not clear how to do but looking at pmie code.
> 
> anyone tried this?  do any pcp experts have thoughts
> on this?

You've suggested something very simiilar to my initial response,
although couched 100% in PCP protocol framework.

One potential difficulty with using a nested PMDA like this is that
the pmcd-pmda protocols are inherently synchronous, so you'd need
to make the "event" pmda multi-threaded (or mulit-process) with one
side communicating to pmcd and the other listening for events from
the remote pmies.

Using smtp and a simple mail filter might be a quicker way to cobble
this together ... you could simply append the mail to a log file at
the central location and modify the weblog PMDA to export information
about the incoming alerts if you don't have some other form of event
handling framework at the central system.



<Prev in Thread] Current Thread [Next in Thread>