Package Details: nagstamon 3.16.2-1

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.ifw-dresden.de/
Licenses: GPL
Submitter: ghostbuster
Maintainer: ghostbuster
Last Packager: ghostbuster
Votes: 23
Popularity: 0.033766
First Submitted: 2015-08-09 16:15 (UTC)
Last Updated: 2024-10-25 14:32 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7

ogarcia commented on 2017-01-09 08:54 (UTC) (edited on 2017-01-09 08:55 (UTC) by ogarcia)

The package seems broken: Traceback (most recent call last): File "/usr/bin/nagstamon", line 36, in <module> from Nagstamon.Config import (conf, ModuleNotFoundError: No module named 'Nagstamon' Note: nagstamon-beta works fine

clep commented on 2016-10-22 13:45 (UTC)

PKGBUILD is outdated not the whole package. Changes needed for: Version pkgver=2.0 -> pkgver=2.0.1 Don't forget the md5 and sha256 sums: https://nagstamon.ifw-dresden.de/download/

ogarcia commented on 2016-10-20 07:05 (UTC)

You forget the qt5-svg dependency ;)

ghostbuster commented on 2016-08-25 19:04 (UTC)

I created a nagstamon-beta package for all, who want to test the 2.0-beta.

DennisSch commented on 2016-07-13 13:30 (UTC)

I didn't test it yet, but nagstamon2 is already in beta, so it could be considered for updating in my opinion.

jwhipp commented on 2016-01-18 19:37 (UTC)

+1 for Alpha.

ogarcia commented on 2015-10-27 19:06 (UTC)

@ghostbuster Great. Much better now! I also agree not to upgrade the package to 2.0 alpha.

ghostbuster commented on 2015-10-02 19:26 (UTC)

I will check your other comments and integrate them into the package. Upstream version is still 1.0.1, the available 2.0 version is still in alpha state and I won't update this package to an alpha version.

ogarcia commented on 2015-10-02 15:58 (UTC)

Ah! And please add this patch to fix the self-signed certificate SSL error (https://github.com/HenriWahl/Nagstamon/issues/126): --- Nagstamon.old/Nagstamon/Actions.py +++ Nagstamon/Nagstamon/Actions.py @@ -31,7 +31,8 @@ import gtk # if running on windows import winsound import platform -if platform.system() == "Windows": +if platform.system() == "Windows":# necessary for Python-2.7.9-ssl-support-fix https://github.com/HenriWahl/Nagstamon/issues/126 + import winsound # Garbage collection @@ -830,30 +831,33 @@ def BuildURLOpener(server): The MultipartPostHandler is needed for submitting multipart forms from Opsview """ # trying with changed digest/basic auth order as some digest auth servers do not - # seem to work wi the previous way + # seem to work the previous way if str(server.use_proxy) == "False": server.proxy_handler = urllib2.ProxyHandler({}) - urlopener = urllib2.build_opener(server.digest_handler,\ - server.basic_handler,\ - server.proxy_handler,\ - urllib2.HTTPCookieProcessor(server.Cookie),\ + urlopener = urllib2.build_opener(server.digest_handler, + server.basic_handler, + server.proxy_handler, + server.https_handler, + urllib2.HTTPCookieProcessor(server.Cookie), MultipartPostHandler) elif str(server.use_proxy) == "True": if str(server.use_proxy_from_os) == "True": - urlopener = urllib2.build_opener(server.digest_handler,\ - server.basic_handler,\ - urllib2.HTTPCookieProcessor(server.Cookie),\ + urlopener = urllib2.build_opener(server.digest_handler, + server.basic_handler, + server.https_handler, + urllib2.HTTPCookieProcessor(server.Cookie), MultipartPostHandler) else: # if proxy from OS is not used there is to add a authenticated proxy handler server.passman.add_password(None, server.proxy_address, server.proxy_username, server.proxy_password) server.proxy_handler = urllib2.ProxyHandler({"http": server.proxy_address, "https": server.proxy_address}) server.proxy_auth_handler = urllib2.ProxyBasicAuthHandler(server.passman) - urlopener = urllib2.build_opener(server.proxy_handler,\ - server.proxy_auth_handler,\ - server.digest_handler,\ - server.basic_handler,\ - urllib2.HTTPCookieProcessor(server.Cookie),\ + urlopener = urllib2.build_opener(server.proxy_handler, + server.proxy_auth_handler, + server.digest_handler, + server.basic_handler, + server.https_handler, + urllib2.HTTPCookieProcessor(server.Cookie), MultipartPostHandler) return urlopener --- Nagstamon.old/Nagstamon/Server/Generic.py +++ Nagstamon/Nagstamon/Server/Generic.py @@ -30,6 +30,9 @@ import traceback import base64 import re import gobject +# necessary for Python-2.7.9-ssl-support-fix https://github.com/HenriWahl/Nagstamon/issues/126 +if sys.version_info >= (2, 7, 9): + import ssl # to let Linux distributions use their own BeautifulSoup if existent try importing local BeautifulSoup first # see https://sourceforge.net/tracker/?func=detail&atid=1101370&aid=3302612&group_id=236865 @@ -141,6 +144,15 @@ class GenericServer(object): self.proxy_handler = None self.proxy_auth_handler = None self.urlopener = None + # necessary for Python-2.7.9-ssl-support-fix https://github.com/HenriWahl/Nagstamon/issues/126 + if sys.version_info >= (2, 7, 9): + try: + self.https_handler = urllib2.HTTPSHandler(context=ssl._create_unverified_context()) + except: + self.https_handler = urllib2.HTTPSHandler() + else: + self.https_handler = urllib2.HTTPSHandler() + # headers for HTTP requests, might be needed for authorization on Nagios/Icinga Hosts self.HTTPheaders = dict() # attempt to use only one bound list of TreeViewColumns instead of ever increasing one

ogarcia commented on 2015-10-02 15:01 (UTC)

In Gnome Shell not appear application icon. You can simplify the nagstamon.desktop in this: [Desktop Entry] Name=Nagstamon Comment=Nagios status monitor Icon=/usr/lib/python2.7/site-packages/Nagstamon/resources/nagstamon.svg Exec=nagstamon Terminal=false Type=Application Categories=Network;System;Monitor;GTK; StartupNotify=false In the other hand, please remove this: install -Dm644 "$srcdir/nagstamon.desktop" "$pkgdir/etc/xdg/autostart/nagstamon.desktop" Not is neccesary add in autostart cause nagstamon not is a "daemon".