summaryrefslogtreecommitdiff
path: root/net/ifgraph/files/patch-find-if.pl
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-12-08 20:51:57 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-12-08 20:51:57 +0000
commitd838e8fa85b4be166e1a3d71f6ff996ebaa37f20 (patch)
treea521a039db6385598f70f85f07547c75848cc750 /net/ifgraph/files/patch-find-if.pl
parent. Wrap the PORTDOCS setting in .if !defined(NOPORTDOCS) .. .endif. (diff)
Add ifgraph 0.4.9,
ifGraph is a set of Perl scripts created to help network administrators to visualize network flow on a daily, weekly, monthly, and yearly basis. The graphics are created with RRDTool, and it shows bytes (in/out) and errors for each interface. It also shows the current/average/max use and the respective link/interface usage in percentages. The program also outputs HTML files to make the visualization of the PNG/GIF/GD images more friendly and easy. PR: 57421 Submitted by: Lars Thegler <lars@thegler.dk>
Notes
Notes: svn path=/head/; revision=95418
Diffstat (limited to 'net/ifgraph/files/patch-find-if.pl')
-rw-r--r--net/ifgraph/files/patch-find-if.pl22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/ifgraph/files/patch-find-if.pl b/net/ifgraph/files/patch-find-if.pl
new file mode 100644
index 000000000000..c547871067eb
--- /dev/null
+++ b/net/ifgraph/files/patch-find-if.pl
@@ -0,0 +1,22 @@
+--- find-if.pl.orig Sat Sep 20 14:35:38 2003
++++ find-if.pl Sat Sep 20 14:36:07 2003
+@@ -19,10 +19,6 @@
+ #Sugestoes e criticas (sem flames!!) mailto:sartori@ifgraph.org
+ #Visite: http://www.ifgraph.org
+
+-# Let's find out where we are
+-use FindBin;
+-# # Found, now we add it to the @INC
+-use lib "$FindBin::Bin/lib";
+ # # We are strict
+ use strict;
+ # # Get the command line options
+@@ -30,7 +26,7 @@
+ getopts('adhims');
+
+ # We just nedd the basic features here
+-use Net::SNMP_365;
++use Net::SNMP;
+
+ use vars qw($response $response2 $response3 $response4 $response5 $response6 $response7 $response8 $response9
+ $response10 $response11 $response12 $opt_d @ips $ip $mac $opt_a $opt_h $opt_m $opt_i $opt_s $if $desc $stat $ocin