ipastat.conf     ipastat(8).     - ,    -f  ipastat(8),   ipastat(8) .



            .   IPA  - , ipa_st_sdb,   ,      ,   IPA.

        .

               .          ,    .    (   ),  ,  .  .     ,  .

       .

        shell-  C- .  C-   shell- ,  C-  .

       :

            # Shell- .
            /* C- . */
            /*
             *  C- .
             */

         .

           ,     .         :

             [[=] ] {
                /*   . */
            }

             .    `;'     :

             [[=] ];

        `='    () .     (  `='),    .   ,  ,    .

          :

            ""

          ``\t'', ``\n'', ``\\''  ``\"'',    ,   ,     .    (  ),     `\'    (
       ).         `\',       .

       .

          :

            ${} = "";

             , .      isalpha(3),   .


            , .     .

       :

            ${a} = "${b}";     #  ${a}.
            ${b} = "1";        #  ${b}.
            param = ${a};      #   1.
            ${b} = "2";        #  ${b}.
            param = ${a};      #   2.

            param = "${$}{b}"; #   ${b} (
                               #   ).

            section {
                ${a} = "1";    #   ${a},
                               #   ${a}.
                ${c} = "4";    #   ${c}.
                param = ${a};  #   1.
                subsection {
                    ${a} = "2";#   ${a}.
                    ${b} = "3";#   ${b}.
                }
                param = ${a};  #   2.
                param = ${b};  #   3.
            }

            # param = ${c};    <-- : ${c}    .

        .

            .      :

            include "//";
            include_files "//";

        include   .  include_files      ,    .

             ,  .        ..   ,     ,  .

             POSIX   (  )      include_files,   posix_re_pattern   ``yes''   ,
       POSIX   :

            posix_re_pattern = <boolean>;

            ``no''.     - .

            ,   ipa(8)            .        include_files,            .

       :

            posix_re_pattern = yes;

        st_mod  ipastat(8),  IPA  :

            st_mod "_";

             - .       .

       :

            st_mod "ipa_st_sdb.so";

            .

        .

         IPA  ,    IPA    ipastat.conf(5).

           , ,      .    :

            : [[=] ];

        ipastat(8)    ,  ``'',  .

           :

            : [[=] ] {
                /*    . */
            }

                 .

             ,  ,  .

       :

            global {
                sdb:db_dir = "/var/ipa/sdb";
            }

         global    .

        .

       ipastat(8)     .    :   .     rule.    , ipastat(8)  , .

         (, )     .     .      global.   rulepat ( ).        .

        -  (, )  -   ,  rulepat,      global,         ,   .  ipastat(8)   -tt,
       .

              global, rulepat  rule: st_list.

         .

            st_mod "ipa_st_sdb.so";

            global {
                st_list = sdb;
            }

           .

        .

          ``'' ,    .

        rule      :

            rule <-> {
                /*    . */
            }

            ,       .

        rule   -  .  -        ,   . ,    ,       ( ).

       :

            st_mod "ipa_st_sdb.so";

            rule local.traf {
                st_list = sdb;
                sdb:db_dir = "/somewhere/${rule}";
            }

            ,  .

       .

           limit:

            limit <-> {
                /*    . */
            }

            ,       .

        limit   -  .

         ,         .

            .

         st_list,   .     ,      (   ).     st_list   limit:


       .

           threshold:

            threshold <-> {
                /*    . */
            }

            ,        .

        threshold   -  .

         ,         .

            .

            st_list threshold   .

        ,   .

          -      ,      .  .     .

             .        rulepat  global,   .       dynamic_rules  ``yes'':

            dynamic_rules = <boolean>;

             ``no''.

             : dynamic_limits  dynamic_thresholds :

            dynamic_limits = <boolean>;
            dynamic_thresholds = <boolean>;

           .

       :

            dynamic_limits = yes;

              .

        .

            .    ,  global .      .

        -       -   ,    .  rulepat:

            rulepat "<regexp>" {
                /*   . */
            }


            st_mod "ipa_st_sdb.so";

            rulepat "^client" {
                st_list sdb;
            }

         rulepat ``''     ``client''    .

       .

           -  .   ,    ipastat(8):

       debug_st_null -   null (, 1).

              ,          .       ``'', .

          .

       :

            debug_st_null = 1;

          ,   ipastat(8)     null.


       ipastat.conf

       ( ipastat   -h,  ,   )


       ipa(8), ipactl(8), ipastat(8), ipa.conf(5), ipa_mod(3)


       Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>


          - , , ,    email.



                                  16  2005 .                   IPASTAT.CONF(5)

Man(1) output converted with man2html