2c81584
#
2c81584
# smi.conf - Global/User SMI configuration file.
2c81584
#
2c81584
# See smi_config(3) for detailed information on configuration files.
2c81584
#
2c81584
2c81584
# Extend (note the semicolon) the libsmi default module search path.
2c81584
#path :/usr/local/share/mibs/sun
2c81584
#path :/usr/local/share/mibs/cisco
2c81584
2c81584
# Add a private directory.
2c81584
#path :/home/strauss/lib/mibs
2c81584
2c81584
# EXPERIMENTAL: Add a caching method (works only on UNIX systems). 
2c81584
# NOTE: the cache directory must exist and permissions must be
2c81584
# handled appropriately. A simple but insecure way is to apply
2c81584
# a tmp flag to the directory (chmod 1777 /usr/local/share/mibs/cache).
2c81584
#cache /usr/local/share/mibs/cache /usr/local/bin/smicache -d /usr/local/share/mibs/cache -p http://www.ibr.cs.tu-bs.de/projects/libsmi/smicache/
2c81584
2c81584
# Don't show any errors by default.
2c81584
level 0
2c81584
2c81584
# Preload some basic SMIv2 modules.
2c81584
load SNMPv2-SMI
2c81584
load SNMPv2-TC
2c81584
load SNMPv2-CONF
2c81584
2c81584
# Make smilint shout loud to report all errors and warnings.
2c81584
smilint: level 9
2c81584
2c81584
# But please don't claim about any names longer than 32 chars.
2c81584
# (note: this is the prefix of errors `namelength-32-module,
2c81584
#  -type, -object, -enumeration, and -bit)
2c81584
smilint: hide namelength-32
2c81584
2c81584
# Preloading some more modules for special applications.
2c81584
tcpdump: load DISMAN-SCRIPT-MIB
2c81584
tcpdump: load IF-MIB
2c81584
smiquery: load IF-MIB
2c81584