TheHolm / meraki-dashboard-promethus-exporter

Promethus exporter to collect data from Meraki dashboard via API
GNU General Public License v3.0
3 stars 8 forks source link

TypeError: can only concatenate str (not "NoneType") to str #5

Open Mdleal opened 5 months ago

Mdleal commented 5 months ago

`Traceback (most recent call last): File "/usr/local/lib/python3.12/socketserver.py", line 692, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.12/socketserver.py", line 362, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.12/socketserver.py", line 761, in init self.handle() File "/usr/local/lib/python3.12/http/server.py", line 436, in handle self.handle_one_request() File "/usr/local/lib/python3.12/http/server.py", line 424, in handle_one_request  method() File "/app/meraki-api-exporter.py", line 245, in do_GET target = '{serial="' + host + \


TypeError: can only concatenate str (not "NoneType") to str`
TheHolm commented 2 months ago

Any more details? it seems your network have some devices without Serial Number, which is strange.