You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone,
Your advice is appreciated,
I am trying to install exporter, the installation is successful, but fails to start exporter service.
Running setup.py install for hpilo-exporter ... done
Successfully installed hpilo-exporter-0.4.5
You are using pip version 8.1.2, however version 22.2.2 is available.
and when I try to start, it says
# /bin/hpilo-exporter --address=192.168.10.1 --port=9416 --endpoint="/metrics"
Traceback (most recent call last):
File "/bin/hpilo-exporter", line 9, in <module>
load_entry_point('hpilo-exporter==0.4.5', 'console_scripts', 'hpilo-exporter')()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/hpilo_exporter/main.py", line 7, in <module>
from hpilo_exporter.exporter import ILOExporterServer
File "/usr/lib/python2.7/site-packages/hpilo_exporter/exporter.py", line 10, in <module>
import prometheus_metrics
File "/usr/lib/python2.7/site-packages/hpilo_exporter/prometheus_metrics.py", line 1, in <module>
from prometheus_client import Gauge
File "/usr/lib/python2.7/site-packages/prometheus_client/__init__.py", line 3, in <module>
from . import (
File "/usr/lib/python2.7/site-packages/prometheus_client/exposition.py", line 113
def make_wsgi_app(registry: CollectorRegistry = REGISTRY, disable_compression: bool = False) -> Callable:
^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered:
Hello everyone,
Your advice is appreciated,
I am trying to install exporter, the installation is successful, but fails to start exporter service.
The text was updated successfully, but these errors were encountered: