mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 12:30:46 +01:00
Update storcli.py (#783)
This commit is contained in:
parent
0629a081db
commit
8d3484d0ca
@ -90,7 +90,7 @@ def main(args):
|
||||
|
||||
if controller_info:
|
||||
print('# HELP {}{} MegaRAID controller info'.format(metric_prefix, 'controller_info'))
|
||||
print('# TYPE {}{} gauge'.format(metric_prefix, name))
|
||||
print('# TYPE {}{} gauge'.format(metric_prefix, 'controller_info'))
|
||||
for labels in controller_info:
|
||||
print('{}{}{} {}'.format(metric_prefix, 'controller_info', labels, 1))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user