Skip to content

ilo 4 - AttributeError: 'module' object has no attribute 'hpilo_nic_status_gauge' #15

@neuroserve

Description

@neuroserve

Querying an HPE iLO4, I get this error:

`Traceback (most recent call last):
File "/usr/local/lib/python2.7/SocketServer.py", line 574, in process_request

self.finish_request(request, client_address)

File "/usr/local/lib/python2.7/SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/local/lib/python2.7/SocketServer.py", line 655, in init
self.handle()
File "/usr/local/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/usr/local/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
method()
File "/usr/src/hpilo_exporter/src/hpilo_exporter/exporter.py", line 129, in do_GET
prometheus_metrics.hpilo_nic_status_gauge.labels(product_name=product_name,
AttributeError: 'module' object has no attribute 'hpilo_nic_status_gauge'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/SocketServer.py", line 574, in process_request

self.finish_request(request, client_address)

File "/usr/local/lib/python2.7/SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/local/lib/python2.7/SocketServer.py", line 655, in init
self.handle()
File "/usr/local/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/usr/local/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
method()
File "/usr/src/hpilo_exporter/src/hpilo_exporter/exporter.py", line 129, in do_GET
prometheus_metrics.hpilo_nic_status_gauge.labels(product_name=product_name,
AttributeError: 'module' object has no attribute 'hpilo_nic_status_gauge'`

Is this a known error with iLO4?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions