7eb5b4f04c
interface and disk statistics every 5 seconds. It sends this data on to symux for further processing. symon has been designed to inflict minimal performance and security impact -- it can be run as nobody on the system it monitors. symux is a non-priviledged daemon that listens to incoming symon traffic. symux can write the incoming symon streams into rrd files. Clients interested in monitoring machine state can also log into symux and receive data as ascii as it arrives. symon2web is a php script that can show the data stored in the rrd files. PR: ports/78416 Submitted by: Ulrich Spoerlein <q@uni.de>
41 lines
847 B
Makefile
41 lines
847 B
Makefile
# New ports collection makefile for: sysutils/symon
|
|
# Date created: 17.02.2005
|
|
# Whom: Ulrich Spoerlein <q@uni.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= symon
|
|
PORTVERSION= 2.70
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.xs4all.nl/~wpd/symon/philes/
|
|
|
|
MAINTAINER= q@uni.de
|
|
COMMENT= Performance and information monitoring tool
|
|
|
|
LIB_DEPENDS= rrd.0:${PORTSDIR}/net/rrdtool
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
MAKE_ARGS+= SYSCONFDIR=${LOCALBASE}/etc BINDIR=bin
|
|
PKGMESSAGE= ${WRKDIR}/.pkg-message
|
|
|
|
MAN8= symon.8 symux.8
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
post-patch:
|
|
@${ECHO} "" > ${WRKSRC}/platform/FreeBSD/Makefile.inc
|
|
.endif
|
|
|
|
post-build:
|
|
@${SED} 's,%%LOCALBASE%%,${LOCALBASE},g' pkg-message > ${PKGMESSAGE}
|
|
|
|
pre-install:
|
|
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|