ports/149719: [NEW PORT] sysutils/hatop: An interactive real-time monitoring tool for the HAProxy unix socket

Jim Riggs ports at christianserving.org
Mon Aug 16 20:50:04 UTC 2010


>Number:         149719
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/hatop: An interactive real-time monitoring tool for the HAProxy unix socket
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 16 20:50:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Jim Riggs
>Release:        FreeBSD 6.3-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD zion.christianserving.org 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #3: Mon May  5 21:27:22 CDT
>Description:
HATop is an interactive ncurses client and real-time monitoring
statistics displaying tool for the HAProxy unix socket.

HATop's appearance is similar to top. It supports various modes for
detailed statistics of all configured proxies and services in near
realtime. In addition, it features an interactive CLI for the haproxy
unix socket. This allows administrators to control the given haproxy
instance (change server weight, put servers into maintenance mode,
etc.) directly out of hatop (using keybinds or the CLI) and monitor the
results immediately.

WWW:	http://feurix.org/projects/hatop/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- hatop-0.7.3.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	hatop
#	hatop/distinfo
#	hatop/files
#	hatop/files/patch-hatop.py
#	hatop/Makefile
#	hatop/pkg-descr
#
echo c - hatop
mkdir -p hatop > /dev/null 2>&1
echo x - hatop/distinfo
sed 's/^X//' >hatop/distinfo << 'END-of-hatop/distinfo'
XMD5 (hatop-0.7.3.tar.gz) = 7f379934a8b6cb4ebbdcc8b05f3a598c
XSHA256 (hatop-0.7.3.tar.gz) = 56ab28fcc460f900c5f268fbf43189bf364644f4e327cbefd963c93dcd5ec97f
XSIZE (hatop-0.7.3.tar.gz) = 131613
END-of-hatop/distinfo
echo c - hatop/files
mkdir -p hatop/files > /dev/null 2>&1
echo x - hatop/files/patch-hatop.py
sed 's/^X//' >hatop/files/patch-hatop.py << 'END-of-hatop/files/patch-hatop.py'
X--- hatop.py.orig	2010-08-16 15:00:38.219112881 -0500
X+++ hatop.py	2010-08-16 15:00:29.802290549 -0500
X@@ -315,7 +315,7 @@
X (int,   'sid'),             # service id (unique inside a proxy)
X (int,   'throttle'),        # warm up status
X (int,   'lbtot'),           # total number of times a server was selected
X-(int,   'tracked'),         # id of proxy/server if tracking is enabled
X+(str,   'tracked'),         # id of proxy/server if tracking is enabled
X (int,   'type'),            # (0=frontend, 1=backend, 2=server, 3=socket)
X (int,   'rate'),            # number of sessions per second
X                             # over the last elapsed second
END-of-hatop/files/patch-hatop.py
echo x - hatop/Makefile
sed 's/^X//' >hatop/Makefile << 'END-of-hatop/Makefile'
X# New ports collection makefile for:	hatop
X# Date created:		2010-08-16
X# Whom:			Jim Riggs <ports at christianserving.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	hatop
XPORTVERSION=	0.7.3
XCATEGORIES=	sysutils net
XMASTER_SITES=	https://labs.feurix.org/admin/hatop/snapshot/ \
X		${MASTER_SITE_GOOGLE_CODE}
X
XMAINTAINER=	ports at christianserving.org
XCOMMENT=	An interactive real-time monitoring tool for the HAProxy unix socket
X
XRUN_DEPENDS=	${LOCALBASE}/sbin/haproxy:${PORTSDIR}/net/haproxy
X
XUSE_PYTHON=	yes
XNO_BUILD=	yes
X
XLICENSE=	GPLv3
X
XPLIST_FILES=	bin/hatop
XPORTDOCS=	HACKING LICENSE README README.keybinds
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/hatop.py ${PREFIX}/bin/hatop
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${DOCSDIR})
X.endif
X
X.include <bsd.port.mk>
END-of-hatop/Makefile
echo x - hatop/pkg-descr
sed 's/^X//' >hatop/pkg-descr << 'END-of-hatop/pkg-descr'
XHATop is an interactive ncurses client and real-time monitoring
Xstatistics displaying tool for the HAProxy unix socket.
X
XHATop's appearance is similar to top. It supports various modes for
Xdetailed statistics of all configured proxies and services in near
Xrealtime. In addition, it features an interactive CLI for the haproxy
Xunix socket. This allows administrators to control the given haproxy
Xinstance (change server weight, put servers into maintenance mode,
Xetc.) directly out of hatop (using keybinds or the CLI) and monitor the
Xresults immediately.
X
XWWW:	http://feurix.org/projects/hatop/
END-of-hatop/pkg-descr
exit
--- hatop-0.7.3.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list