pcp
[Top] [All Lists]

Re: [pcp] Help with Python API

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] Help with Python API
From: Rohan Arora <rarora2012@xxxxxxxxx>
Date: Wed, 01 Jul 2015 16:07:44 +0000
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=5ROVqOZAC2jfEC9EWdzvPMxBHGQ2/TSO5clUaU/pEro=; b=rv8vGGpaKUOfmOsJAmmziaROqLh7W31U6M6N5WcfgylnYDf4g3zbxOh1kfkBYwYAmo Psuam4vUOWrsojZMmK1Iw0MkgiIspiWlR2+QRDeBKF19a6eXwLCejKhKMfEXGH0ro2QY /aOrk57tvyE1J8IcMm/5E9YqxpKUESBhU700WryGjIA6/SaRR1lilGmIZS7nATxScPD9 iIWkPT/cAc4PqT1yX1OglvD+g40VKalvFU3I3NSBtMp1AiB1/y7Qauyd3MA81xqKMLF6 UzBPX0RE65/z8wBue3oe5mqOq60CRm6eXDm64HL7EO6TDzAjvtJQsWCqVImL921qNdg/ dQ4w==
In-reply-to: <337532723.28653925.1435618315696.JavaMail.zimbra@xxxxxxxxxx>
References: <CANbxzdXmsRFyF_J_7c93uBuKWJHZikoRs6xmSPQC91rALtZbNA@xxxxxxxxxxxxxx> <CANbxzdXGZosHkKZXrcvJMoaPb=2YOY7_Rhw6cs2y-vp0Jhj8Vg@xxxxxxxxxxxxxx> <CANbxzdXVmBE1qRoHQQTy9VvbAt4rqppwEL-xizSUH7cKOswNzQ@xxxxxxxxxxxxxx> <CANbxzdV7Vndvczvo9OLgc8CpQ20wBK=YUD6v87ewVBa6yrTXKQ@xxxxxxxxxxxxxx> <CANbxzdXcqg=sRYa0JwETB+RHChw42uAeZE-n+bABUjV-FD9TDg@xxxxxxxxxxxxxx> <587447889.27462536.1435530714712.JavaMail.zimbra@xxxxxxxxxx> <CANbxzdX_4yDiOBqU954wjfbKOFOXnB8SJ_uiRsKEBdUk-hxF1w@xxxxxxxxxxxxxx> <CANbxzdUHygK=0NuO7L3pV+FERXa-LRL59=sumY5TznT0xzonxg@xxxxxxxxxxxxxx> <337532723.28653925.1435618315696.JavaMail.zimbra@xxxxxxxxxx>
I tried following the directions on that page, the telnet error that I get is "Connect failed" rather than "Connection refused". I have verified that pmcd is running on the host I am trying to connect to as it is shown as running as a service, and I am able to use pminfo as well. Does it matter that the host is protected using a putty private key when using ssh? I am not sure where to go from here really.

Thanks,
Rohan

On Mon, Jun 29, 2015 at 6:51 PM Nathan Scott <nathans@xxxxxxxxxx> wrote:


----- Original Message -----
> While I am able to use pmlogger on localhost, I am having difficulty trying
> to have pmlogger log metrics from a remote host. I have made sure that pmcd
> is running on the remote host (it is on the localhost as well, I don't know
> if that matters). For the host, do we enter an IP address and a port, or
> simply the IP address? I have tried both, and can't seem to get it to work,
> the connection just times out according to pmlogger.log. The port is 44323
> by default, correct? Any ideas as to what might be going wrong?

pmcd listens on port 44321 by default - more troubleshooting tips here:
http://pcp.io/books/PCP_UAG/html/LE76751-PARENT.html

cheers.

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