Tricklet
Section: User Commands (1)
Updated: local
Index
NAME
Tricklet - the DNPAP's SNMP library
SYNOPSIS
multiple
DESCRIPTION
Tricklet
is a collection of small programs designed to enable the user
to do SNMP requests in a human friendly way. It contains
snmp-get to do snmp GET requests, snmp-set to do snmp SET requests,
snmp-tbl to retrieve an SNMP table, snmp-nxt to do snmp GETNEXT
requests, snmp-inf to retrieve information about an SNMP MIB
variable and last but not least spook which combines all the above
and can be called as a child process by some kind of script language.
ENVIRONMENTS
Tricklet runs under UNIX, OS/2 and a beta version has been
compiled under DOS. It is written in C and uses the ISODE MOSY
MIB compiler output (.def files) as it's MIB definitions.
USAGE
Normally the user will use the commandline tricklet commands
to do quick and dirty SNMP work. If he/she has a list of
SNMP variables he/she wants to collect regulary, he/she creates a
file containing the required SNMP variables in Tricklet format, and
pipes them to the snmp-get command. The result is piped to a program
that analyses the resulting SNMP values.
If the user wants to use a scripting language like perl to do
his/her management work in, he/she will make use to Tricklets
spook programs.
CONFIGURATION
Tricklet uses the DNPAP's configuration library, and thus needs
the environment variable $CONFIGPATH to point to a directory
where it can find it's configuration files. The following
configuration variables are looked for:
mibdf.mibhome
Should be set to a string containing a path to the directory
where tricklet will search for the file 'mibs' and the
Each line of the file 'mibs' is interpreted as the name
of a '.def' file containing a MIB definition. The MIBs
defined by the files mentioned in the file 'mibs' form
together the MIB database of the tricklet applications.
mgmt.agent
Should be set to a string containing the initial hostname.
Can be overwritten on the commandline.
mgmt.medium
Should be set to a string containing the initial medium.
Can be overwritten on the commandline.
mgmt.community
Should be set to a string containing the initial community string.
Can be overwritten on the commandline.
mgmt.timeout
Should be set to a LONG integer definining the timeout time (microsecs)
of a SNMP request.
Can be overwritten on the commandline.
mgmt.retries
Should be set to a SHORT containing the number of retries of
a SNMP request.
Can be overwritten on the commandline.
These configuration variables are normally defined in the
file global.cfg in the directory $CONFIGPATH. This file
must be compiled using the
cfg2ini
command. This compilation will create the file global.ini
which will be used by the
Tricklet
programs.
FILES
- $(MIBHOME)/mibs
-
list of MOSY MIB definition files
- $(MIBHOME)/*.def
-
MOSY MIB definition files
- $(CONFIGPATH)/global.ini
-
dnpap's configuration variables
- $(BIN)/snmp-get
-
- $(BIN)/snmp-set
-
- $(BIN)/snmp-nxt
-
- $(BIN)/snmp-inf
-
- $(BIN)/snmp-tbl
-
- $(BIN)/stdspook
-
- $(BIN)/npspook (OS/2)
-
- $(BIN)/cfg2ini
-
- $(BIN)/ini2cfg
-
SEE ALSO
snmp-get(1)
snmp-set(1)
snmp-nxt(1)
snmp-inf(1)
snmp-tbl(1)
stdspook(1)
npspook(1)
cfg2ini(1)
ini2cfg(1)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- ENVIRONMENTS
-
- USAGE
-
- CONFIGURATION
-
- FILES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 23:11:23 GMT, May 16, 2012