BIND 10 #2158: Implement counters into Xfrout (1/3)

BIND 10 Development do-not-reply at isc.org
Fri Aug 17 01:43:38 UTC 2012


#2158: Implement counters into Xfrout (1/3)
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  naokikambe
  naokikambe                         |                Status:  accepted
                       Type:         |             Milestone:
  enhancement                        |  StatsRedesign
                   Priority:         |            Resolution:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  DNS
  statistics                         |  Estimated Difficulty:  6
                   Keywords:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by naokikambe):

 * owner:   => naokikambe
 * status:  new => accepted


Old description:

> Implement the following per-zone counters into Xfrout regarding
> StatisticsItems:
> ||'''Module'''||'''Item'''||'''in BIND 9 Statistics XML (tree
> representation under isc/bind/statistics)'''||'''Description from BIND 9
> Manual'''||'''Implemented in BIND 10?'''||
> ||Xfrout|| || || || ||
> || ||xfrout.[zonename].notifyoutv4||server/zsstat/NotifyOutv4||Number of
> IPv4 notifies sent from Xfrout||no||
> || ||xfrout.[zonename].notifyoutv6||server/zsstat/NotifyOutv6||Number of
> IPv6 notifies sent from Xfrout||no||
> || ||xfrout.[zonename].xfrrej||server/nsstat/XfrRej||Number of XFR
> requests rejected||no||
> || ||xfrout.[zonename].xfrreqdone||server/nsstat/XfrReqDone||Number of
> requested zone transfers completed||no||
>
> IMO at least updating three classes(!XfroutServer, !XfroutSession and
> !NotifyOut) is needed  for implementing counters. And adding 'getstats'
> command for returning statistics to the stats module is also needed.

New description:

 Implement the following per-zone counters into Xfrout regarding
 StatisticsItems:
 ||'''Module'''||'''Item'''||'''in BIND 9 Statistics XML (tree
 representation under isc/bind/statistics)'''||'''Description from BIND 9
 Manual'''||'''Implemented in BIND 10?'''||
 ||Xfrout|| || || || ||
 || ||xfrout.[zonename].notifyoutv4||server/zsstat/NotifyOutv4||Number of
 IPv4 notifies sent from Xfrout||no||
 || ||xfrout.[zonename].notifyoutv6||server/zsstat/NotifyOutv6||Number of
 IPv6 notifies sent from Xfrout||no||
 || ||xfrout.[zonename].xfrrej||server/nsstat/XfrRej||Number of XFR
 requests rejected||no||
 || ||xfrout.[zonename].xfrreqdone||server/nsstat/XfrReqDone||Number of
 requested zone transfers completed||no||

 IMO at least updating three classes(!XfroutServer, !XfroutSession and
 !NotifyOut) is needed  for implementing counters. And adding 'getstats'
 command for returning statistics to the stats module is also needed. A
 dedicated statistics counter class might need to be added. Some test, e.g.
 lettuce scenario, might be needed for testing the increasing values of the
 new Xfrout counters.

--

Comment:

 Though that fundamental revision is not done yet, I try to add the
 counters based on the current Xfrout codes.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2158#comment:5>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list