/[cricket]/parse_bind9stat.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /parse_bind9stat.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dpavlin, Mon Jul 1 19:19:47 2002 UTC revision 1.2 by dpavlin, Mon Jul 1 19:45:19 2002 UTC
# Line 2  Line 2 
2    
3  use strict;  use strict;
4    
5  my $bind9_dump = "/var/log/named/stats.dump";  my $bind9_dump = shift @_ || "/var/log/named/stats.dump";
6  my $rndc = "/usr/local/sbin/rndc stats";  my $rndc = shift @_ || "/usr/local/sbin/rndc";
7    
8  system $rndc;  system "$rndc stats";
9    
10  my @counters = qw(success referral nxrrset nxdomain recursion failure);  my @counters = qw(success referral nxrrset nxdomain recursion failure);
11    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26