


Tricklet(1)              USER COMMANDS                Tricklet(1)



NAME
     Tricklet - the DNPAP's SNMP library

SYNOPSIS
     multiple

DESCRIPTION
     _T_r_i_c_k_l_e_t 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  defini-
     tions.

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  $CONFIGROOT 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  inter-
          preted  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  host-
          name.  Can be overwritten on the commandline.
     mgmt.medium
          Should be  set  to  a  string  containing  the  initial



Sun Release 4.1        Last change: local                       1






Tricklet(1)              USER COMMANDS                Tricklet(1)



          medium.  Can be overwritten on the commandline.
     mgmt.community
          Should be set to a string containing the  initial  com-
          munity 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 $CONFIGROOT. This file must
     be compiled using the _c_f_g_2_i_n_i command. This compilation will
     create  the file global.ini which will be used by the _T_r_i_c_k_-
     _l_e_t programs.

FILES
     $(MIBHOME)/mibs          list of MOSY MIB definition files
     $(MIBHOME)/*.def         MOSY MIB definition files
     $(CONFIGROOT)/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
     _s_n_m_p-_g_e_t(_1) _s_n_m_p-_s_e_t(_1) _s_n_m_p-_n_x_t(_1) _s_n_m_p-_i_n_f(_1)  _s_n_m_p-_t_b_l(_1)
     _s_t_d_s_p_o_o_k(_1) _n_p_s_p_o_o_k(_1) _c_f_g_2_i_n_i(_1) _i_n_i_2_c_f_g(_1)




















Sun Release 4.1        Last change: local                       2



