


POLL.CONF(5)              FILE FORMATS               POLL.CONF(5)



NAME
     poll.conf - SNMP statistics demon configuration file

SYNOPSYS
     /usr/local/stats/Poll.conf

DESCRIPTION
     The SNMP statistics daemon (snmpstatd(8)) configuration file
     contains  list of variable assignments and gateway poll con-
     figurations.  Comments begin from character #  and  continue
     until a newline.  Empty lines are ignored.

     A variable assignment syntax is

          _v_a_r_i_a_b_l_e  _v_a_l_u_e

     where _v_a_r_i_a_b_l_e is one of the following:

     POLL _t_i_m_e
          polling interval (default is 60 seconds).  Time  should
          be specified as an integer number with appended qualif-
          ier (seconds, minutes, hours, days).  Qualifiers can be
          abbreviated.

     AGGR _t_i_m_e
     AGGREGATE _t_i_m_e
          statistics aggregation period; should not be less  than
          polling time (default is 15 minutes).

     DIR _d_i_r_e_c_t_o_r_y
     DIRECTORY _d_i_r_e_c_t_o_r_y
          the base directory (default is .), all other file names
          in  the  configuration  file will be prependew with the
          base directory name (except if they begin from /).

     NOTIFY _f_i_l_e
     NOTIFYFILE _f_i_l_e
          specifies the name of notification file, if that  vari-
          able is not set the notification is disabled.

     MAXERR _p_e_r_c_e_n_t_a_g_e
     MAXERRORS _p_e_r_c_e_n_t_a_g_e
          specifies the maximal tolerable link error rate, if the
          frequency  of  erroneous packets exceeded the specified
          value (during an aggregation period)  warning  will  be
          recorded into the notification file.  The argument is a
          floating-point number.

     STATE _f_i_l_e
     STATEFILE _f_i_l_e
          specifies the name of the network state file,  if  that
          variable  is not set the state file will not be created



Sun Release 4.1     Last change: 16 July 1993                   1






POLL.CONF(5)              FILE FORMATS               POLL.CONF(5)



          or updated.

     FCH _p_e_r_i_o_d
     FILECHANGE _p_e_r_i_o_d
          specifies the  frequency  of  changing  the  log  files
          (daily,  weekly,  monthly,  yearly  or  none).   At the
          beginning of every new file change period new log files
          will  be  automatically created (names of the log files
          contain the correponding starting date).   Period  key-
          words  can  be  abbreviated.   The  default file change
          period is monthly.

     The rest of the configuration file contains the gateway pol-
     ling configurations with the floowing syntax:

          _g_a_t_e_w_a_y__n_a_m_e _c_o_m_m_u_n_i_t_y__n_a_m_e {
                  _i_n_t_e_r_f_a_c_e__n_a_m_e _l_o_g__d_i_r_e_c_t_o_r_y _l_i_n_k__d_e_s_c_r_i_p_t_i_o_n
                    ...
          }

     where

     _g_a_t_e_w_a_y__n_a_m_e
          is a host name or IP address of the gateway;

     _c_o_m_m_u_n_i_t_y__n_a_m_e
          is an SNMP community name for the  gateway  (public  if
          omitted);

     _i_n_t_e_r_f_a_c_e__n_a_m_e
          is a gateway interface name (note that it is case  sen-
          sitive);

     _l_o_g__d_i_r_e_c_t_o_r_y
          the directory (a subdirectory  of  base  directory)  to
          store the statistic logs for the link in;

     _l_i_n_k__d_e_s_c_r_i_p_t_i_o_n
          the description of the link (an arbitrary string),  may
          be omitted.

     As a special case the assigment of the variable POLL can  be
     inserted  in  the gatewat polling configuration statement to
     specify the polling period for that gateway; all other gate-
     ways will not be affected.

SEE ALSO
     snmpstatd(8)







Sun Release 4.1     Last change: 16 July 1993                   2



