From: Paul Cuzner Date: Tue, 19 Sep 2017 00:10:26 +0000 (+1200) Subject: rgw: update glob pattern used to detect rgw sockets X-Git-Tag: v1.0~19^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F121%2Fhead;p=cephmetrics.git rgw: update glob pattern used to detect rgw sockets --- diff --git a/collectors/rgw.py b/collectors/rgw.py index dc9ae86..687f17f 100644 --- a/collectors/rgw.py +++ b/collectors/rgw.py @@ -42,8 +42,8 @@ class RGW(BaseCollector): def _get_rgw_data(self): rgw_sockets = glob.glob('/var/run/ceph/{}-client.rgw.' - '{}.*.asok'.format(self.cluster_name, - self.host_name)) + '{}.*asok'.format(self.cluster_name, + self.host_name)) if rgw_sockets: if len(rgw_sockets) > 1: