]>
Commit | Line | Data |
---|---|---|
6579ae9d | 1 | # |
2 | # smi.conf - Global/User SMI configuration file. (EXAMPLE) | |
3 | # | |
4 | # See smi_config(3) for detailed information on configuration files. | |
5 | # | |
6 | ||
7 | # Extend (note the semicolon) the libsmi default module search path. | |
8 | # (On Windows systems, use `;' instead of `:', and `\' instead of `/'.) | |
9 | path :/usr/share/mibs | |
10 | ||
11 | # EXPERIMENTAL: Add a caching method (works only on UNIX systems). | |
12 | # NOTE: the cache directory must exist and permissions must be | |
13 | # handled appropriately. A simple but insecure way is to apply | |
14 | # a tmp flag to the directory (chmod 1777 /usr/local/share/mibs/cache). | |
15 | #cache /usr/share/mibs/cache /usr/bin/smicache -d /usr/share/mibs/cache -p http://www.ibr.cs.tu-bs.de/projects/libsmi/smicache/ | |
16 | ||
17 | # Don't show any errors by default. | |
18 | level 0 | |
19 | ||
20 | # Preload some basic SMIv2 modules. | |
21 | load SNMPv2-SMI | |
22 | load SNMPv2-TC | |
23 | load SNMPv2-CONF | |
24 | ||
25 | # Make smilint shout loud to report all errors and warnings. | |
26 | smilint: level 9 | |
27 | ||
28 | # But please don't claim about any names longer than 32 chars. | |
29 | # (note: this is the prefix of errors `namelength-32-module, | |
30 | # -type, -object, -enumeration, and -bit) | |
31 | smilint: hide namelength-32 | |
32 | ||
33 | # Preloading some more modules for special applications. | |
34 | tcpdump: load DISMAN-SCRIPT-MIB | |
35 | tcpdump: load IF-MIB | |
36 | ||
37 | smiquery: load IF-MIB |