| To: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] pcp grafana and graphite - How to convert pcp metric values into percent |
| From: | Amer Ather <aather@xxxxxxxxxxx> |
| Date: | Sat, 28 Jun 2014 17:57:55 -0700 |
| Cc: | "Frank Ch. Eigler" <fche@xxxxxxxxxx>, pcp@xxxxxxxxxxx |
| Delivered-to: | pcp@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=netflix.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rDmwg76LzTcfy2jdpMokzB4qLTPtULELdBySsLu1wfs=; b=dqLTjUJNUD5muiI1Dr9EKeV8+meLRSgVjhonMSmxDewFSD2x5CfN1TdKj9P6m0EMq1 hzIwRqGLc4EQ6riIYFVvU9UIdfrDZqqgubex2UKyiZU/d0rQTHOTLCiZilSdetCyN97s g7E0OLl0PnR1t/tOhojFWHeSfVfhkq8lYQJBE= |
| In-reply-to: | <002f01cf9285$f0c63160$d2529420$@internode.on.net> |
| References: | <CAM1aq-HG2oJxCx1EAA0Zr+W7-NsSmVfThb8zG35FOKC4mbbnww@xxxxxxxxxxxxxx> <y0mha353ky5.fsf@xxxxxxxx> <y0m8uoh3kf4.fsf@xxxxxxxx> <002d01cf9284$dc8fe570$95afb050$@internode.on.net> <002f01cf9285$f0c63160$d2529420$@internode.on.net> |
|
Thanks Ken and Frank! It works as designed.  I tried to rebuild pmwebd with graphite support from fche git branch but getting errors when try building pmwebapi. Last time it built fine. Is there any change made to the repo? Steps followed:
 # git clone git://sourceware.org/git/pcpfans.git origin/fche/pmwebd # cd origin # cd fched/pmwebd/src # cd fche/pmwebd
# cd src # Âgit branch -r # Âgit checkout fche/pmwebd # Âcd .. # ./configure # make ÂError I am getting during pmwebapi built:
=== pmwebapi === g++ -fPIC -fno-strict-aliasing -D_GNU_SOURCE -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wextra -fPIE -Wall -O2 -g -DPCP_DEBUG -DPCP_VERSION=\"3.9.7\" -I../../src/include -I../../src/include/pcp  -c main.cxx -o main.o
g++ -fPIC -fno-strict-aliasing -D_GNU_SOURCE -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wextra -fPIE -Wall -O2 -g -DPCP_DEBUG -DPCP_VERSION=\"3.9.7\" -I../../src/include -I../../src/include/pcp  -c pmwebapi.cxx -o pmwebapi.o
pmwebapi.cxx:619:1: warning: unused parameter âparamsâ [-Wunused-parameter] Âpmwebapi_respond_metric_fetch (struct MHD_Connection *connection, Â^ pmwebapi.cxx:815:1: warning: unused parameter âparamsâ [-Wunused-parameter]
Âpmwebapi_respond_instance_list (struct MHD_Connection *connection, Â^ g++ -fPIC -fno-strict-aliasing -D_GNU_SOURCE -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wextra -fPIE -Wall -O2 -g -DPCP_DEBUG -DPCP_VERSION=\"3.9.7\" -I../../src/include -I../../src/include/pcp  -c pmresapi.cxx -o pmresapi.o
g++ -fPIC -fno-strict-aliasing -D_GNU_SOURCE -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wextra -fPIE -Wall -O2 -g -DPCP_DEBUG -DPCP_VERSION=\"3.9.7\" -I../../src/include -I../../src/include/pcp  -c pmgraphite.cxx -o pmgraphite.o
pmgraphite.cxx:311:1: warning: unused parameter âurlâ [-Wunused-parameter] Âpmgraphite_respond_metrics_find (struct MHD_Connection *connection, Â^ pmgraphite.cxx:474:1: warning: unused parameter âurlâ [-Wunused-parameter]
Âpmgraphite_respond_metrics_grep (struct MHD_Connection *connection, Â^ pmgraphite.cxx:1127:1: warning: unused parameter âurlâ [-Wunused-parameter] Âpmgraphite_gather_data (struct MHD_Connection *connection, const http_params & params,
Â^ g++ -fPIC -fno-strict-aliasing -D_GNU_SOURCE -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wextra -fPIE -Wall -O2 -g -DPCP_DEBUG -DPCP_VERSION=\"3.9.7\" -I../../src/include -I../../src/include/pcp  -c util.cxx -o util.o
g++ -fPIC -fno-strict-aliasing -D_GNU_SOURCE -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wextra -fPIE -Wall -O2 -g -DPCP_DEBUG -DPCP_VERSION=\"3.9.7\" -I../../src/include -I../../src/include/pcp Â-o pmwebd Â-Wall -L../../src/libpcp/src -L../../src/libpcp_pmda/src -pie -Wl,-z,relro -Wl,-z,now  main.o pmwebapi.o pmresapi.o pmgraphite.o util.o  Â-lpcp Â-lmicrohttpdÂ
/usr/bin/ld: pmgraphite.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status
make[2]: *** [pmwebd] Error 1 make[1]: *** [default_pcp] Error 2 make[1]: Leaving directory `/home/kvick-trustyhvmtest/origin/fche/pmwebd/src' make: *** [default_pcp] Error 2 On Fri, Jun 27, 2014 at 9:03 PM, Ken McDonell <kenj@xxxxxxxxxxxxxxxx> wrote: Grrr ... M$ mail client and damn line wrap! |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: PCP and Graphite, Frank Ch. Eigler |
|---|---|
| Next by Date: | RE: [pcp] pmdumptext question, David Chatterton |
| Previous by Thread: | RE: [pcp] pcp grafana and graphite - How to convert pcp metric values into percent, Ken McDonell |
| Next by Thread: | Re: [pcp] pcp grafana and graphite - How to convert pcp metric values into percent, Frank Ch. Eigler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |