blob: e7756643cb250889b605abad06e6d0ace4cff7d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
--- ./find-if.pl.orig Sat Jan 3 23:44:21 2004
+++ ./find-if.pl Mon Oct 9 13:49:17 2006
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!%%PERL%% -w
#ifGraph 0.4.10 - Network Interface Data to RRD
#Copyright (C) 2001-200333 Ricardo Sartori
#
@@ -19,10 +19,6 @@
#Sugestoes e criticas (sem flames!!) mailto:sartori@lrv.ufsc.br
#Visite: http://ifgraph.lrv.ufsc.br
-# 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
|