symon is a system monitoring tool consisting of a small probe which

gathers various data (cpu, memory, network interfaces, pf statistics,
disk io) and transfers it to a central server which stores it in
RRD databases.
This commit is contained in:
dhartmei 2002-10-08 07:56:42 +00:00
parent 0da69615f6
commit f0d7843bec
14 changed files with 168 additions and 0 deletions

55
sysutils/symon/Makefile Normal file
View File

@ -0,0 +1,55 @@
# $OpenBSD: Makefile,v 1.1 2002/10/08 07:56:42 dhartmei Exp $
COMMENT= "active monitoring tool"
V= 2.51
DISTNAME= symon-${V}
CATEGORIES= net sysutils
NEED_VERSION= 1.502
MASTER_SITES= http://www.xs4all.nl/~wpd/symon/
HOMEPAGE= http://www.xs4all.nl/~wpd/symon/
MAINTAINER= Willem Dijkstra <wpd@xs4all.nl>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SUBPACKAGE?=
# client only package
MULTI_PACKAGES+= -mon
COMMENT-mon= "active host monitor"
MON_DEPENDS=
# gatherer only package
MULTI_PACKAGES+= -mux
COMMENT-mux= "symon data gatherer"
MUX_DEPENDS= rrd:rrdtool-*:net/rrdtool
# Web frontend only package also depends on php4,
# but php4.2.2 needs an :php4->=4:www/php4
# and php< needs an :php4-core->=4:www/php4
# => net result = it won't work without php, but the package does not force you
# to have it.
MULTI_PACKAGES+= -web
COMMENT-web= "symon web frontend"
WEB_DEPENDS= rrd:rrdtool-*:net/rrdtool
.for i in ${MULTI_PACKAGES}
FULLPKGNAME${i}= symon${i}-${V}
.endfor
.if defined(PACKAGING) && !empty(SUBPACKAGE)
MODULE_NAME= ${SUBPACKAGE:S/-//g}
LIB_DEPENDS= ${${MODULE_NAME:U}_DEPENDS}
MESSAGE= ${PKGDIR}/MESSAGE${SUBPACKAGE}
.else
LIB_DEPENDS= rrd:rrdtool-*:net/rrdtool
.endif
WRKDIST= ${WRKDIR}/symon
SUBST_VARS= V
.include <bsd.port.mk>

3
sysutils/symon/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (symon-2.51.tar.gz) = aba6c8efd0c7987612a81b215f54fd1d
RMD160 (symon-2.51.tar.gz) = 3c5aee476e0ada4024a577b3c22a763700bba515
SHA1 (symon-2.51.tar.gz) = bf2fd9e2fc7a877d892de102d8b6b7fd2f2eea54

10
sysutils/symon/pkg/DESCR Normal file
View File

@ -0,0 +1,10 @@
symon is a lightweight system monitor that measures cpu, memory,
interface and disk statistics every 5 seconds. This information is
then spooled over "the network" to symux for further processing.
The port will yield 4 packages:
symon-mon-${V}.tgz : symon daemon and manual
symon-mux-${V}.tgz : symux daemon, manual and auxilliary scripts
symon-web-${V}.tgz : web frontend
symon-${V}.tgz : all of the above rolled into a single package

View File

@ -0,0 +1,4 @@
symon is a lightweight system monitor that measures cpu, memory,
interface and disk statistics every 5 seconds. This information is
then spooled over "the network" to symux for further processing.

View File

@ -0,0 +1,4 @@
symux is a heavyweight data gatherer for the lightweight symon system
monitor. symon is a lightweight system monitor that measures cpu,
memory, interface and disk statistics every 5 seconds.

View File

@ -0,0 +1,6 @@
symon is a lightweight system monitor that measures cpu, memory,
interface and disk statistics every 5 seconds. This information is
then spooled over "the network" to symux for further processing.
symon2web is a set of php scripts that provide a view on the data that
symux gathered.

View File

@ -0,0 +1,7 @@
+---------------
| Example configurations for both symon and symux have been installed
| in ${PREFIX}/share/symon.
|
| RRD files can be obtained by running
| ${PREFIX}/share/symon/c_smrrds.sh
+---------------

View File

@ -0,0 +1,4 @@
+---------------
| An example configuration for symon has been installed in
| ${PREFIX}/share/symon.
+---------------

View File

@ -0,0 +1,7 @@
+---------------
| An example configuration for symux has been installed in
| ${PREFIX}/share/symon.
|
| RRD files can be obtained by running
| ${PREFIX}/share/symon/c_smrrds.sh
+---------------

View File

@ -0,0 +1,8 @@
+---------------
| The webapplication has been installed in
| ${PREFIX}/share/symon/web.
|
| Edit datasources.inc to point to the place where symux deposits the
| rrd files. This should point to a directory that contains rrd files
| in the following form: '.../machine/*.rrd'.
+---------------

27
sysutils/symon/pkg/PLIST Normal file
View File

@ -0,0 +1,27 @@
@comment $Id: PLIST,v 1.1 2002/10/08 07:56:42 dhartmei Exp $
@comment $OpenBSD: PLIST,v 1.1 2002/10/08 07:56:42 dhartmei Exp $
libexec/symon
libexec/symux
man/cat8/symon.0
man/cat8/symux.0
share/symon/c_smrrds.sh
share/symon/symon.conf
share/symon/symux.conf
share/symon/web/class_cpu.inc
share/symon/web/class_graph.inc
share/symon/web/class_if.inc
share/symon/web/class_io.inc
share/symon/web/class_mem.inc
share/symon/web/class_pf.inc
share/symon/web/datasources.inc
share/symon/web/graph_cpu.php
share/symon/web/graph_if.php
share/symon/web/graph_io.php
share/symon/web/graph_mem.php
share/symon/web/graph_pf.php
share/symon/web/index.php
share/symon/web/symon.css
share/symon/web/symon.png
share/symon/web/spacer.png
@dirrm share/symon/web
@dirrm share/symon

View File

@ -0,0 +1,6 @@
@comment $Id: PLIST-mon,v 1.1 2002/10/08 07:56:42 dhartmei Exp $
@comment $OpenBSD: PLIST-mon,v 1.1 2002/10/08 07:56:42 dhartmei Exp $
libexec/symon
man/cat8/symon.0
share/symon/symon.conf
@dirrm share/symon

View File

@ -0,0 +1,7 @@
@comment $Id: PLIST-mux,v 1.1 2002/10/08 07:56:42 dhartmei Exp $
@comment $OpenBSD: PLIST-mux,v 1.1 2002/10/08 07:56:42 dhartmei Exp $
libexec/symux
man/cat8/symux.0
share/symon/c_smrrds.sh
share/symon/symux.conf
@dirrm share/symon

View File

@ -0,0 +1,20 @@
@comment $Id: PLIST-web,v 1.1 2002/10/08 07:56:42 dhartmei Exp $
@comment $OpenBSD: PLIST-web,v 1.1 2002/10/08 07:56:42 dhartmei Exp $
share/symon/web/class_cpu.inc
share/symon/web/class_graph.inc
share/symon/web/class_if.inc
share/symon/web/class_io.inc
share/symon/web/class_mem.inc
share/symon/web/class_pf.inc
share/symon/web/datasources.inc
share/symon/web/graph_cpu.php
share/symon/web/graph_if.php
share/symon/web/graph_io.php
share/symon/web/graph_mem.php
share/symon/web/graph_pf.php
share/symon/web/index.php
share/symon/web/symon.css
share/symon/web/symon.png
share/symon/web/spacer.png
@dirrm share/symon/web
@dirrm share/symon