pcp
[Top] [All Lists]

Re: [pcp] Detecting of a host is being logged by pmlogger

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] Detecting of a host is being logged by pmlogger
From: Chandana De Silva <chandana@xxxxxxxxxxxxx>
Date: Wed, 19 Feb 2014 19:27:39 +1100
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <255091837.10539721.1392785738351.JavaMail.zimbra@xxxxxxxxxx>
References: <530437C7.4040900@xxxxxxxxxxxxx> <255091837.10539721.1392785738351.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: chandana@xxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
Nathan

Thanks. I tried it, but it does not seem to have full information on remote clients, I am assuming either inst 48 or 50 is what I am looking for.


$ pminfo -ft pmcd.client.whoami

pmcd.client.whoami [optional identification information for clients of pmcd]
inst [40 or "40"] value "hr1.dom (192.168.x.y) pmie -b -h local: -l /var/log/pcp/pmie/hr1.m4u.com.au/healthstate.log -c healthstate.pmie" inst [44 or "44"] value "hr1.dom (192.168.x.y) pmie -b -h local: -l /var/log/pcp/pmie/hr1.m4u.com.au/pmie.log -c config.default" inst [47 or "47"] value "hr1.dom (192.168.x.y) pmie -b -h local: -l /var/log/pcp/pmie/hr1.m4u.com.au/config.linux.log -c config.linux"
    inst [48 or "48"] value ""
    inst [50 or "50"] value ""

  pmcd: Version 3.8.6-1

The IP address is the host ip address

On 19/02/14 15:55, Nathan Scott wrote:
----- Original Message -----
Does any one know of a way to detect if a remote pmlogger is connected
to a host.

I looked at the output from netstat (netstat -np | grep CONNECTED) and
did not see anything.

pminfo -ft pmcd.client.whoami

cheers.

--
Nathan

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