summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2011-10-27 14:36:31 +0000
committerChris Rees <crees@FreeBSD.org>2011-10-27 14:36:31 +0000
commit2a3a105fae955b22a91c34316cebdce8a8c7ee8b (patch)
tree6f1f45a79069e079044a43aaffe51bbfd85f0dff /net-mgmt
parent- Update to 1.50 (diff)
When troubleshooting network issues, it can be very useful to have all the
interface graphs for a device on the same screen. This helps with spotting trends, or tracing where traffic is flowing through a switch or router. The only way to natively achieve this with Zenoss is to create a graph or multi-graph report for every network device manually, which can be a chore if you have more than a few network devices. This ZenPack provides a new link on the left side of a device detail view called "Interface Graphs" - this view shows the graphs for all of the network interfaces on the device in one place, allowing for fast spotting of issues or traffic flows. Both the interface name and the description (if any) are used to title the graphs to aid with identification. Note that with stacked switches, you can end up with a very large number of graphs on the page, so tuning this slightly via the configuration properties below could be a good idea in these situations. WWW: http://community.zenoss.org/docs/DOC-10226 PR: ports/157503 Submitted by: Zenoss <zenoss@experts-exchange.com>
Notes
Notes: svn path=/head/; revision=284448
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/zenpack-interfacegraphs/Makefile21
-rw-r--r--net-mgmt/zenpack-interfacegraphs/distinfo2
-rw-r--r--net-mgmt/zenpack-interfacegraphs/files/pkg-deinstall.in10
-rw-r--r--net-mgmt/zenpack-interfacegraphs/files/pkg-message.in8
-rw-r--r--net-mgmt/zenpack-interfacegraphs/pkg-descr18
-rw-r--r--net-mgmt/zenpack-interfacegraphs/pkg-plist2
7 files changed, 62 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 23381cb8610b..fb863fa6f6bf 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -299,5 +299,6 @@
SUBDIR += zenoss
SUBDIR += zenpack-dellmon
SUBDIR += zenpack-deviceadvdetail
+ SUBDIR += zenpack-interfacegraphs
.include <bsd.port.subdir.mk>
diff --git a/net-mgmt/zenpack-interfacegraphs/Makefile b/net-mgmt/zenpack-interfacegraphs/Makefile
new file mode 100644
index 000000000000..5e4bb8583595
--- /dev/null
+++ b/net-mgmt/zenpack-interfacegraphs/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: InterfaceGraphs
+# Date created: 26 May 2011
+# Whom: Zenoss <zenoss@experts-exchange.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= InterfaceGraphs
+PORTVERSION= 1.0
+CATEGORIES= net-mgmt
+MASTER_SITES= http://www.glenbarber.us/ports/net-mgmt/zenpack-${PORTNAME}/
+
+MAINTAINER= zenoss@experts-exchange.com
+COMMENT= Provides a link that graphs all network interfaces for a device
+
+ZPACKGROUP= community
+ZPACKPREFIX= ZenPacks.community.
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/Mk/bsd.zenoss.mk"
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/zenpack-interfacegraphs/distinfo b/net-mgmt/zenpack-interfacegraphs/distinfo
new file mode 100644
index 000000000000..d12fdaeacd53
--- /dev/null
+++ b/net-mgmt/zenpack-interfacegraphs/distinfo
@@ -0,0 +1,2 @@
+SHA256 (InterfaceGraphs-1.0.tar.gz) = 5acf65f06c57557bd09ba7cd8e5716e1db637b07ea00a9a276fdca82ae96705c
+SIZE (InterfaceGraphs-1.0.tar.gz) = 5207
diff --git a/net-mgmt/zenpack-interfacegraphs/files/pkg-deinstall.in b/net-mgmt/zenpack-interfacegraphs/files/pkg-deinstall.in
new file mode 100644
index 000000000000..a1f84ae8e2cf
--- /dev/null
+++ b/net-mgmt/zenpack-interfacegraphs/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-interfacegraphs/files/pkg-message.in b/net-mgmt/zenpack-interfacegraphs/files/pkg-message.in
new file mode 100644
index 000000000000..8e2a09bc46ba
--- /dev/null
+++ b/net-mgmt/zenpack-interfacegraphs/files/pkg-message.in
@@ -0,0 +1,8 @@
+
+Before activation of this Zenpack, you will need to create a Sub-Folder named
+"Storage" under MIBs in the web-interface. (Advanced-> MIBs> Sub-Folder)
+
+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-interfacegraphs/pkg-descr b/net-mgmt/zenpack-interfacegraphs/pkg-descr
new file mode 100644
index 000000000000..3ad8458e626c
--- /dev/null
+++ b/net-mgmt/zenpack-interfacegraphs/pkg-descr
@@ -0,0 +1,18 @@
+When troubleshooting network issues, it can be very useful to have all the
+interface graphs for a device on the same screen. This helps with spotting
+trends, or tracing where traffic is flowing through a switch or router. The
+only way to natively achieve this with Zenoss is to create a graph or
+multi-graph report for every network device manually, which can be a chore
+if you have more than a few network devices.
+
+This ZenPack provides a new link on the left side of a device detail view
+called "Interface Graphs" - this view shows the graphs for all of the network
+interfaces on the device in one place, allowing for fast spotting of issues
+or traffic flows. Both the interface name and the description (if any) are
+used to title the graphs to aid with identification.
+
+Note that with stacked switches, you can end up with a very large number of
+graphs on the page, so tuning this slightly via the configuration properties
+below could be a good idea in these situations.
+
+WWW: http://community.zenoss.org/docs/DOC-10226
diff --git a/net-mgmt/zenpack-interfacegraphs/pkg-plist b/net-mgmt/zenpack-interfacegraphs/pkg-plist
new file mode 100644
index 000000000000..52307ea0055e
--- /dev/null
+++ b/net-mgmt/zenpack-interfacegraphs/pkg-plist
@@ -0,0 +1,2 @@
+zenoss/ZenPack/%%ZPACK%%
+@dirrmtry zenoss/ZenPack