pcp
[Top] [All Lists]

Re: [pcp] Can the monitor and the collector run on different platforms,

To: Jun Wang <junwang123@xxxxxxxxx>
Subject: Re: [pcp] Can the monitor and the collector run on different platforms, Linux, Mac OS and Windows?
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 14 Dec 2012 18:49:30 -0500 (EST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <CANHDG4a9Bw+UZ7KoLeRqGYWy3tNR9ONWCngGxMgcZEqgswmjcw@xxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Hi Jun,

----- Original Message -----
> 
> Folks,
> 
> Can the monitoring software run on a different platform that the
> collector software runs? Here the platforms refer to Linux, Windows
> and Mac OS X and etc.
> 

Yes.  Both the wire protocol and the on-disk format for PCP archives
are platform neutral.  This includes 32/64 bit variants of the same
platforms, different distributions, etc, etc.  In an amusing extreme
case, the PCP testsuite contains PCP archives created on MIPS/IRIX in
early 1995 which can still be replayed with the current tools.

$ pmdumplog -l qa/src/babylon.percpu_v2.0
Log Label (Log Format Version 2)
Performance metrics from host babylon
  commencing Wed Jan 11 17:50:50.990 1995
  ending     Wed Jan 11 17:56:47.996 1995

> For example, can we use the pmchart on the MacBook laptop running Mac
> OS X to monitor servers running Linux on which Linux version of the
> PCP collecting software, i.e. a PMCD and many PMDAs, runs to provide
> metrics? i.e. does PMAPI/libpcp supports cross-platform peers?

Yes.  In a previous workplace, we routinely monitored remote Linux
and Windows production servers from Mac, Windows and Linux desktops.
Its considered a development requirement for us PCP devs that this
will always work.

> This isn't explicitly mentioned in PCP FAQ and I didn't find an
> answer with Google search either.

It should be in the FAQ I guess, its a big selling point over some
other comparable tools like sar.

cheers.

--
Nathan

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