pkgsrc/sysutils/monitoring/Makefile
imil cdd66d5fc9 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
2013-04-22 09:39:21 +00:00

32 lines
938 B
Makefile

# $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"