tag:blogger.com,1999:blog-1978652979840829013.post5725851025286419437..comments2024-02-13T07:05:41.069-08:00Comments on sFlow: Using Ganglia to monitor Memcache clustersPeterhttp://www.blogger.com/profile/00856599914190257147noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-1978652979840829013.post-28188515413022001712012-10-19T13:12:32.011-07:002012-10-19T13:12:32.011-07:00You should be looking at the instructions in Using...You should be looking at the instructions in <a href="http://blog.sflow.com/2011/12/using-ganglia-to-monitor-java-virtual.html" rel="nofollow">Using Ganglia to monitor Java virtual machines</a>, if you have an further questions, please post them there.Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-10707491328944783112012-10-19T12:52:02.162-07:002012-10-19T12:52:02.162-07:00I'm trying to use sFlow(jmx-agent 0.6.1)-Gangl...I'm trying to use sFlow(jmx-agent 0.6.1)-Ganglia(3.5.0, source build) pair for jvm monitoring. <br />gmond.conf<br /> udp_recv_channel {<br /> port = 6343<br /> }<br /><br /> sflow {<br /> accept_vm_metrics = yes<br /> }<br /><br />First of all, is there any chance to see the logs , except "-d" mode ??<br /><br />gmond -m display no "vm_*" specific metrics !!! I thought that those metrics would be injected after the sflow UDP-datagrams would arrive, but ... no logs, no errors, no metrics<br /><br />eVanhttps://www.blogger.com/profile/00480275321662775636noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-67394590657845330242012-09-27T20:50:42.409-07:002012-09-27T20:50:42.409-07:00Are you running the latest sFlow build (1.4.13) of...Are you running the latest sFlow build (1.4.13) of Memcached, <a href="https://github.com/sflow/memcached" rel="nofollow">https://github.com/sflow/memcached</a>? <br /><br />What version of Ganglia are you using? What version of Host sFlow?Peterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-84313610455340404882012-09-27T18:01:27.356-07:002012-09-27T18:01:27.356-07:00Yes I can connect to both memcache instances port....Yes I can connect to both memcache instances port.Darwin Valenciahttps://www.blogger.com/profile/16085644355557183614noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-27638085866775227052012-09-27T02:00:36.863-07:002012-09-27T02:00:36.863-07:00Yes. See transcript below
[XXX ~]$ telnet 11211...Yes. See transcript below<br /><br /><br /><br />[XXX ~]$ telnet 11211<br />Trying 0.0.43.203...<br />telnet: connect to address 0.0.43.203: Invalid argument<br />telnet: Unable to connect to remote host: Invalid argument<br />[darwinv@LSDWFE02 ~]$ telnet localhost 11211<br />Trying 127.0.0.1...<br />Connected to localhost.localdomain (127.0.0.1).<br />Escape character is '^]'.<br />stats<br />STAT pid 9706<br />STAT uptime 897<br />STAT time 1348736305<br />STAT version 1.2.8<br />STAT pointer_size 64<br />STAT rusage_user 0.734888<br />STAT rusage_system 0.863868<br />STAT curr_items 3779<br />STAT total_items 4027<br />STAT bytes 14980199<br />STAT curr_connections 131<br />STAT total_connections 208<br />STAT connection_structures 145<br />STAT cmd_flush 0<br />STAT cmd_get 24510<br />STAT cmd_set 4027<br />STAT get_hits 20478<br />STAT get_misses 4032<br />STAT evictions 0<br />STAT bytes_read 16301688<br />STAT bytes_written 710713042<br />STAT limit_maxbytes 4294967296<br />STAT threads 2<br />STAT accepting_conns 1<br />STAT listen_disabled_num 0<br />END<br />quit<br />Connection closed by foreign host.<br />[XXX ~]$<br /><br />[XXX ~]$ telnet localhost 11311<br />Trying 127.0.0.1...<br />Connected to localhost.localdomain (127.0.0.1).<br />Escape character is '^]'.<br />stats<br />STAT pid 9718<br />STAT uptime 968<br />STAT time 1348736383<br />STAT version 1.2.8<br />STAT pointer_size 64<br />STAT rusage_user 9.265591<br />STAT rusage_system 6.967940<br />STAT curr_items 136856<br />STAT total_items 152337<br />STAT bytes 28827795<br />STAT curr_connections 77<br />STAT total_connections 191<br />STAT connection_structures 100<br />STAT cmd_flush 0<br />STAT cmd_get 261235<br />STAT cmd_set 152337<br />STAT get_hits 124215<br />STAT get_misses 137020<br />STAT evictions 0<br />STAT bytes_read 32631056<br />STAT bytes_written 38919484<br />STAT limit_maxbytes 1073741824<br />STAT threads 2<br />STAT accepting_conns 1<br />STAT listen_disabled_num 0<br />END<br />quit<br />Connection closed by foreign host.<br />[XXX ~]$Darwin Valenciahttps://www.blogger.com/profile/16085644355557183614noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-85431363615570229002012-09-27T00:14:44.048-07:002012-09-27T00:14:44.048-07:00Are you able to connect to each of your Memcached ...Are you able to connect to each of your Memcached instances using telnet? For example,<br /><br />telnet localhost 11211<br />statsPeterhttps://www.blogger.com/profile/00856599914190257147noreply@blogger.comtag:blogger.com,1999:blog-1978652979840829013.post-40365304145081509602012-09-26T23:35:32.435-07:002012-09-26T23:35:32.435-07:00Been scouring the net for reference and help to my...Been scouring the net for reference and help to my problem with our Ganglia monitoring. So far this is the only reference that is close to what I am looking for.<br /><br />I have a server with 2 memcache instance running on separate ports 11211 and 11311. I would like to monitor these 2 instance but only managed to get 1 working but not both.<br /><br />I've already change the multiple_memcache_instances from no to yes in my gmond.conf but still not able to see the 2 instances running.<br /><br />I tried also copying the memcached.pyconf to another configuration memcache_db.pyconf and change the port value there to 11311. But still no luck.<br /><br />Thanks for the help.Darwin Valenciahttps://www.blogger.com/profile/16085644355557183614noreply@blogger.com