summaryrefslogtreecommitdiffstats
path: root/sysutils/checkservice
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-01-21 16:47:58 +0000
committerijliao <ijliao@FreeBSD.org>2001-01-21 16:47:58 +0000
commit1cf1629ea2d882f7eb11deb04698b5f85aba1a37 (patch)
treeb0f9c58e0e548d4818ba20bb8efe93ba3ac41c34 /sysutils/checkservice
parentaf766d4d1d4e0c6ab12c137752aef96a33395022 (diff)
downloadFreeBSD-ports-1cf1629ea2d882f7eb11deb04698b5f85aba1a37.zip
FreeBSD-ports-1cf1629ea2d882f7eb11deb04698b5f85aba1a37.tar.gz
add checkservice, tool for check status of services
PR: 23983 Approved by: clive
Diffstat (limited to 'sysutils/checkservice')
-rw-r--r--sysutils/checkservice/Makefile49
-rw-r--r--sysutils/checkservice/distinfo1
-rw-r--r--sysutils/checkservice/pkg-comment1
-rw-r--r--sysutils/checkservice/pkg-descr17
-rw-r--r--sysutils/checkservice/pkg-plist32
5 files changed, 100 insertions, 0 deletions
diff --git a/sysutils/checkservice/Makefile b/sysutils/checkservice/Makefile
new file mode 100644
index 0000000..16398ab
--- /dev/null
+++ b/sysutils/checkservice/Makefile
@@ -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>
diff --git a/sysutils/checkservice/distinfo b/sysutils/checkservice/distinfo
new file mode 100644
index 0000000..d818091
--- /dev/null
+++ b/sysutils/checkservice/distinfo
@@ -0,0 +1 @@
+MD5 (checkservice-1.1.0.tar.gz) = 500a8f97b9a6c69d8b6d19ae0b84cb04
diff --git a/sysutils/checkservice/pkg-comment b/sysutils/checkservice/pkg-comment
new file mode 100644
index 0000000..ed42f10
--- /dev/null
+++ b/sysutils/checkservice/pkg-comment
@@ -0,0 +1 @@
+Checkservice is written to check the status of the services
diff --git a/sysutils/checkservice/pkg-descr b/sysutils/checkservice/pkg-descr
new file mode 100644
index 0000000..8b0a2df
--- /dev/null
+++ b/sysutils/checkservice/pkg-descr
@@ -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
diff --git a/sysutils/checkservice/pkg-plist b/sysutils/checkservice/pkg-plist
new file mode 100644
index 0000000..97e1d2d
--- /dev/null
+++ b/sysutils/checkservice/pkg-plist
@@ -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
OpenPOWER on IntegriCloud