#!/bin/sh
#
# A wrapper shell script to correctly run the snmpsniff binary.
#

# Change the following to wherever you installed the CMU-SNMP shared library.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cmu-snmp/lib

# Change the following to wherever you install the CMU-SNMP v1.10 MIB file.
export MIBFILE_v2=/etc/mib-v2.txt

# Change this to wherever you install the snmpsniff binary.
bin_path=/usr/local/bin

$bin_path/snmpsniff $@
