]>
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 `/'.) | |
63a5b728 | 9 | path /usr/share/mibs |
6579ae9d | 10 | |
63a5b728 | 11 | # EXPERIMENTAL: Add a caching method (works only on UNIX systems). |
6579ae9d | 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). | |
63a5b728 | 15 | #cache /var/cache/mibs /usr/bin/smicache -d /var/cache/mibs -p http://www.ibr.cs.tu-bs.de/projects/libsmi/smicache/ |
6579ae9d | 16 | |
17 | # Don't show any errors by default. | |
18 | level 0 | |
19 | ||
20 | # Preload some basic SMIv2 modules. | |
63a5b728 | 21 | load SNMPv2-MIB |
6579ae9d | 22 | load SNMPv2-SMI |
23 | load SNMPv2-TC | |
24 | load SNMPv2-CONF | |
25 | ||
26 | # Make smilint shout loud to report all errors and warnings. | |
27 | smilint: level 9 | |
28 | ||
29 | # But please don't claim about any names longer than 32 chars. | |
30 | # (note: this is the prefix of errors `namelength-32-module, | |
31 | # -type, -object, -enumeration, and -bit) | |
32 | smilint: hide namelength-32 | |
33 | ||
34 | # Preloading some more modules for special applications. | |
35 | tcpdump: load DISMAN-SCRIPT-MIB | |
36 | tcpdump: load IF-MIB | |
63a5b728 ER |
37 | tcpdump: load UCD-SNMP-MIB |
38 | tcpdump: load SNMPv2-MIB | |
6579ae9d | 39 | |
40 | smiquery: load IF-MIB |