Windows DNS perf stats

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
wiseguy_pt
Posts: 5
Joined: Fri Sep 22, 2006 4:50 pm

Windows DNS perf stats

Post by wiseguy_pt »

Hello,
I was wondering if anyone has come up with DNS stats for the following counters:
Recursive Queries/sec
Recursive Query Failure/sec
Recursive TimeOuts/sec
Total Query Received/sec
Total Response Sent/sec
DevilSun
Cacti User
Posts: 166
Joined: Fri Jul 16, 2004 1:59 pm
Location: Oregon

Post by DevilSun »

I pm'd you these as well, but thought I'd post them for general use as well. Sorry I don't have time to create data templates...you can use my previous DNS data template as a reference as far as data item type (counter, etc). Run these from command line to see what all is returned...and custom build your data template to use the items you want.
Attachments
w32_dns_query_recursive_stats.pl
Recursive stats script
(3.13 KiB) Downloaded 421 times
w32_dns_query_response_stats.pl
Response stats script
(3.13 KiB) Downloaded 449 times
wiseguy_pt
Posts: 5
Joined: Fri Sep 22, 2006 4:50 pm

Post by wiseguy_pt »

DevilSun,

many thanx...sure a whole lotta folks out there will have use for these stats as well ...

cheers !!!
DevilSun
Cacti User
Posts: 166
Joined: Fri Jul 16, 2004 1:59 pm
Location: Oregon

Post by DevilSun »

Here's some more info for you "advanced" people :)

If you copy one of the scripts attached above, and find the line where it says
my $computers = $wmi->ExecQuery("SELECT $properties FROM $Win32_Class Where CollectionId='#'");
...you can change the # to any one of the following numbers and it will get you:
1 - Time Stats
2 - Query and Response Stats
4 - Query Stats
8 - Recursion Stats
16 - Master Stats
32 - Secondary Stats
64 - WINS Referral Stats
256 - Packet Dynamic Update Stats
512 - Security Stats
1024 - DS Integration Stats
2048 - Internal Dynamic Update Stats
65536 - Memory Stats
131072 - Timeout Stats
262144 - Database Stats
524288 - Record Stats
1048576 - Packet Memory Usage Stats
2097152 - Nbstat Memory Usage Stats
4194304 - Error Stats
8388608 - Query

I have no idea what most of them are, or why there at two "query" sections, but thought I'd provide this for any of you who might want some VERY detailed information on your W2K3 DNS
wiseguy_pt
Posts: 5
Joined: Fri Sep 22, 2006 4:50 pm

Post by wiseguy_pt »

There are 2 query sections for UDP and TCP queries

for reference take a look at
http://technet2.microsoft.com/WindowsSe ... x?mfr=true

Again, thanx for the help, time and info...
noeq
Posts: 2
Joined: Thu Nov 02, 2006 3:14 am
Location: Kuala Lumpur, MY

Post by noeq »

Newbie mode:

How to install this script? Step by step please. URL will be OK.
SittingDuck
Posts: 9
Joined: Fri Jul 20, 2007 9:18 pm

Post by SittingDuck »

DevilSun, do you have time now to create the graph templates? It's been almost a year... :D
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests