[EMAIL PROTECTED] writes:

> I was assuming that the normal host ping (done
> for the host check) would still be done by nagios.  I guess your
> goal is to get rid of this.

Most of our clusters are built around a private network. The nodes
aren't reachable from outside the cluster, so the Nagios host can't
ping them. That's a rather common architecture.

But what you said about caching made me think; an external process
could pull down the Ganglia XML data, parse it and keep the data in
memory in cooked form as a snapshot of the state of the "grid". Nagios
plugins then could query that snapshot by some suitably lightweight
RPC mechanism. Or you could store the cooked data on disk in some
suitably clever file structure and let the plugins read that.

That way you can let Nagios do active service checks, and also use the
Ganglia data for host checks (using the REPORTED attribute), without
the overhead of re-parsing the entire XML data set for each check.

Hmm. That could fly.

Also, even if I haven't paid close attention, I understand Matt is
adding clever query mechanisms to Ganglia 3. If that turns out
light-weight enough, you could dispense with the whole caching
mechanism above, and let the Nagios plugins query gmond instead.

I like Nagios, mostly, and use it for everything else, so a connector
between Nagios and Ganglia would be very nice. Let me think about
this.

-- 
Leif Nixon                                    Systems expert
------------------------------------------------------------
National Supercomputer Centre           Linkoping University
------------------------------------------------------------

Reply via email to