Discussion:
memcache monitor on different port
xlancealot
2012-01-27 04:42:03 UTC
Permalink
xlancealot [http://community.zenoss.org/people/xlancealot] created the discussion

"memcache monitor on different port"

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

--------------------------------------------------------------
Downloaded the commity zenpack fine, and after testing a bit, I realized the customer has it running on another port.  I can test via command line;

./check_memcached.py -H hostname -p 1024 -t 3

CMD OK|get_set_ratio=6.16739696092 cas_hits=0.0 uptime=1590320.0 delete_misses=67405011.0 listen_disabled_num=0.0 cas_misses=0.0 decr_hits=13463508.0 incr_hits=90738537.0 limit_maxbytes=6986661888.0 bytes_written=1.57095719919e+12 incr_misses=8330550.0 accepting_conns=1.0 rusage_system=4845.935305 total_items=518958376.0 hit_percent=82.8594809388 cmd_get=3194366011.0 curr_connections=566.0 threads=4.0 get_hits=2646835096.0 cmd_set=517943961.0 curr_items=22254279.0 conn_yields=0.0 get_misses=547530915.0 bytes_read=700973464567.0 usage_percent=89.3931693435 cmd_flush=0.0 cas_badval=0.0 evictions=53465177.0 bytes=6245598493.0 missed_percent=17.1405190612 connection_structures=4667.0 rusage_user=1604.515076 time=1327636923.0 delete_hits=42574826.0 pointer_size=64.0 decr_misses=0.0 total_connections=463834.0

So it's running on 1024.  I am looking around like pages like this; http://codelab.ferrarihaines.com/archives/18 http://codelab.ferrarihaines.com/archives/18 but that looks like version 2.x and I can't find where to change the port.  Under the apache template, I double click the datasouce and a nice config window comes up, I can change a lot.  When I select the memcache template, i just get a test.  So looking around I found the datasource file;
/usr/local/zenoss/zenoss/ZenPacks/ZenPacks.community.Memcached-1.2-py2.6.egg/ZenPacks/community/Memcached/datasources

so I changed;
port       = 1024

After changing that, restarting zenoss I am getting errors on both memcache server;
Event Class: /status/memcached
Message: CMD FAIL| Connection was refused by other side: 111: Connection refused.


Any help or suggestions are appreciated.
--------------------------------------------------------------

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

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...