add version identifier
This commit is contained in:
parent
c4dc960fc3
commit
4be19b8e1d
3
main.py
3
main.py
@ -22,10 +22,11 @@ import os
|
|||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
NAMESPACE = 'ilo'
|
NAMESPACE = 'ilo'
|
||||||
|
VERSION = '1.0.0'
|
||||||
|
|
||||||
arg_parser = argparse.ArgumentParser(
|
arg_parser = argparse.ArgumentParser(
|
||||||
'ilo_exporter',
|
'ilo_exporter',
|
||||||
description='A fast(er) prometheus exporter for applicable HP servers using SNMP via the ILO controller.',
|
description='A fast(er) prometheus exporter for applicable HP servers using SNMP via the ILO controller. v%s' % VERSION,
|
||||||
)
|
)
|
||||||
|
|
||||||
arg_parser.add_argument('-i', '--ilo-address', help='ILO IP address to scan.', required=True)
|
arg_parser.add_argument('-i', '--ilo-address', help='ILO IP address to scan.', required=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user