Random Project

Sum up of changes

The following changes made it work for me on an ubuntu installation. I had the same problems as specified by other reviewers:

7c7
use lib “/usr/lib/nagios/plugins/” ;
56,58c56,58
$dfBU=`/usr/bin/snmpget -v 2c -c $opt_C $host SNMPv2-SMI::enterprises.789.1.5.4.1.30.$nr`;
60c60
my @dfbt=split(/Counter64:/,$dfBT);
65c65
my @dfbu=split(/Counter64:/,$dfBU);
95c95
print “Usage: $PROGNAME -H [-C community] -v -w -c
“;