Skip to content

Commit 7855f00

Browse files
committed
fix for issue #9
The GPFSNSDFS and GPFSNSDPool sensors settings need to be derived from the GPFSNSDDisk sensor.
1 parent 537c235 commit 7855f00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/zimonGrafanaIntf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,8 @@ def _getSensorPeriod(self, metric):
442442
raise cherrypy.HTTPError(404, MSG['MetricErr'].format(metric))
443443
elif sensor in ('GPFSPoolCap', 'GPFSInodeCap'):
444444
sensor = 'GPFSDiskCap'
445+
elif sensor in ('GPFSNSDFS', 'GPFSNSDPool'):
446+
sensor = 'GPFSNSDDisk'
445447

446448
for sensorAttr in self.sensorsConf:
447449
if sensorAttr['name'] == str('\"%s\"' % sensor):

0 commit comments

Comments
 (0)