zabbix item for memcached monitoring doesn't work

Bug #1387116 reported by Gleb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Oleksiy Molchanov
5.1.x
Fix Released
Medium
Oleksiy Molchanov
6.0.x
Fix Released
Medium
Oleksiy Molchanov

Bug Description

VERSION:
  feature_groups:
    - experimental
  production: "docker"
  release: "5.1.1"
  api: "1.0"
  build_number: "28"
  build_id: "2014-10-14_00-01-06"
  astute_sha: "f5fbd89d1e0e1f22ef9ab2af26da5ffbfbf24b13"
  fuellib_sha: "46ad455514614ec2600314ac80191e0539ddfc04"
  ostf_sha: "64cb59c681658a7a55cc2c09d079072a41beb346"
  nailgun_sha: "b9792cb5bbecddfa9c5c3afb4d0f961a2a2776a7"
  fuelmain_sha: "431350ba204146f815f0e51dd47bf44569ae1f6d"

Zabbix checks item net.tcp.service[tcp,,11211] that doesn't work because memcached listen only address on br-mgmt

Zabbix tries to connect on 127.0.0.1
root@node-9:~# grep 11211 /var/log/zabbix/zabbix_agentd.log | head
 23696:20141029:104826.999 Requested [net.tcp.service[tcp,,11211]]
 23696:20141029:104826.999 TCP expect network error: cannot connect to [[127.0.0.1]:11211]: [111] Connection refused
 23695:20141029:104856.239 Requested [net.tcp.service[tcp,,11211]]
 23695:20141029:104856.239 TCP expect network error: cannot connect to [[127.0.0.1]:11211]: [111] Connection refused
 23696:20141029:104926.008 Requested [net.tcp.service[tcp,,11211]]
 23696:20141029:104926.010 TCP expect network error: cannot connect to [[127.0.0.1]:11211]: [111] Connection refused
 23693:20141029:104956.400 Requested [net.tcp.service[tcp,,11211]]
 23693:20141029:104956.400 TCP expect network error: cannot connect to [[127.0.0.1]:11211]: [111] Connection refused
 23697:20141029:105026.722 Requested [net.tcp.service[tcp,,11211]]
 23697:20141029:105026.726 TCP expect network error: cannot connect to [[127.0.0.1]:11211]: [111] Connection refused

root@node-9:~# netstat -nl | grep 11211
tcp 0 0 192.168.0.3:11211 0.0.0.0:* LISTEN
udp 0 0 192.168.0.3:11211 0.0.0.0:*

So we need to change item to check specific IP address instead of 127.0.0.1

Changed in fuel:
assignee: nobody → Oleksiy Molchanov (omolchanov)
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/134209

Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/5.1)

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/134212

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/134209
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=bf8f68902a57bcc9d91cf7d40d950c7cf188ad9f
Submitter: Jenkins
Branch: master

commit bf8f68902a57bcc9d91cf7d40d950c7cf188ad9f
Author: Oleksiy Molchanov <email address hidden>
Date: Thu Nov 13 15:39:35 2014 +0200

    Change IP for zabbix memcache check

    Change IP from 127.0.0.1 to node's public IP
    for zabbix memcache net.tcp.service check

    Change-Id: Ia5e9339074d9993b84217079013f2708baeb6eb7
    Closes-Bug: 1387116

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/5.1)

Reviewed: https://review.openstack.org/134212
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=ddffd68f64b41c8baab3fbd906d376217b19a2eb
Submitter: Jenkins
Branch: stable/5.1

commit ddffd68f64b41c8baab3fbd906d376217b19a2eb
Author: Oleksiy Molchanov <email address hidden>
Date: Thu Nov 13 15:39:35 2014 +0200

    Change IP for zabbix memcache check

    Change IP from 127.0.0.1 to node's public IP
    for zabbix memcache net.tcp.service check

    Change-Id: Ia5e9339074d9993b84217079013f2708baeb6eb7
    Closes-Bug: 1387116

Revision history for this message
Olivier Bourdon (olivierbourdon38) wrote :

Cleanup of Zabbix related bugs for easier tracking of forthcoming 2.6 release

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.