Re: Extracting stats from BIND XML stats file : issues

2016-01-18 Thread Phil Mayers
On 13/01/2016 19:38, blrmaani wrote: Here is the issue: I am sending approx 200 'A' queries to the DNS server and my above calculation is showing a value of 2 queries-per-second. Does the XML value you're looking at measure outbound or inbound queries, and are the queries you're sending bein

Re: Extracting stats from BIND XML stats file : issues

2016-01-15 Thread John Wobus
I haven’t used the XML stats so I have no direct experience. Your formula looks right to me. If it were me, I’d confirm the load traffic as much as I could, e.g. os udp counts, tcpdumps at both ends, etc. I’d want to make sure it was bind that was doing something strange. It occurred to me that

Re: Extracting stats from BIND XML stats file : issues

2016-01-13 Thread blrmaani
On Wednesday, January 13, 2016 at 11:34:16 AM UTC-8, blrmaani wrote: > Hi, > I am trying to get Ipv4 query rate for our DNS server. I am taking 2 > snapshots with a delay of 60 seconds between these snapshots. > > curl : > /tmp/snapshot1.xml > sleep 60 > curl : > /tmp/snapshot2.xml > > >

Extracting stats from BIND XML stats file : issues

2016-01-13 Thread blrmaani
Hi, I am trying to get Ipv4 query rate for our DNS server. I am taking 2 snapshots with a delay of 60 seconds between these snapshots. curl : > /tmp/snapshot1.xml sleep 60 curl : > /tmp/snapshot2.xml I am calculating queryrate as below query_rate = (Queryv4_value2 - Queryv4_value1) / (cu