1smicache(1)                        SMI Tools                       smicache(1)
2
3
4

NAME

6       smicache - caching method for use with libsmi
7

SYNOPSIS

9       smicache [ -Vh ] [ -d dir ] [ -p prefix ] [ mib ]
10

DESCRIPTION

12       The  smicache  program  can be used by libsmi to fetch MIB modules that
13       cannot be found in regular local MIB directories.
14

OPTIONS

16       -V     Show the smicache version and exit.
17
18       -h     Show a help text and exit.
19
20       -d dir Write fetched module file(s) to directory dir.
21
22       -p prefix
23              Use the URL prefix prefix for fetching modules.
24
25       mib    The MIB module to be fetched.
26
27       Note that smicache is just a very simple script that builds on the wget
28       program  to  retrieve  files  from  URLs.  It  does not handle the file
29       attributes of retrieved modules in any special way, so that you have to
30       care about permissions in multi-user environments.
31

EXAMPLE

33       Smicache can be used by putting the following line into the global con‐
34       figuration file:
35
36         cache /usr/local/share/mibs/cache \
37           /usr/local/bin/smicache \
38           -d /usr/local/share/mibs/cache \
39           -p http://www.ibr.cs.tu-bs.de/projects/libsmi/smicache/
40
41       You might want to chmod 1777 /usr/local/share/mibs/cache.
42

SEE ALSO

44       The  libsmi(3)   project   is   documented   at   http://www.ibr.cs.tu-
45       bs.de/projects/libsmi/.
46
47       smilint(1)
48

AUTHOR

50       (C)    2001-2004    Frank    Strauss,    TU    Braunschweig,    Germany
51       <strauss@ibr.cs.tu-bs.de>
52
53
54
55IBR                             August 10, 2004                    smicache(1)
Impressum