This ZenPack consists of a report for listing each MAC address and the Device

and Interface it is associated with. This report makes use of the layer 2
catalog already present in Zenoss. It only allows sorting by MAC address and is
not exportable. The author made this decision because the processing time was
too great for an installation with more than a few thousand interfaces. The
author can make another one available that is exportable and sortable by the
other two fields (device and interface), if anyone decides they would like to
live through the painful wait time.

More details can be found at provided url.

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

PR:		ports/157191
Submitted by:	Zenoss <zenoss@experts-exchange.com>
This commit is contained in:
Chris Rees 2011-10-30 16:41:50 +00:00
parent a7b1a89afd
commit 1d3e7937d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284734
7 changed files with 57 additions and 0 deletions

View File

@ -302,5 +302,6 @@
SUBDIR += zenpack-deviceadvdetail
SUBDIR += zenpack-devicesearch
SUBDIR += zenpack-interfacegraphs
SUBDIR += zenpack-macreport
.include <bsd.port.subdir.mk>

View File

@ -0,0 +1,25 @@
# New ports collection makefile for: MACReport
# Date created: 13 May 2011
# Whom: Zenoss <zenoss@experts-exchange.com>
#
# $FreeBSD$
#
PORTNAME= MACReport
PORTVERSION= 1.0.1
CATEGORIES= net-mgmt
MASTER_SITES= http://zenpacks.zenoss.org/trac-zenpacks/changeset/1002/tags/
DISTFILES= mac-report-${PORTVERSION}?old_path=%2F\&format=zip
MAINTAINER= zenoss@experts-exchange.com
COMMENT= Lists MAC address and the Device and Interface associated info
USE_ZIP= yes
ZPACKGROUP= community
WRKSRC= ${WRKDIR}/tags/mac-report-${PORTVERSION}
ZPACKPREFIX= ZenPacks.sodonnell.
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.zenoss.mk"
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
SHA256 (mac-report-1.0.1?old_path=%2F&format=zip) = 085e200d48736f73ff7adaf008930d9d6f533dd6ff262963051d6210522de436
SIZE (mac-report-1.0.1?old_path=%2F&format=zip) = 5491

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,12 @@
This ZenPack consists of a report for listing each MAC address and the Device
and Interface it is associated with. This report makes use of the layer 2
catalog already present in Zenoss. It only allows sorting by MAC address and is
not exportable. The author made this decision because the processing time was
too great for an installation with more than a few thousand interfaces. The
author can make another one available that is exportable and sortable by the
other two fields (device and interface), if anyone decides they would like to
live through the painful wait time.
More details can be found at provided url.
WWW: http://community.zenoss.org/docs/DOC-3512

View File

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