]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
rgw: update glob pattern used to detect rgw sockets 121/head
authorPaul Cuzner <pcuzner@redhat.com>
Tue, 19 Sep 2017 00:10:26 +0000 (12:10 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Tue, 19 Sep 2017 00:10:26 +0000 (12:10 +1200)
collectors/rgw.py

index dc9ae86130dbfb7f58b6fcdaca5f33dd7244cb26..687f17ff77e45276044c185cd70253376e094ab5 100644 (file)
@@ -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: