Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

exporter加了redis或lsb的metrics就报错 #19

Open
derogg1991 opened this issue Jun 29, 2019 · 0 comments
Open

exporter加了redis或lsb的metrics就报错 #19

derogg1991 opened this issue Jun 29, 2019 · 0 comments

Comments

@derogg1991
Copy link

derogg1991 commented Jun 29, 2019

直接复制ip:9525中提供的yaml,然后启动exporter,prometheus显示节点down,ctrl c中止exporter就报错...

Traceback (most recent call last):
File "/opt/python368/lib/python3.6/wsgiref/handlers.py", line 138, in run
self.finish_response()
File "/opt/python368/lib/python3.6/wsgiref/handlers.py", line 180, in finish_response
self.write(data)
File "/opt/python368/lib/python3.6/wsgiref/handlers.py", line 279, in write
self._write(data)
File "/opt/python368/lib/python3.6/wsgiref/handlers.py", line 453, in _write
result = self.stdout.write(data)
File "/opt/python368/lib/python3.6/socketserver.py", line 803, in write
self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/python368/lib/python3.6/wsgiref/handlers.py", line 141, in run
self.handle_error()
File "/opt/python368/lib/python3.6/wsgiref/handlers.py", line 368, in handle_error
self.finish_response()
File "/opt/python368/lib/python3.6/wsgiref/handlers.py", line 180, in finish_response
self.write(data)
File "/opt/python368/lib/python3.6/wsgiref/handlers.py", line 274, in write
self.send_headers()
File "/opt/python368/lib/python3.6/wsgiref/handlers.py", line 331, in send_headers
if not self.origin_server or self.client_is_modern():
File "/opt/python368/lib/python3.6/wsgiref/handlers.py", line 344, in client_is_modern
return self.environ['SERVER_PROTOCOL'].upper() != 'HTTP/0.9'
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/python368/lib/python3.6/socketserver.py", line 320, in _handle_request_noblock
self.process_request(request, client_address)
File "/opt/python368/lib/python3.6/socketserver.py", line 351, in process_request
self.finish_request(request, client_address)
File "/opt/python368/lib/python3.6/socketserver.py", line 364, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/python368/lib/python3.6/socketserver.py", line 724, in init
self.handle()
File "/opt/python368/lib/python3.6/wsgiref/simple_server.py", line 133, in handle
handler.run(self.server.get_app())
File "/opt/python368/lib/python3.6/wsgiref/handlers.py", line 144, in run
self.close()
File "/opt/python368/lib/python3.6/wsgiref/simple_server.py", line 35, in close
self.status.split(' ',1)[0], self.bytes_sent
AttributeError: 'NoneType' object has no attribute 'split'

@derogg1991 derogg1991 changed the title 加了redis或lsb的metrics就报错 exporter加了redis或lsb的metrics就报错 Jun 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant