On 02/07/15 02:07, Rohan Arora wrote:
> 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.
Are you able to use pminfo on the same system connecting to the remote pmcd
(i.e. the same client-server arrangement where pmlogger is not working)? That
would be odd.
In any event the following output would help diagnose ...
On the client system
$ pminfo -v -Dcontext -h <remotehost> disk.all
$ echo "log mandatory on once { disk.dev }" | pmlogger -Dcontext -h
<remotehost> -l /dev/tty foobar
^C
$ pminfo -a foobar
And on the remote system, the contents of:
/etc/pcp/pmcd/pmcd.conf
/var/log/pcp/pmcd/pmcd.log
|