Fix IcingaDB Web 1.3 compatibility#1155
Merged
HenriWahl merged 1 commit intoNov 21, 2025
Merged
Conversation
Owner
|
Thanks! |
|
Is an executable for windows x64, that solves this problem available ? |
Owner
|
In this version, there is still only one property listed in columns, according to Log anyway .... Regards |
|
@HenriWahl Commit d65a80d seems to be not included in Nagstamon-3.17-20251121. This version still has the same error "KeyError: 'display_name'" because it still asks only for "columns=host.state.last_update" (checked in Debug Log) |
HenriWahl
pushed a commit
that referenced
this pull request
Nov 25, 2025
Owner
|
Apparently the commit was not applied on my branch which I fixed now. A new build is under way: https://github.com/HenriWahl/Nagstamon/actions/runs/19674624592 |
HenriWahl
pushed a commit
that referenced
this pull request
Nov 26, 2025
* Fix IcingaDB Web 1.3 compatibility (#1155) * Refactor Zabbix integration: streamline URL handling, improve exception management, and optimize service dictionary iteration. * Refactor Zabbix integration: update URL structure, enhance error handling, and add `monitor_cgi_url` for streamlined requests. --------- Co-authored-by: Benjamin Renard <brenard@easter-eggs.com> Co-authored-by: Kimmig, Simon - D0242573 <simon.kimmig@dm.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following an update to Icinga, specifically IcingaDB Web to version 1.3, I noticed that no information was being displayed in Nagstamon. After investigating, it appears that the IcingaDB Web API now requires all relevant columns to be explicitly requested on getting status.
Additionally, I noticed that while the codebase supports the
expire_timefield, the UI did not provide a way to input this information. I fixed this and, in doing so, realized that the timezone of the submitted date was not being interpreted correctly by Icinga (resulting in a 1-hour offset in my case). After some research, I found that theicingaweb2-tzocookie seemed to indicate the client's timezone, so I ensured it was included.Finally, when running the application from the command line, I encountered annoying
MarkupResemblesLocatorWarningwarnings, which I suppressed using the recommended method.Note: I don’t have an IcingaDB Web instance running version 1.2.x to verify compatibility, but since I only added fields to the query, I don’t expect it to cause any issues.