summaryrefslogtreecommitdiff
path: root/net/nagstamon
diff options
context:
space:
mode:
authorimil <imil@pkgsrc.org>2010-04-11 09:24:20 +0000
committerimil <imil@pkgsrc.org>2010-04-11 09:24:20 +0000
commit43b3f61001c0b43f277a98f7221560f56c07715f (patch)
tree5c7dcee8ff1f2bb0b64d7bf0d2f8a4e9e21e1dd1 /net/nagstamon
parentd04801e22dd33ccd8282ff4fbeff233d7be836c9 (diff)
downloadpkgsrc-43b3f61001c0b43f277a98f7221560f56c07715f.tar.gz
Initial import of nagstamon, version 0.9.2, into the NetBSD Packages Collection.
Nagstamon is a Nagios status monitor for the desktop inspired by Nagios Checker for Firefox. It connects to multiple Nagios 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.
Diffstat (limited to 'net/nagstamon')
-rw-r--r--net/nagstamon/DESCR9
-rw-r--r--net/nagstamon/Makefile44
-rw-r--r--net/nagstamon/PLIST59
-rw-r--r--net/nagstamon/distinfo5
-rw-r--r--net/nagstamon/files/nagstamon.140
5 files changed, 157 insertions, 0 deletions
diff --git a/net/nagstamon/DESCR b/net/nagstamon/DESCR
new file mode 100644
index 00000000000..b060797c463
--- /dev/null
+++ b/net/nagstamon/DESCR
@@ -0,0 +1,9 @@
+Nagstamon is a Nagios status monitor for the desktop inspired by Nagios Checker
+for Firefox.
+It connects to multiple Nagios 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.
diff --git a/net/nagstamon/Makefile b/net/nagstamon/Makefile
new file mode 100644
index 00000000000..347e47e66a9
--- /dev/null
+++ b/net/nagstamon/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/04/11 09:24:20 imil Exp $
+#
+
+VERSION= 0.9.2
+DISTNAME= nagstamon_${VERSION}
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= net python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nagstamon/}
+
+MAINTAINER= imil@gcu.info
+HOMEPAGE= http://nagstamon.sf.net/
+COMMENT= Nagios status monitor which takes place in systray or on desktop
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+USE_LANGUAGES= # none
+PYDISTUTILSPKG= yes
+
+# Upstream's aware of this
+SUBST_CLASSES+= typo
+SUBST_STAGE.typo= post-extract
+SUBST_FILES.typo= ${WRKSRC}/Nagstamon/nagstamonGUI.py
+SUBST_SED.typo= -e 's|\#!/usr/bin/py\ .*|\#!/usr/bin/python|'
+SUBST_MESSAGE.typo= Fixing interpreter typo.
+
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
+REPLACE_PYTHON= ${WRKSRC}/Nagstamon/*.py
+REPLACE_PYTHON+= ${WRKSRC}/Nagstamon/nagstamon
+
+DEPENDS+= ${PYPKGPREFIX}-lxml>=2.2.4:../../textproc/py-lxml
+DEPENDS+= ${PYPKGPREFIX}-libxslt>=1.1.24:../../textproc/py-libxslt
+DEPENDS+= sox>=14.0.1:../../audio/sox
+
+post-install:
+ ${INSTALL_MAN} files/nagstamon.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+
+.include "../../graphics/librsvg/buildlink3.mk"
+.include "../../textproc/py-libxml2/buildlink3.mk"
+.include "../../x11/py-gtk2/buildlink3.mk"
+.include "../../x11/py-gnome2-extras/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/nagstamon/PLIST b/net/nagstamon/PLIST
new file mode 100644
index 00000000000..0750e67db54
--- /dev/null
+++ b/net/nagstamon/PLIST
@@ -0,0 +1,59 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/04/11 09:24:20 imil Exp $
+bin/nagstamon
+${PYSITELIB}/Nagstamon/__init__.py
+${PYSITELIB}/Nagstamon/__init__.pyc
+${PYSITELIB}/Nagstamon/__init__.pyo
+${PYSITELIB}/Nagstamon/nagstamonActions.py
+${PYSITELIB}/Nagstamon/nagstamonActions.pyc
+${PYSITELIB}/Nagstamon/nagstamonActions.pyo
+${PYSITELIB}/Nagstamon/nagstamonConfig.py
+${PYSITELIB}/Nagstamon/nagstamonConfig.pyc
+${PYSITELIB}/Nagstamon/nagstamonConfig.pyo
+${PYSITELIB}/Nagstamon/nagstamonGUI.py
+${PYSITELIB}/Nagstamon/nagstamonGUI.pyc
+${PYSITELIB}/Nagstamon/nagstamonGUI.pyo
+${PYSITELIB}/Nagstamon/nagstamonObjects.py
+${PYSITELIB}/Nagstamon/nagstamonObjects.pyc
+${PYSITELIB}/Nagstamon/nagstamonObjects.pyo
+${PYSITELIB}/Nagstamon/resources/LICENSE
+${PYSITELIB}/Nagstamon/resources/acknowledge_dialog.glade
+${PYSITELIB}/Nagstamon/resources/close.png
+${PYSITELIB}/Nagstamon/resources/close.svg
+${PYSITELIB}/Nagstamon/resources/critical.wav
+${PYSITELIB}/Nagstamon/resources/downtime_dialog.glade
+${PYSITELIB}/Nagstamon/resources/hostdown.wav
+${PYSITELIB}/Nagstamon/resources/hosts.png
+${PYSITELIB}/Nagstamon/resources/hosts.svg
+${PYSITELIB}/Nagstamon/resources/nagios.png
+${PYSITELIB}/Nagstamon/resources/nagios.svg
+${PYSITELIB}/Nagstamon/resources/nagstamon.ico
+${PYSITELIB}/Nagstamon/resources/nagstamon.png
+${PYSITELIB}/Nagstamon/resources/nagstamon.svg
+${PYSITELIB}/Nagstamon/resources/nagstamon_black.png
+${PYSITELIB}/Nagstamon/resources/nagstamon_black.svg
+${PYSITELIB}/Nagstamon/resources/nagstamon_darkred.png
+${PYSITELIB}/Nagstamon/resources/nagstamon_darkred.svg
+${PYSITELIB}/Nagstamon/resources/nagstamon_error.png
+${PYSITELIB}/Nagstamon/resources/nagstamon_error.svg
+${PYSITELIB}/Nagstamon/resources/nagstamon_green.png
+${PYSITELIB}/Nagstamon/resources/nagstamon_green.svg
+${PYSITELIB}/Nagstamon/resources/nagstamon_label.png
+${PYSITELIB}/Nagstamon/resources/nagstamon_label.svg
+${PYSITELIB}/Nagstamon/resources/nagstamon_orange.png
+${PYSITELIB}/Nagstamon/resources/nagstamon_orange.svg
+${PYSITELIB}/Nagstamon/resources/nagstamon_red.png
+${PYSITELIB}/Nagstamon/resources/nagstamon_red.svg
+${PYSITELIB}/Nagstamon/resources/nagstamon_small.png
+${PYSITELIB}/Nagstamon/resources/nagstamon_small.svg
+${PYSITELIB}/Nagstamon/resources/nagstamon_yellow.png
+${PYSITELIB}/Nagstamon/resources/nagstamon_yellow.svg
+${PYSITELIB}/Nagstamon/resources/refresh.png
+${PYSITELIB}/Nagstamon/resources/refresh.svg
+${PYSITELIB}/Nagstamon/resources/services.png
+${PYSITELIB}/Nagstamon/resources/services.svg
+${PYSITELIB}/Nagstamon/resources/settings.png
+${PYSITELIB}/Nagstamon/resources/settings.svg
+${PYSITELIB}/Nagstamon/resources/settings_dialog.glade
+${PYSITELIB}/Nagstamon/resources/settings_server_dialog.glade
+${PYSITELIB}/Nagstamon/resources/warning.wav
+man/man1/nagstamon.1
diff --git a/net/nagstamon/distinfo b/net/nagstamon/distinfo
new file mode 100644
index 00000000000..1a3302cc135
--- /dev/null
+++ b/net/nagstamon/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/04/11 09:24:20 imil Exp $
+
+SHA1 (nagstamon_0.9.2.tar.gz) = 2c49d9b54cacbc9a813308f337d6d73bb9590ea7
+RMD160 (nagstamon_0.9.2.tar.gz) = fbadb44702eba2ef72d46ac0fc1d41601cca23c7
+Size (nagstamon_0.9.2.tar.gz) = 145601 bytes
diff --git a/net/nagstamon/files/nagstamon.1 b/net/nagstamon/files/nagstamon.1
new file mode 100644
index 00000000000..93613cbfbf5
--- /dev/null
+++ b/net/nagstamon/files/nagstamon.1
@@ -0,0 +1,40 @@
+'\" t
+.\" Title: nagstamon
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
+.\" Date: 03/20/2010
+.\" Language: English
+.\"
+.TH "NAGSTAMON" "1" "03/20/2010"
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+nagstamon \- Nagios status monitor which takes place in systray or on desktop
+.SH "SYNOPSIS"
+.sp
+nagstamon [alternate\-config]
+.SH "DESCRIPTION"
+.sp
+Nagstamon is a Nagios status monitor which takes place in systray or on desktop (GNOME, KDE) as floating statusbar to inform you in realtime about the status of your Nagios monitored network\&. It allows to connect to multiple Nagios servers\&.
+.sp
+The command can optionally take one argument giving the path to an alternate configuration file\&.
+.SH "OPTIONS"
+.sp
+No options\&.
+.SH "AUTHOR"
+.sp
+This manual page has been written by Carl Chenet <chaica@ohmytux\&.com>\&.
+.SH "RESSOURCES"
+.sp
+http://sourceforge\&.net/projects/nagstamon/
+.SH "LICENSE"
+.sp
+This manual page is licensed under the GPL\-2 license\&.