Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nagstamon 3.2.1 crash when acknowledging alert from an Icinga server 2.6.2 #612

Closed
moschlar opened this issue Nov 27, 2019 · 3 comments
Closed

Comments

@moschlar
Copy link
Contributor

From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944646

When acknowledging an alert from an Icinga2 server a traceback occurs
submitting the form:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/Nagstamon/QUI/__init__.py", line 3967, in acknowledge
    self.server.set_acknowledge(info_dict)
  File "/usr/lib/python3/dist-packages/Nagstamon/Servers/Generic.py", line 359, in set_acknowledge
    all_services)
  File "/usr/lib/python3/dist-packages/Nagstamon/Servers/IcingaWeb2.py", line 368, in _set_acknowledge
    CSRFToken = formtag.findNext('input', {'name':'CSRFToken'})['value']
AttributeError: 'NoneType' object has no attribute 'findNext'
Aborted

The icinga-web2 version used is 2.6.2.

@HenriWahl
Copy link
Owner

Please try latest testing release.

@HenriWahl
Copy link
Owner

Any change with 3.4rc2?

@moschlar
Copy link
Contributor Author

Couldn't reproduce it now with the demo site at https://icinga.com/demo/.

I asked the original Debian bug reporter for confirmation, but it seems to be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants