diff options
author | Chris Rees <crees@FreeBSD.org> | 2011-10-30 16:43:22 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2011-10-30 16:43:22 +0000 |
commit | 3eb0b8b4d588eb8a02a46f873bc805c3e9dcea98 (patch) | |
tree | d81e484e57ad12386c38bbd82b538bd004ecca2c /net-mgmt/zenpack-checkping | |
parent | 068235d79b674b70dd28a8cd1bcaa5c917adad08 (diff) |
Notes
Diffstat (limited to 'net-mgmt/zenpack-checkping')
-rw-r--r-- | net-mgmt/zenpack-checkping/Makefile | 24 | ||||
-rw-r--r-- | net-mgmt/zenpack-checkping/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/zenpack-checkping/files/pkg-deinstall.in | 10 | ||||
-rw-r--r-- | net-mgmt/zenpack-checkping/files/pkg-message.in | 5 | ||||
-rw-r--r-- | net-mgmt/zenpack-checkping/pkg-descr | 6 | ||||
-rw-r--r-- | net-mgmt/zenpack-checkping/pkg-plist | 2 |
6 files changed, 49 insertions, 0 deletions
diff --git a/net-mgmt/zenpack-checkping/Makefile b/net-mgmt/zenpack-checkping/Makefile new file mode 100644 index 000000000000..9ab21d44e485 --- /dev/null +++ b/net-mgmt/zenpack-checkping/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: CheckPing +# Date created: 08 June 2011 +# Whom: Zenoss <zenoss@experts-exchange.com> +# +# $FreeBSD$ +# + +PORTNAME= CheckPing +PORTVERSION= 1.0 +CATEGORIES= net-mgmt www +MASTER_SITES= http://zenpacks.zenoss.org/trac-zenpacks/changeset/1002/tags/ +DISTFILES= nagios-check-ping-${PORTVERSION}?old_path=%2F\&format=zip + +MAINTAINER= zenoss@experts-exchange.com +COMMENT= Provides nagios ping check for Zenoss monitoring + +USE_ZIP= yes +ZPACKPREFIX= ZenPacks.Nagios. +ZPACKGROUP= community +WRKSRC= ${WRKDIR}/tags/nagios-check-ping-${PORTVERSION}/ + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/Mk/bsd.zenoss.mk" +.include <bsd.port.post.mk> diff --git a/net-mgmt/zenpack-checkping/distinfo b/net-mgmt/zenpack-checkping/distinfo new file mode 100644 index 000000000000..efd8a8b21ee7 --- /dev/null +++ b/net-mgmt/zenpack-checkping/distinfo @@ -0,0 +1,2 @@ +SHA256 (nagios-check-ping-1.0?old_path=%2F&format=zip) = 1f605381289046b2a2ac0491c908f7804b1d207f9c08bf6db523b934621c4398 +SIZE (nagios-check-ping-1.0?old_path=%2F&format=zip) = 4583 diff --git a/net-mgmt/zenpack-checkping/files/pkg-deinstall.in b/net-mgmt/zenpack-checkping/files/pkg-deinstall.in new file mode 100644 index 000000000000..a1f84ae8e2cf --- /dev/null +++ b/net-mgmt/zenpack-checkping/files/pkg-deinstall.in @@ -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 diff --git a/net-mgmt/zenpack-checkping/files/pkg-message.in b/net-mgmt/zenpack-checkping/files/pkg-message.in new file mode 100644 index 000000000000..869bea811264 --- /dev/null +++ b/net-mgmt/zenpack-checkping/files/pkg-message.in @@ -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 diff --git a/net-mgmt/zenpack-checkping/pkg-descr b/net-mgmt/zenpack-checkping/pkg-descr new file mode 100644 index 000000000000..c75fe7b4b004 --- /dev/null +++ b/net-mgmt/zenpack-checkping/pkg-descr @@ -0,0 +1,6 @@ +Zenoss comes with the nagios command check_ping. This zenpack implements that +nagios ping check. The template provides the Round-Trip-Average time along with +the packet loss rate. These two graphs are put in the "Performance" tab for each +device utilizing this template. + +WWW: http://community.zenoss.org/docs/DOC-3416 diff --git a/net-mgmt/zenpack-checkping/pkg-plist b/net-mgmt/zenpack-checkping/pkg-plist new file mode 100644 index 000000000000..52307ea0055e --- /dev/null +++ b/net-mgmt/zenpack-checkping/pkg-plist @@ -0,0 +1,2 @@ +zenoss/ZenPack/%%ZPACK%% +@dirrmtry zenoss/ZenPack |