%docentities; ] >
Parameters
<varname>script_counter</varname> Define a new counter that can be used from the script. The declaration might include a group in front of the counter name, separated with '.'. It might also include a counter description string (help message), separated from the name with a ' ' or ':'. If the group is missing, the group defined in the script_cnt_grp_name module parameter will be used (the default is "script"). If the description is missing, the default is "custom script counter". The format of the declaration is: [group.]name[( |:)description]. Create a new <varname>script_counter</varname> modparam("counters", "script_counter", "foo") # script.foo modparam("counters", "script_counter", "test.bar") # test.bar modparam("counters", "script_counter", "baz example counter") # script.baz modparam("counters", "script_counter", "test.x:another example") # test.x
<varname>script_cnt_grp_name</varname> Group name that will be used for the counters defined via the script_counter module parameter which do not have a specified group. Default: "script". Set <varname>script_cnt_grp_name</varname> in the config file modparam("counters", "script_cnt_grp_name", "my_counters")