summaryrefslogtreecommitdiff
path: root/sysutils/monitoring
diff options
context:
space:
mode:
authorimil <imil@pkgsrc.org>2013-04-22 09:39:21 +0000
committerimil <imil@pkgsrc.org>2013-04-22 09:39:21 +0000
commit8129a42716654ded4b036f41487d04776f3d9c26 (patch)
treecf79a1952b02ce35abfba16b5597c190263c502b /sysutils/monitoring
parent0f772747b5f5cad8c41822c083445c235fcd6d98 (diff)
downloadpkgsrc-8129a42716654ded4b036f41487d04776f3d9c26.tar.gz
Initial import of monitoring, version 0.9.5, into the NetBSD Packages
Collection. Monitoring is an API with a DSL feel to write monitoring daemons in Python. Monitoring works well for the following tasks: * to be notified when incidents happen (email, XMPP, ZeroMQ...) * automatic actions to be taken (restart, rm, git pull...) * to collect system statistics for further processing e.g. graphs * tie into existing/third-party Python code * play along nicely with existing deployment/configuration ecosystem (fabric/cuisine) Overview * monitoring DSL: declarative programming to define monitoring strategy * wide spectrum: from data collection and incident reporting to taking automatic actions * Small, easy to read, a single file API * Revised BSD License Use Cases * ensure service availability: test and start/stop when problems * collect system statistics/data, log locally and/or remotely * alert on system/service health, take actions
Diffstat (limited to 'sysutils/monitoring')
-rw-r--r--sysutils/monitoring/DESCR24
-rw-r--r--sysutils/monitoring/Makefile32
-rw-r--r--sysutils/monitoring/PLIST10
-rw-r--r--sysutils/monitoring/distinfo5
4 files changed, 71 insertions, 0 deletions
diff --git a/sysutils/monitoring/DESCR b/sysutils/monitoring/DESCR
new file mode 100644
index 00000000000..4a656894e35
--- /dev/null
+++ b/sysutils/monitoring/DESCR
@@ -0,0 +1,24 @@
+Monitoring is an API with a DSL feel to write monitoring daemons in Python.
+
+Monitoring works well for the following tasks:
+
+* to be notified when incidents happen (email, XMPP, ZeroMQ...)
+* automatic actions to be taken (restart, rm, git pull...)
+* to collect system statistics for further processing e.g. graphs
+* tie into existing/third-party Python code
+* play along nicely with existing deployment/configuration ecosystem
+ (fabric/cuisine)
+
+Overview
+
+* monitoring DSL: declarative programming to define monitoring strategy
+* wide spectrum: from data collection and incident reporting to taking
+ automatic actions
+* Small, easy to read, a single file API
+* Revised BSD License
+
+Use Cases
+
+* ensure service availability: test and start/stop when problems
+* collect system statistics/data, log locally and/or remotely
+* alert on system/service health, take actions
diff --git a/sysutils/monitoring/Makefile b/sysutils/monitoring/Makefile
new file mode 100644
index 00000000000..696c61376d7
--- /dev/null
+++ b/sysutils/monitoring/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2013/04/22 09:39:21 imil Exp $
+#
+
+VERSION= e518a90eade4ca538468b6640dccb651e6034b9e
+DISTNAME= ${VERSION}
+PKGNAME= monitoring-0.9.5
+CATEGORIES= sysutils
+MASTER_SITES= https://github.com/sebastien/monitoring/archive/
+FETCH_USING= curl
+
+MAINTAINER= imil@NetBSD.org
+HOMEPAGE= https://github.com/sebastien/monitoring
+COMMENT= API with DSL feel to write monitoring daemons in Python
+LICENSE= modified-bsd
+
+WRKSRC= ${WRKDIR}/monitoring-${VERSION}
+
+REPLACE_PYTHON+= Sources/monitoring.py Scripts/monitoring
+
+DOCDIR= ${PREFIX}/share/doc/monitoring
+EXPDIR= ${PREFIX}/share/examples/monitoring
+
+INSTALLATION_DIRS+= ${DOCDIR}
+INSTALLATION_DIRS+= ${EXPDIR}
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/Examples/*.py ${DESTDIR}${EXPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.rst ${DESTDIR}${DOCDIR}
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/monitoring/PLIST b/sysutils/monitoring/PLIST
new file mode 100644
index 00000000000..2a4401e93f2
--- /dev/null
+++ b/sysutils/monitoring/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2013/04/22 09:39:21 imil Exp $
+bin/monitoring
+${PYSITELIB}/${PKGNAME}-py2.7.egg-info
+${PYSITELIB}/monitoring.py
+${PYSITELIB}/monitoring.pyc
+${PYSITELIB}/monitoring.pyo
+share/doc/monitoring/README.rst
+share/examples/monitoring/example-service-isrunning.py
+share/examples/monitoring/example-service-monitoring.py
+share/examples/monitoring/example-system-health.py
diff --git a/sysutils/monitoring/distinfo b/sysutils/monitoring/distinfo
new file mode 100644
index 00000000000..8bba65ecb83
--- /dev/null
+++ b/sysutils/monitoring/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/04/22 09:39:21 imil Exp $
+
+SHA1 (e518a90eade4ca538468b6640dccb651e6034b9e.tar.gz) = 8bcf937fa142a5d669c26f0713cb4b06f190e964
+RMD160 (e518a90eade4ca538468b6640dccb651e6034b9e.tar.gz) = 6f09ef215dc3e21e849d95e481df57a53942be2d
+Size (e518a90eade4ca538468b6640dccb651e6034b9e.tar.gz) = 19880 bytes