]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commit
iscsi: trigger stats only when iscsi is active
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 23 Aug 2017 02:54:15 +0000 (14:54 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Wed, 23 Aug 2017 02:54:15 +0000 (14:54 +1200)
commit9cd82488fe523b51fbb7e06d901356accf55b0b8
tree2b3063c1f2839e56986bbc90252b9cafea38fa8e
parentc4de18bd945e2a05c354f8f7634a72e9f2b1942c
iscsi: trigger stats only when iscsi is active

look for the iscsi dir in sysfs to determine when to
send the iscsi stats. If the iscsi base dir is not there
the collector will just send the version of gwcli
collectors/iscsi.py