


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



