1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

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

PR:		ports/157719
Submitted by:	Zenoss <zenoss@experts-exchange.com>
This commit is contained in:
Chris Rees 2011-10-30 16:43:22 +00:00
parent 068235d79b
commit 3eb0b8b4d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284736
7 changed files with 50 additions and 0 deletions

View File

@ -298,6 +298,7 @@
SUBDIR += zabbix-server
SUBDIR += zenoss
SUBDIR += zenpack-apachemonitor
SUBDIR += zenpack-checkping
SUBDIR += zenpack-dellmon
SUBDIR += zenpack-deviceadvdetail
SUBDIR += zenpack-devicesearch

View File

@ -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>

View File

@ -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

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 @@
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

View File

@ -0,0 +1,2 @@
zenoss/ZenPack/%%ZPACK%%
@dirrmtry zenoss/ZenPack