Hello All,
I am trying to set up pmwebd
I have installed pcp-webapi 3.10
I have copied the contents of pcp-webjs.src.tar.gz
to /usr/share/pcp/webapps/
I updated /etc/pcp/pmwebd/pmwebd.options to point
to /usr/share/pcp/webapps/
I do not see an option to define the location of the archives. If I have
them in /path/to/pcparchives, how do I define that ?
$ cat /etc/pcp/pmwebd/pmwebd.options
# command-line options and environment variables for pmwebd(1)
# These defaults expose graphite/resource content and normally placed archives
# (assume pwd=$PCP_LOG_DIR/pmwebd)
OPTIONS="-l pmwebd.log"
#OPTIONS="-p 9999" # port number
# Graphite
OPTIONS="$OPTIONS -R $PCP_SHARE_DIR/webapps -A $PCP_LOG_DIR -G"
# Assume identity of some user other than "pcp"
# OPTIONS="$OPTIONS -U nobody"
# Add some verbosity
OPTIONS="$OPTIONS -v"
# Add any extra derived metrics; see pmLoadDerivedConfig(3) for format.
# PCP_DERIVED_CONFIG=/path/to/your/file
# export PCP_DERIVED_CONFIG
# Shorten timeouts for interactions with pmcd on behalf of clients,
# since pmwebd runs single-threaded.
PMCD_CONNECT_TIMEOUT=3
PMCD_RECONNECT_TIMEOUT=1,2,3
PMCD_REQUEST_TIMEOUT=1
export PMCD_CONNECT_TIMEOUT PMCD_RECONNECT_TIMEOUT PMCD_REQUEST_TIMEOUT
|