Discussion:
Monitoring memcached 3.2.1
xlancealot
2011-10-29 12:20:39 UTC
Permalink
xlancealot [http://community.zenoss.org/people/xlancealot] created the discussion

"Monitoring memcached 3.2.1"

To view the discussion, visit: http://community.zenoss.org/message/62307#62307

--------------------------------------------------------------
This is a new install, have the apache mod working perfect.  I have never used zenoss to monitor memcache, but I have 8 servers running and would love to have it reporting.  I read through http://community.zenoss.org/docs/DOC-5887 http://community.zenoss.org/docs/DOC-5887 post, the doc's screenshots are all the 2.x, but says it working on 3.x

So it did install fine and actaully created the device so a lot of those screenshot steps were not necessary but there are differences as the screenshot provided shows one graph with a lot of data.  I did goto the template and change the default name to just memcache (not memcache-11211) and changed the port to what the client was using (1024).  I did allow that port, tested by going to the zenoss server and telnet ip 1024 and connected. 

So I bound that template to the server and waiting.  The 'grahps' page now shows the 4 default greaph's, then 10 new memcache graph's all are empty.  So the questions are;

1. Can I test this via command line from the server to see if it's working?
2. Should I try to follow the 2.x screenshots to create a whole new template as opposed to what's get's created on installing the zenpack.

Thanks
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62307#62307]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
B Maqueira
2011-10-30 22:50:20 UTC
Permalink
B Maqueira [http://community.zenoss.org/people/braudel] created the discussion

"Re: Monitoring memcached 3.2.1"

To view the discussion, visit: http://community.zenoss.org/message/62308#62308

--------------------------------------------------------------
The editing/renaming the default template won't work so easy because it uses custom graph definitions were the datapoint names contain the original "-11211" (ie DEF:bytes-raw-max=${here/fullRRDPath}/Memcached-11211_bytes.rrd...). So your data is likely to be collected but the graph definitions are wrong.

Ideally you should have created your custom template, but since you have already modified a copy of the template, the easiest path would be to delete the default graph definitions and create your own. Alternatively, if you would like the exact same graphs provided by default then you will need to update each graph in the template by selecting "custom graph definition" then renaming the datapoints to match your renamed template name datapoints (ie Memcached-11211_bytes.rrd will become Memcached_bytes.rrd, etc)

To see the stats on the cmd line (to check connection is working fine, etc) as the zenoss user type:

/opt/zenoss/ZenPacks/ZenPacks.community.Memcached-1.2-py2.6.egg/ZenPacks/community/Memcached/libexec/check_memcached.py -H yourMemcachedServerAddress -p 1024

I hope this helps...
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62308#62308]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
xlancealot
2011-10-31 13:39:21 UTC
Permalink
xlancealot [http://community.zenoss.org/people/xlancealot] created the discussion

"Re: Monitoring memcached 3.2.1"

To view the discussion, visit: http://community.zenoss.org/message/62325#62325

--------------------------------------------------------------
Thanks, that does help and makes sense.  I have a different install path,
(the installer liked /usr/local/zenoss), but the rest was same same to
test.  Did get an error, here is the output;

/usr/local/zenoss/zenoss/ZenPacks/ZenPacks.community.Memcached-1.2-py2.6.egg/ZenPacks/community/Memcached/libexec/check_memcached.py
-H m1-1 -p 1024
Traceback (most recent call last):
  File
"/usr/local/zenoss/zenoss/ZenPacks/ZenPacks.community.Memcached-1.2-py2.6.egg/ZenPacks/community/Memcached/libexec/check_memcached.py",
line 11, in ?
    from twisted.internet import reactor, protocol
ImportError: No module named twisted.internet
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62325#62325]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
B Maqueira
2011-10-31 19:39:11 UTC
Permalink
B Maqueira [http://community.zenoss.org/people/braudel] created the discussion

"Re: Monitoring memcached 3.2.1"

To view the discussion, visit: http://community.zenoss.org/message/62336#62336

--------------------------------------------------------------
You need to run it *as the user *zenoss**. In my system I do
*su - zenoss*, then run the command.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62336#62336]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
xlancealot
2011-11-01 15:59:56 UTC
Permalink
xlancealot [http://community.zenoss.org/people/xlancealot] created the discussion

"Re: Monitoring memcached 3.2.1"

To view the discussion, visit: http://community.zenoss.org/message/62346#62346

--------------------------------------------------------------
duh!   Can't believe I missed that one!   Well that test worked, so after that I did go back and rather than changing all the data points, just changed the name back to the name-12211 since only I see it and before I knew it things were reporting perfectly!

Thanks for everything.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62346#62346]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...