On Fri, Mar 7, 2008 at 5:09 AM, Igor Rosenberg <[EMAIL PROTECTED]> wrote: > Hi > > " Something that might throw an event or email when certain things > happen in the system. " > I totally agree with this view. I use ganglia to monitor the system, and > am trying to develop an alert system (written in java GT4 WS-Core) based > on the result. So in my case, I mostly have to read the last events of > the system. > >From the discussion of this thread, I can see two options: > - have an open socket on gmetad:8651, and parse this data, which > represents the last metrics at the point of time the socket was polled. > In this case, is it possible to keep the socket open and issue a command > which only provides metrics passed on a filter (e.g. a given host, or a > given metric) ?
Rudimentary filtering already exists on the "interactive" port: 8652. See this thread for details on the current implementation: http://www.mail-archive.com/[EMAIL PROTECTED]/msg03619.html Basically, you can restrict the output by /cluster, /cluster/host, and /cluster/host/metric. However, you cannot currently query for "cpu_user" from all hosts (yet). There was some discussion at the recent meet-up about extending this somewhat. -- Jesse Becker GPG Fingerprint -- BD00 7AA4 4483 AFCC 82D0 2720 0083 0931 9A2B 06A2 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

