1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

NTPMonitor monitors the offset between system time and a target NTP (Network

Time Server) server's time.

More details can be found at provided url.

WWW: http://community.zenoss.org/docs/DOC-3469

PR:		ports/167194
Submitted by:	Zenoss <zenoss@experts-exchange.com>
This commit is contained in:
Chris Rees 2011-12-18 17:44:38 +00:00
parent c3765886cf
commit fce0cd9cfc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287601
6 changed files with 50 additions and 0 deletions

View File

@ -307,5 +307,6 @@
SUBDIR += zenpack-interfacegraphs
SUBDIR += zenpack-libvirt
SUBDIR += zenpack-macreport
SUBDIR += zenpack-ntpmonitor
.include <bsd.port.subdir.mk>

View File

@ -0,0 +1,26 @@
# New ports collection makefile for: NtpMonitor
# Date created: 13 May 2011
# Whom: Zenoss <zenoss@experts-exchange.com>
#
# $FreeBSD$
#
PORTNAME= NtpMonitor
PORTVERSION= 2.0.3
CATEGORIES= net-mgmt
MASTER_SITES= http://dev.zenoss.org/trac/changeset/26205/tags/zenoss-3.1.0/zenpacks/
DISTFILES= ${ZPACKPREFIX}${PORTNAME}?old_path=%2F\&format=zip
MAINTAINER= zenoss@experts-exchange.com
COMMENT= Monitors the offset between system time and a target NTP servers time
PLIST_FILES= zenoss/ZenPack/${ZPACK}
PLIST_DIRS= zenoss/ZenPack
USE_ZIP= yes
ZPACKGROUP= core
WRKSRC= ${WRKDIR}/tags/zenoss-3.1.0/zenpacks/${ZPACKPREFIX}${PORTNAME}/
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.zenoss.mk"
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
SHA256 (ZenPacks.zenoss.NtpMonitor?old_path=%2F&format=zip) = 4e761243ac6b1b6652465532a36bd4c193a9b9256cf9c7056804cf09675a88ea
SIZE (ZenPacks.zenoss.NtpMonitor?old_path=%2F&format=zip) = 10697

View File

@ -0,0 +1,10 @@
#!/bin/sh
if [ "$2" = "DEINSTALL" ]; then
echo "To de-activate this Zenpack, run the following command as the zenoss user:
%%ZENHOME%%/bin/zenpack --remove %%ZPACKPREFIX%%%%PORTNAME%%
IMPORTANT: De-activating a Zenpack will also remove all its associated data"
fi

View File

@ -0,0 +1,5 @@
To activate this Zenpack, run the following commands as the zenoss user:
%%ZENHOME%%/bin/zenpack --install %%ZPACKHOME%%/%%ZPACK%%
%%ZENHOME%%/bin/zopectl restart

View File

@ -0,0 +1,6 @@
NTPMonitor monitors the offset between system time and a target NTP (Network
Time Server) server's time.
More details can be found at provided url.
WWW: http://community.zenoss.org/docs/DOC-3469