Skip to content

Commit

Permalink
ZabbixProblemBased.py problem base
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriWahl committed Mar 22, 2024
1 parent 475ae22 commit 7eb2217
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Nagstamon/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class AppInfo(object):
contains app information previously located in GUI.py
"""
NAME = 'Nagstamon'
VERSION = '3.14.0'
VERSION = '3.15-20240322'
WEBSITE = 'https://nagstamon.de'
COPYRIGHT = '©2008-2024 Henri Wahl et al.'
COMMENTS = 'Nagios status monitor for your desktop'
Expand Down
6 changes: 5 additions & 1 deletion Nagstamon/Servers/ZabbixProblemBased.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ def logged_in(self):

def login(self, username, password):
self.logger.debug("Login in as " + username)
self.zbx_auth = self.do_request('user.login', {'user': username, 'password': password})
# see issue https://github.com/HenriWahl/Nagstamon/issues/1018
if self.api_version() < '6.4':
self.zbx_auth = self.do_request('user.login', {'user': username, 'password': password})
else:
self.zbx_auth = self.do_request('user.login', {'username': username, 'password': password})

class ZabbixLightApiException(Exception):
pass
Expand Down
5 changes: 5 additions & 0 deletions build/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
nagstamon (3.15-20240322) unstable; urgency=low
* New upstream

-- Henri Wahl <[email protected]> Fri, Mar 22 2024 08:00:00 +0200

nagstamon (3.14.0) stable; urgency=low
* New upstream
- improved Wayland support
Expand Down

0 comments on commit 7eb2217

Please sign in to comment.