xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/libsmi/libsmi/smi.conf (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#
2# smi.conf - Global/User SMI configuration file. (EXAMPLE)
3#
4# Copyright (c) 2000 Frank Strauss, Technical University of Braunschweig.
5#
6# See the file "COPYING" for information on usage and redistribution
7# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
8#
9# @(#) $Id: smi.conf-example 1134 2001-06-11 09:59:13Z strauss $
10#
11#
12# See smi_config(3) for detailed information on configuration files.
13#
14
15# Extend (note the semicolon) the libsmi default module search path.
16path :/usr/share/mibs/iana
17path :/usr/share/mibs/ietf
18path :/usr/share/mibs/irtf
19path :/usr/share/mibs/tubs
20
21# EXPERIMENTAL: Add a caching method (works only on UNIX systems).
22# NOTE: the cache directory must exist and permissions must be
23# handled appropriately. A simple but insecure way is to apply
24# a tmp flag to the directory (chmod 1777 /usr/local/share/mibs/cache).
25#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/
26
27# Don't show any errors by default.
28level 0
29
30# Preload some basic SMIv2 modules.
31load SNMPv2-SMI
32load SNMPv2-TC
33load SNMPv2-CONF
34
35# Make smilint shout loud to report all errors and warnings.
36smilint: level 9
37
38# But please don't claim about any names longer than 32 chars.
39# (note: this is the prefix of errors `namelength-32-module,
40#  -type, -object, -enumeration, and -bit)
41smilint: hide namelength-32
42
43# Preloading some more modules for special applications.
44tcpdump: load DISMAN-SCRIPT-MIB
45tcpdump: load IF-MIB
46
47smiquery: load IF-MIB
48
49