pcp
[Top] [All Lists]

Fetching proc data from a remote host

To: pcp@xxxxxxxxxxx
Subject: Fetching proc data from a remote host
From: Chandana De Silva <chandana@xxxxxxxxxxxxx>
Date: Tue, 30 Dec 2014 10:09:03 +1100
Delivered-to: pcp@xxxxxxxxxxx
Organization: Chandana De Silva
Reply-to: chandana@xxxxxxxxxxxxx
All,
I have a host running pcp 3.10.1, with this config:
$ cat /etc/pcp/pmcd/pmcd.conf
# Performance Metrics Domain Specifications
# 
# This file is automatically generated during the build
# Name  Id      IPC     IPC Params      File/Cmd
pmcd    2       dso     pmcd_init       /var/lib/pcp/pmdas/pmcd/pmda_pmcd.so
linux   60      dso     linux_init      /var/lib/pcp/pmdas/linux/pmda_linux.so
proc    3       pipe    binary          /var/lib/pcp/pmdas/proc/pmdaproc -d 3
mmv     70      dso     mmv_init        /var/lib/pcp/pmdas/mmv/pmda_mmv.so
xfs     11      pipe    binary          /var/lib/pcp/pmdas/xfs/pmdaxfs -d 11
jbd2    122     dso     jbd2_init       /var/lib/pcp/pmdas/jbd2/pmda_jbd2.so

[access]
disallow ".*" : store;
disallow ":*" : store;
allow "local:*" : all;
allow host "10.*" : fetch;

I am curious as to why I can't query some of the proc values from a remote host.
$ pminfo -f -h gateway01.prod.mel.au.m4u.com.au proc.memory.vmsize

proc.memory.vmsize
Error: No permission to perform requested operation

$ pminfo -f -h gateway01.prod.mel.au.m4u.com.au proc.nprocs

proc.nprocs
    value 76

Chandana

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