logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

smicache - caching method for use with libsmi

Author

       (C) 2001-2004 Frank Strauss, TU Braunschweig, Germany <strauss@ibr.cs.tu-bs.de>

IBR                                              August 10, 2004                                     smicache(1)

Description

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

Example

Smicache can be used by putting the following line into the global configuration file:

         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/

       You might want to chmod 1777 /usr/local/share/mibs/cache.

Name

       smicache - caching method for use with libsmi

Options

-V     Show the smicache version and exit.

       -h     Show a help text and exit.

       -ddir Write fetched module file(s) to directory dir.

       -pprefix
              Use the URL prefix prefix for fetching modules.

       mib    The MIB module to be fetched.

       Note  that  smicache  is just a very simple script that builds on the wget program to retrieve files from
       URLs. It does not handle the file attributes of retrieved modules in any special way, so that you have to
       care about permissions in multi-user environments.

See Also

       The libsmi(3) project is documented at http://www.ibr.cs.tu-bs.de/projects/libsmi/.

       smilint(1)

Synopsis

smicache [ -Vh ] [ -ddir ] [ -pprefix ] [ mib ]

See Also