Ticket #1011 (closed defect: worksforme)

Opened 1 year ago

Last modified 5 months ago

Missing IPv6 stats in bind9_rndc

Reported by: patrickvw Assigned to: nobody
Priority: normal Milestone: Munin 1.4.7
Component: plugins Version: 1.4.5
Severity: normal Keywords: bind9_rndc
Cc:

Description

On dual stack systems, the plugin ignores requests placed over IPv6.

The attached patch retrieves both the IPv4 and IPv6 requests and adds them to the same counter.

I prefer this approach, rather than having two separate counters, because IPv6 traffic is still low and would barely appear in the graphs. When IPv6 will be more widely adopted, it may be useful to have separate counters.

Attachments

bind9_rndc.in.diff (1.0 kB) - added by patrickvw on 01/07/11 14:32:54.

Change History

01/07/11 14:32:54 changed by patrickvw

  • attachment bind9_rndc.in.diff added.

01/14/11 16:37:58 changed by jo

This seems to be what the plugin already does? Both "IPv4 requests received" and "IPv6 requests received" match the current request counter regex:

if ($msg =~ m/requests received$/io) {
  $IN{requests} = 0 unless $IN{requests};
  $IN{requests} += $n;
}

...and add them together in a single counter. Can you please double-check that it's not already doing what you want to do? :)

01/09/12 07:02:47 changed by kenyon

  • status changed from new to closed.
  • resolution set to worksforme.

I agree that the plugin already sums IPv6 and IPv4 requests received in the same counter. I verified on my own dual-stack system running bind9_rndc and munin 1.4.6-1~bpo60+1.