Package Details: nagstamon 3.18.2-2

Git Clone URL: https://aur.archlinux.org/nagstamon.git (read-only, click to copy)
Package Base: nagstamon
Description: Nagios status monitor for the desktop
Upstream URL: https://nagstamon.de/
Licenses: GPL
Submitter: ghostbuster
Maintainer: ghostbuster
Last Packager: ghostbuster
Votes: 24
Popularity: 0.000184
First Submitted: 2015-08-09 16:15 (UTC)
Last Updated: 2026-03-22 18:59 (UTC)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

ghostbuster commented on 2026-03-22 18:55 (UTC)

@vknmnn @blubbblubb Thanks for your patches. I just updated the package.

@blubbblubb Cleaning up the dependencies is already on my todo list as I only added new packages as they were added upstream. But until now I didn't have time to clean up.

vknmnn commented on 2026-03-18 10:01 (UTC) (edited on 2026-03-18 10:01 (UTC) by vknmnn)

This is the PKGBUILD for v3.18.2

# Maintainer: ghostbuster <ghost_buster+aur@posteo.de>
_pkgname=Nagstamon
pkgname=nagstamon
pkgver=3.18.2
pkgrel=1
pkgdesc="Nagios status monitor for the desktop"
depends=('python-pyqt6' 'python-pyqt6-webengine' 'python-tzlocal' 'qt6-multimedia' 'qt6-svg' 'python-requests' 'python-beautifulsoup4' 'python-keyring' 'python-psutil' 'python-requests-kerberos' 'python-lxml' 'python-dbus' 'python-dateutil' 'python-pysocks' 'python-arrow')
optdepends=('python-requests-gssapi: Will be used instead of python-requests-kerberos for kerberos auth if present')
arch=('any')
url="https://nagstamon.ifw-dresden.de/"
license=('GPL')
makedepends=('python-setuptools')
source=(
        "https://github.com/HenriWahl/Nagstamon/archive/refs/tags/v$pkgver.tar.gz"
)
sha256sums=(
        'd7daf3680d1ef373dfc116d564fbd7e489aa19d3c767438b23a8d018ac4dde9b'
)

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  # setup.py imports AppInfo from Nagstamon.Config which leads to a import of keyring
  # importing keyring fails in a fakeroot environment, which seems to be somehow related to a the keyring connection init triggered by the import
  # to avoid the issue setup.py is rewritten here to resolve the need for the AppInfo import
  name=$(sed '0,/class AppInfo/d' Nagstamon/config.py  | grep "NAME " | sed -e "s/^[\t ]*NAME = '//" -e "s/'$//")
  version=$(sed '0,/class AppInfo/d' Nagstamon/config.py  | grep "VERSION " | sed -e "s/^[\t ]*VERSION = '//" -e "s/'$//")
  sed -i setup.py -e "s/from Nagstamon.config import AppInfo.*//" -e "s/AppInfo.NAME/'${name}'/" -e "s/AppInfo.VERSION/'${version}'/" -e "s/  *OS$/OS = 'Linux'/"
  sed -i setup.py -e "s/from Nagstamon.Helpers import get_distro//" -e "s/get_distro()/('arch', '', 'Arch Linux')/"
  python setup.py install --prefix=/usr --root="$pkgdir"
  mv "$pkgdir/usr/bin/nagstamon.py" "$pkgdir/usr/bin/nagstamon"
  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}

blubbblubb commented on 2026-03-12 20:03 (UTC)

Here is a patch for anyone wanting to update to 3.18. I think the dependencies could be cleaned up a bit more as quite a few depend on other dependencies and don't need to specifically be added. But I'd have to look at the aur dependency guidelines again.

diff --git a/PKGBUILD.old b/PKGBUILD
index b84687c..896463b 100644
--- a/PKGBUILD.old
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
 # Maintainer: ghostbuster <ghost_buster+aur@posteo.de>
 _pkgname=Nagstamon
 pkgname=nagstamon
-pkgver=3.16.2
+pkgver=3.18.0
 pkgrel=1
 pkgdesc="Nagios status monitor for the desktop"
-depends=('python-pyqt6' 'qt6-multimedia' 'qt6-svg' 'python-requests' 'python-beautifulsoup4' 'python-keyring' 'python-psutil' 'python-requests-kerberos' 'python-lxml' 'python-dbus' 'python-dateutil' 'python-pysocks' 'python-arrow')
+depends=('python-pyqt6', 'python-pyqt6-webengine', 'python-tzlocal', 'qt6-multimedia' 'qt6-svg' 'python-requests' 'python-beautifulsoup4' 'python-keyring' 'python-psutil' 'python-requests-kerberos' 'python-lxml' 'python-dbus' 'python-dateutil' 'python-pysocks' 'python-arrow')
 optdepends=('python-requests-gssapi: Will be used instead of python-requests-kerberos for kerberos auth if present')
 arch=('any')
 url="https://nagstamon.ifw-dresden.de/"
@@ -14,7 +14,7 @@ source=(
         "https://github.com/HenriWahl/Nagstamon/archive/refs/tags/v$pkgver.tar.gz"
 )
 sha256sums=(
-        '42e5ecd26b98d02bc424507b7a1321bdc406e0c072a77c92126afba81d5e9c49'
+        '0a4973206e40e7d0c611c6fcd90fc2378e38064e2804c3520ded335b7aaba6d7'
 )

 package() {
@@ -22,11 +22,10 @@ package() {
   # setup.py imports AppInfo from Nagstamon.Config which leads to a import of keyring
   # importing keyring fails in a fakeroot environment, which seems to be somehow related to a the keyring connection init triggered by the import
   # to avoid the issue setup.py is rewritten here to resolve the need for the AppInfo import
-  name=$(sed '0,/class AppInfo/d' Nagstamon/Config.py  | grep "NAME " | sed -e "s/^[\t ]*NAME = '//" -e "s/'$//")
-  version=$(sed '0,/class AppInfo/d' Nagstamon/Config.py  | grep "VERSION " | sed -e "s/^[\t ]*VERSION = '//" -e "s/'$//")
-  sed -i setup.py -e "s/from Nagstamon.Config import AppInfo.*//" -e "s/AppInfo.NAME/'${name}'/" -e "s/AppInfo.VERSION/'${version}'/" -e "s/  *OS$/OS = 'Linux'/"
+  name=$(sed '0,/class AppInfo/d' Nagstamon/config.py  | grep "NAME " | sed -e "s/^[\t ]*NAME = '//" -e "s/'$//")
+  version=$(sed '0,/class AppInfo/d' Nagstamon/config.py  | grep "VERSION " | sed -e "s/^[\t ]*VERSION = '//" -e "s/'$//")
+  sed -i setup.py -e "s/from Nagstamon.config import AppInfo.*//" -e "s/AppInfo.NAME/'${name}'/" -e "s/AppInfo.VERSION/'${version}'/" -e "s/  *OS$/OS = 'Linux'/"
   sed -i setup.py -e "s/from Nagstamon.Helpers import get_distro//" -e "s/get_distro()/('arch', '', 'Arch Linux')/"
-  sed -i Nagstamon/QUI/qt.py -e "s/QT_VERSION_STR.split('.')/QT_VERSION_STR.split('.')[0:3]/"
   python setup.py install --prefix=/usr --root="$pkgdir"
   mv "$pkgdir/usr/bin/nagstamon.py" "$pkgdir/usr/bin/nagstamon"
   install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"

ghostbuster commented on 2024-10-21 12:48 (UTC)

v3.16.1 was updated upstream after release, checksum adjusted.

<deleted-account> commented on 2024-10-21 06:54 (UTC)

==> Validating source files with sha256sums...
    v3.16.1.tar.gz ... FAILED

ghostbuster commented on 2024-04-17 20:21 (UTC)

Worked around the issue by only using the first three parts of the split output.

llama451 commented on 2024-04-17 09:51 (UTC) (edited on 2024-04-17 15:28 (UTC) by llama451)

FYI: With the upgrade from python-pyqt6 6.6.1-3 => 6.7.0dev2404081550-1 nagstamon crashes because the version number cannot be processed. To fix I edited /usr/lib/python3.11/site-packages/Nagstamon/QUI/qt.py line 31 to ignore the "dev"-part by appending "[:-1]" to split():

QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_BUGFIX = [int(x) for x in QT_VERSION_STR.split('.')[:-1]]

Although I am not very knowledgable in python, there might be a better fix.

HusiSusi commented on 2024-04-07 09:16 (UTC) (edited on 2024-04-07 09:16 (UTC) by HusiSusi)

Now I was able to install. but i can not run it! I think there is a KDE Plasma 6 Unicode issue or I'm missing something in my locale.gen file! Even though I tried every Unicode Option.

$ nagstamon

Traceback (most recent call last):

File "/usr/bin/nagstamon", line 29, in <module>

from Nagstamon.Config import (conf,

File "/usr/lib/python3.11/site-packages/Nagstamon/Config.py", line 1055, in <module>

conf = Config() ^^^^^^^^ File "/usr/lib/python3.11/site-packages/Nagstamon/Config.py", line 378, in init

config.read(self.configfile)

File "/usr/lib/python3.11/configparser.py", line 713, in read

self._read(fp, filename)

File "/usr/lib/python3.11/configparser.py", line 1036, in _read

for lineno, line in enumerate(fp, start=1):

File "<frozen codecs>", line 322, in decode

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x86 in position 1: invalid start byte

ghostbuster commented on 2024-04-06 22:34 (UTC)

I modified the PKGBUILD to avoid the import of Nagstamon.Config during build. Please try again.

ghostbuster commented on 2024-04-06 18:51 (UTC)

I'll have a deeper look at the issue, but most likely it will take some time to reproduce and resolve the issue.