mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 18:06:27 -04:00
add checkservice, tool for check status of services
PR: 23983 Approved by: clive
This commit is contained in:
parent
33aff2ecae
commit
fa24cda467
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37404
6 changed files with 101 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
SUBDIR += cd-write
|
||||
SUBDIR += cdrecord
|
||||
SUBDIR += cfengine
|
||||
SUBDIR += checkservice
|
||||
SUBDIR += clockspeed
|
||||
SUBDIR += comconsole
|
||||
SUBDIR += consolehm
|
||||
|
|
49
sysutils/checkservice/Makefile
Normal file
49
sysutils/checkservice/Makefile
Normal file
|
@ -0,0 +1,49 @@
|
|||
# ex:ts=8
|
||||
# New ports collection makefile for: checkservice
|
||||
# Date created: Jan 1, 2001
|
||||
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= checkservice
|
||||
PORTVERSION= 1.1.0
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.linvision.com/checkservice/files/
|
||||
|
||||
MAINTAINER= ijliao@FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Send.pm:${PORTSDIR}/mail/p5-Mail-Tools
|
||||
|
||||
USE_PERL5= YES
|
||||
|
||||
NO_BUILD= YES
|
||||
|
||||
MAN1= checkservice.1
|
||||
MAN5= checkservice.5
|
||||
|
||||
post-patch:
|
||||
.for file in ${PORTNAME} man/${PORTNAME}.1 man/${PORTNAME}.5
|
||||
@${PERL} -pi -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/${file}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
|
||||
${INSTALL_DATA} ${WRKSRC}/opensocket.pl ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
|
||||
${INSTALL_MAN} ${WRKSRC}/man/checkservice.1 ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/man/checkservice.5 ${PREFIX}/man/man5
|
||||
${MKDIR} -m 755 ${PREFIX}/lib/${PORTNAME}
|
||||
${CP} -R ${WRKSRC}/plugins/ ${PREFIX}/lib/${PORTNAME}
|
||||
${MKDIR} -m 755 ${PREFIX}/etc/${PORTNAME}
|
||||
${CP} -R ${WRKSRC}/config/ ${PREFIX}/etc/${PORTNAME}
|
||||
|
||||
post-install:
|
||||
.if !defined(BATCH)
|
||||
@${ECHO} ""
|
||||
@${ECHO} "############################################################################"
|
||||
@${ECHO} "# Config files are in ${PREFIX}/etc/${PORTNAME} #"
|
||||
@${ECHO} "# Plugins are in ${PREFIX}/lib/${PORTNAME} #"
|
||||
@${ECHO} "############################################################################"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
sysutils/checkservice/distinfo
Normal file
1
sysutils/checkservice/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (checkservice-1.1.0.tar.gz) = 500a8f97b9a6c69d8b6d19ae0b84cb04
|
1
sysutils/checkservice/pkg-comment
Normal file
1
sysutils/checkservice/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Checkservice is written to check the status of the services
|
17
sysutils/checkservice/pkg-descr
Normal file
17
sysutils/checkservice/pkg-descr
Normal file
|
@ -0,0 +1,17 @@
|
|||
Checkservice is written, as the name of the program suggests, to
|
||||
check the status of the services that you run on your own or a
|
||||
remote server/computer. It can monitor for example the FTP Server
|
||||
and Web server you are running and alarm you in several ways if
|
||||
something is wrong with them.
|
||||
|
||||
The variety of output types, check- & warningplugins make Checkservice
|
||||
suitable for many tasks. With simple configfiles you can scan
|
||||
important services on the local host, but also on remote hosts, and
|
||||
make sure you know if a vital service fails! Since the 0.9.9-release
|
||||
Checkservice supports grouping. This is a convenient way to organize
|
||||
the hosts to check in different categories.
|
||||
|
||||
WWW: http://www.linvision.com/checkservice/
|
||||
|
||||
-- Ying-Chieh Liao
|
||||
ijliao@FreeBSD.org
|
32
sysutils/checkservice/pkg-plist
Normal file
32
sysutils/checkservice/pkg-plist
Normal file
|
@ -0,0 +1,32 @@
|
|||
sbin/checkservice
|
||||
lib/perl5/site_perl/%%PERL_VER%%/opensocket.pl
|
||||
etc/checkservice/checkservice.conf
|
||||
etc/checkservice/failed.mail
|
||||
etc/checkservice/hosts/localhost
|
||||
etc/checkservice/plugins/sms.conf
|
||||
etc/checkservice/plugins/smsnet.conf
|
||||
etc/checkservice/statuspage.conf
|
||||
etc/checkservice/timeout.mail
|
||||
etc/checkservice/unreachable.mail
|
||||
lib/checkservice/check/ftp.plugin
|
||||
lib/checkservice/check/http.plugin
|
||||
lib/checkservice/check/https.plugin
|
||||
lib/checkservice/check/imap.plugin
|
||||
lib/checkservice/check/ldap.plugin
|
||||
lib/checkservice/check/mysql.plugin
|
||||
lib/checkservice/check/nntp.plugin
|
||||
lib/checkservice/check/pop3.plugin
|
||||
lib/checkservice/check/postgresql.plugin
|
||||
lib/checkservice/check/smtp.plugin
|
||||
lib/checkservice/check/ssh.plugin
|
||||
lib/checkservice/check/telnet.plugin
|
||||
lib/checkservice/check/template.plugin
|
||||
lib/checkservice/warning/beep.plugin
|
||||
lib/checkservice/warning/sms.plugin
|
||||
lib/checkservice/warning/smsnet.plugin
|
||||
@dirrm etc/checkservice/hosts
|
||||
@dirrm etc/checkservice/plugins
|
||||
@dirrm etc/checkservice
|
||||
@dirrm lib/checkservice/check
|
||||
@dirrm lib/checkservice/warning
|
||||
@dirrm lib/checkservice
|
Loading…
Add table
Reference in a new issue