Source: nagstamon
Version: 2.0.1-5
Severity: normal
Tags: patch upstream fixed-upstream
Control: fixed -1 3.0.2-1

When configuring a monitoring server in nagstamon using as "Monitoring
Type" IcingaWeb2 and using Basic authentication, nagstamon crashes
with

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/Nagstamon/QUI/__init__.py", line 3538, 
in get_status
    status = self.server.GetStatus()
  File "/usr/lib/python3/dist-packages/Nagstamon/Servers/Generic.py", line 798, 
in GetStatus
    self.init_HTTP()
  File "/usr/lib/python3/dist-packages/Nagstamon/Servers/IcingaWeb2.py", line 
99, in init_HTTP
    form_inputs[form_input] = form.find('input', {'name': form_input})['value']
TypeError: 'NoneType' object is not subscriptable
Aborted

making nagstamon unusable in this combination. The issue is fixed
upstream with 
https://github.com/HenriWahl/commit/907b69a999fc73e371369ff7512531296fad32e0

The issue is fixed already in unstable, and I would like to propose a
targetted fix for the upcoming point release of stretch as well.

Regards,
Salvatore

Reply via email to