| To: | pcp@xxxxxxxxxxx |
|---|---|
| Subject: | Trying out ElasticSearch PMDA for the first time |
| From: | Chandana De Silva <chandana@xxxxxxxxxxxxx> |
| Date: | Thu, 02 Apr 2015 17:44:30 +1100 |
| Delivered-to: | pcp@xxxxxxxxxxx |
| Reply-to: | chandana@xxxxxxxxxxxxx |
|
Hello All I am trying out the ES pmda, and not having much luck. The error in the PMCD log says: [Thu Apr 2 06:20:40] pmcd(2564) Warning: pduread: timeout (after 5.000 sec) while attempting to read 12 bytes out of 12 in HDR on fd=21 [Thu Apr 2 06:20:40] pmcd(2564) Info: CleanupAgent ... Cleanup "elasticsearch" agent (dom 108): protocol failure for fd=21 This is what I have: elasticsearch-1.4.4-1.noarch java-1.7.0-openjdk-1.7.0.75-2.5.4.0.53.amzn1.x86_64 pcp-3.9.10-1.x86_64 $ sudo ./Install You will need to choose an appropriate configuration for installation of the "elasticsearch" Performance Metrics Domain Agent (PMDA). collector collect performance statistics on this system monitor allow this system to monitor local and/or remote systems both collector and monitor configuration for this system Please enter c(ollector) or m(onitor) or b(oth) [b] Updating the Performance Metrics Name Space (PMNS) ... Terminate PMDA if already installed ... Updating the PMCD control file, and notifying PMCD ... Check elasticsearch metrics have appeared ... 110 warnings, 110 metrics and 0 valuesELlasticSearch.log ============= $ cat /var/log/pcp/pmcd/elasticsearch.log Log for pmdaelasticsearch on elsrch.dev.syd.mmd started Thu Apr 2 06:34:25 2015 Log finished Thu Apr 2 06:34:36 2015 /usr/bin/java -Xms7G -Xmx7G -Xss256k -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -XX:+DisableExplicitGC -Dfile.encoding=UTF-8 -Xmx7g -Xms7g -Delasticsearch -Des.pidfile=/var/run/elasticsearch/elasticsearch.pid -Des.path.home=/usr/share/elasticsearch -cp :/usr/share/elasticsearch/lib/elasticsearch-1.4.4.jar:/usr/share/elasticsearch/lib/*:/usr/share/elasticsearch/lib/sigar/* -Des.default.path.home=/usr/share/elasticsearch -Des.default.path.logs=/var/log/elasticsearch -Des.default.path.data="" -Des.default.path.work=/tmp/elasticsearch -Des.default.path.conf=/etc/elasticsearch org.elasticsearch.bootstrap.Elasticsearch [chandana@xxxxxxxxxx elasticsearch]$ pminfo -f mem.util.used mem.util.used value 13578396 [chandana@xxxxxxxxxx elasticsearch]$ pminfo -f mem.util.free mem.util.free value 2091624 [chandana@xxxxxxxxxx elasticsearch]$ pminfo -f mem.physmem mem.physmem value 15670012 $ curl http://localhost:9200/ { "status" : 200, "name" : "Stonewall", "cluster_name" : "mmelasticsearch", "version" : { "number" : "1.4.4", "build_hash" : "c88f77ffc81301dfa9dfd81ca2232f09588bd512", "build_timestamp" : "2015-02-19T13:05:36Z", "build_snapshot" : false, "lucene_version" : "4.10.3" }, "tagline" : "You Know, for Search" } PMCD LOG ========= [Thu Apr 2 06:20:30] pmcd(2564) Info: pmcd RESTARTED at Thu Apr 2 06:20:30 2015 Current PMCD clients ... fd client connection from ipc ver operations denied == ======================================== ======= ================= 17 10.17.1.18 2 store 16 /var/run/pcp/pmcd.socket 2 active agent dom pid in out ver protocol parameters ============ === ===== === === === ======== ========== pmcd 2 2 dso i:5 lib=/var/lib/pcp/pmdas/pmcd/pmda_pmcd.so entry=pmcd_init [(nil)] linux 60 2 dso i:4 lib=/var/lib/pcp/pmdas/linux/pmda_linux.so entry=linux_init [(nil)] proc 3 2571 10 11 2 bin pipe cmd=/var/lib/pcp/pmdas/proc/pmdaproc -d 3 mmv 70 2 dso i:4 lib=/var/lib/pcp/pmdas/mmv/pmda_mmv.so entry=mmv_init [(nil)] xfs 11 2579 12 13 2 bin pipe cmd=/var/lib/pcp/pmdas/xfs/pmdaxfs -d 11 jbd2 122 2 dso i:4 lib=/var/lib/pcp/pmdas/jbd2/pmda_jbd2.so entry=jbd2_init [(nil)] elasticsearch 108 18426 20 21 2 bin pipe cmd=perl /var/lib/pcp/pmdas/elasticsearch/pmdaelasticsearch.pl Host access list: 00 01 Cur/MaxCons host-spec host-mask lvl host-name == == =========== ======================================= ======================================= === ============== y y 0 0 10.25.20.90 255.255.255.255 0 localhost y y 0 0 / / 1 unix: n 0 0 0.0.0.0 0.0.0.0 4 .* n 0 0 :: :: 8 :* User access list empty: user-based access control turned off Group access list empty: group-based access control turned off [Thu Apr 2 06:20:30] pmcd(2564) Info: PMNS file "DEFAULT" is unchanged [Thu Apr 2 06:20:40] pmcd(2564) Warning: pduread: timeout (after 5.000 sec) while attempting to read 12 bytes out of 12 in HDR on fd=21 [Thu Apr 2 06:20:40] pmcd(2564) Info: CleanupAgent ... Cleanup "elasticsearch" agent (dom 108): protocol failure for fd=21 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Installing perfevents on Ubuntu 14.04, Renan DelValle |
|---|---|
| Next by Date: | pmLookupName sts differences, Martins Innus |
| Previous by Thread: | Installing perfevents on Ubuntu 14.04, Renan DelValle |
| Next by Thread: | Re: [pcp] Trying out ElasticSearch PMDA for the first time, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |