Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

24
sysutils/monitoring/DESCR Normal file
View File

@@ -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

View File

@@ -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"

10
sysutils/monitoring/PLIST Normal file
View File

@@ -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

View File

@@ -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