aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2011-05-27 00:58:58 +0800
committerehaupt <ehaupt@FreeBSD.org>2011-05-27 00:58:58 +0800
commitea924d08fe691e6abf9f212433f8060de5742deb (patch)
treefe6ffd675447b0fac4f3818c0f9dc107a3eb94af /net-mgmt
parent13abf82b6ff896fa77f86bbe34e1da6e653895ad (diff)
downloadfreebsd-ports-gnome-ea924d08fe691e6abf9f212433f8060de5742deb.tar.gz
freebsd-ports-gnome-ea924d08fe691e6abf9f212433f8060de5742deb.tar.zst
freebsd-ports-gnome-ea924d08fe691e6abf9f212433f8060de5742deb.zip
Add nagstamon 0.9.6.1, a nagios status monitor for your desktop.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/nagstamon/Makefile39
-rw-r--r--net-mgmt/nagstamon/distinfo2
-rw-r--r--net-mgmt/nagstamon/pkg-descr10
-rw-r--r--net-mgmt/nagstamon/pkg-plist103
5 files changed, 155 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index a6a3c1b9f8a2..9aef41e56a7a 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -141,6 +141,7 @@
SUBDIR += nagiosql
SUBDIR += nagiostat
SUBDIR += nagircbot
+ SUBDIR += nagstamon
SUBDIR += nagvis
SUBDIR += nat
SUBDIR += nbtscan
diff --git a/net-mgmt/nagstamon/Makefile b/net-mgmt/nagstamon/Makefile
new file mode 100644
index 000000000000..5cade57e99ce
--- /dev/null
+++ b/net-mgmt/nagstamon/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: nagstamon
+# Date created: 26 May 2011
+# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nagstamon
+PORTVERSION= 0.9.6.1
+CATEGORIES= net-mgmt python
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}/ SF/.
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= Nagios status monitor for your desktop
+
+BUILD_DEPENDS= py*-setuptools>=0:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS= sox:${PORTSDIR}/audio/sox \
+ py*-setuptools>=0:${PORTSDIR}/devel/py-setuptools
+
+USE_PYTHON= 2.5+
+USE_PYDISTUTILS=yes
+USE_GNOME= pygtk2 librsvg2
+
+LICENSE= GPLv2
+
+MAN1= nagstamon.1
+
+MAKE_JOBS_SAFE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|share/\(man/man1\)|\1|' ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -e "s|0.9.6|${PORTVERSION}|" \
+ ${WRKSRC}/Nagstamon/GUI.py
+
+post-install:
+ @${LN} ${PREFIX}/bin/${PORTNAME}.py ${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/nagstamon/distinfo b/net-mgmt/nagstamon/distinfo
new file mode 100644
index 000000000000..077dd06dd0d3
--- /dev/null
+++ b/net-mgmt/nagstamon/distinfo
@@ -0,0 +1,2 @@
+SHA256 (nagstamon_0.9.6.1.tar.gz) = 18efbe457072b1152040491f31ef4bdf87488ac9f629e0235b3c2cac2846511b
+SIZE (nagstamon_0.9.6.1.tar.gz) = 365786
diff --git a/net-mgmt/nagstamon/pkg-descr b/net-mgmt/nagstamon/pkg-descr
new file mode 100644
index 000000000000..aa37434aa014
--- /dev/null
+++ b/net-mgmt/nagstamon/pkg-descr
@@ -0,0 +1,10 @@
+Nagstamon is a Nagios status monitor for the desktop. It connects to multiple
+Nagios, Icinga, Opsview, Centreon, Op5 Monitor/Ninja and Check_MK Multisite
+monitoring servers and resides in systray or as a floating statusbar at the
+desktop showing a brief summary of critical, warning, unknown, unreachable and
+down hosts and services and pops up a detailed status overview when moving the
+mouse pointer over it. Connecting to displayed hosts and services is easily
+established by context menu via SSH, RDP and VNC. Users can be notified by
+sound. Hosts and services can be filtered by category and regular expressions.
+
+WWW: http://nagstamon.ifw-dresden.de/
diff --git a/net-mgmt/nagstamon/pkg-plist b/net-mgmt/nagstamon/pkg-plist
new file mode 100644
index 000000000000..462183d24580
--- /dev/null
+++ b/net-mgmt/nagstamon/pkg-plist
@@ -0,0 +1,103 @@
+bin/nagstamon
+bin/nagstamon.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/Actions.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/BeautifulSoup.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/Config.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/Custom.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/GUI.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/Objects.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/__init__.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Centreon.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Icinga.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Multisite.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Nagios.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Ninja.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Opsview.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/__init__.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Generic.py
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Centreon.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Icinga.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Multisite.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Nagios.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Ninja.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Opsview.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/__init__.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Generic.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Centreon.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Icinga.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Multisite.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Nagios.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Ninja.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Opsview.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/__init__.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/Server/Generic.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/LICENSE
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/acknowledge_dialog.glade
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/acknowledge_dialog.ui
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/close.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/close.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/critical.wav
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/downtime_dialog.glade
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/downtime_dialog.ui
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/hostdown.wav
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/hosts.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/hosts.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagios.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagios.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon.1
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon.icns
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon.ico
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_acknowledged.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/recheckall.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_acknowledged.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_black.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_black.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_darkred.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_darkred.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_downtime.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_downtime.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_error.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_error.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_green.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_green.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_label.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_label.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_orange.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_orange.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_red.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_red.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_small.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_small.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_yellow.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/nagstamon_yellow.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/recheckall.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/refresh.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/refresh.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/services.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/services.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/settings.png
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/settings.svg
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/settings_dialog.glade
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/settings_dialog.ui
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/settings_server_dialog.glade
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/settings_server_dialog.ui
+%%PYTHON_SITELIBDIR%%/Nagstamon/resources/warning.wav
+%%PYTHON_SITELIBDIR%%/Nagstamon/Actions.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/BeautifulSoup.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/Config.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/Custom.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/GUI.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/Objects.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/__init__.pyc
+%%PYTHON_SITELIBDIR%%/Nagstamon/Actions.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/BeautifulSoup.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/Config.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/Custom.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/GUI.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/Objects.pyo
+%%PYTHON_SITELIBDIR%%/Nagstamon/__init__.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/Nagstamon/resources
+@dirrm %%PYTHON_SITELIBDIR%%/Nagstamon/Server
+@dirrm %%PYTHON_SITELIBDIR%%/Nagstamon