[dsc] Problems in DSC latest version (dsc-200910121649.tar.gz)
Duane Wessels
wessels at measurement-factory.com
Fri Nov 6 13:04:01 UTC 2009
On Wed, 4 Nov 2009, Jose Romero wrote:
> But, I can't see the graphics for the following datasets:
>
> dataset client_subnet dns All:null ClientSubnet:client_subnet queries-only
> max-cells=200;
>
> dataset certain_qnames_vs_qtype dns CertainQnames:certain_qnames Qtype:qtype
> queries-only;
>
> dataset client_subnet2 dns Class:query_classification
> ClientSubnet:client_subnet queries-only max-cells=200;
>
> dataset client_addr_vs_rcode dns Rcode:rcode ClientAddr:client replies-only
> max-cells=50;
>
> dataset chaos_types_and_names dns Qtype:qtype Qname:qname
> chaos-class,queries-only;
>
> dataset ipv6_rsn_abusers dns All:null ClientAddr:client
> queries-only,aaaa-or-a6-only,root-servers-n et-only max-cells=50;
Jose,
the attached patch should solve most of these. Some of the datasets
might be empty because you don't see any traffic that matches
the right conditions.
Duane W.
-------------- next part --------------
Index: presenter/perllib/DSC/grapher.pm
===================================================================
--- presenter/perllib/DSC/grapher.pm (revision 12031)
+++ presenter/perllib/DSC/grapher.pm (revision 12039)
@@ -25,7 +25,7 @@
END { }
# CONSTANTS
-my $dbg_lvl = 0;
+my $dbg_lvl = 0; # also set debug_file in dsc-grapher.cfg
my $DATAROOT = '/usr/local/dsc/data';
my $DEFAULTCONFIG = '/usr/local/dsc/etc/dsc-grapher.cfg';
my $CacheImageTTL = 60; # 1 min
Index: presenter/perllib/DSC/grapher/plot.pm
===================================================================
--- presenter/perllib/DSC/grapher/plot.pm (revision 12031)
+++ presenter/perllib/DSC/grapher/plot.pm (revision 12039)
@@ -241,7 +241,6 @@
},
client_subnet_accum => {
- dataset => 'client_subnet',
plot_type => 'accum1d',
keys => [ qw(?? IA LA AP RI AR) ],
names => [ qw(Unknown IANA LACNIC APNIC RIPE ARIN) ],
@@ -279,7 +278,6 @@
# },
client_subnet2_accum => {
- dataset => 'client_subnet2',
plot_type => 'accum2d',
yaxes => $std_accum_yaxes,
keys => $client_subnet2_keys,
@@ -293,7 +291,6 @@
},
client_subnet2_trace => {
- dataset => 'client_subnet2',
plot_type => 'trace',
yaxes => $std_trace_yaxes,
keys => $client_subnet2_keys,
@@ -306,7 +303,6 @@
},
client_subnet2_count => {
- dataset => 'client_subnet2',
plot_type => 'trace',
keys => $client_subnet2_keys,
names => $client_subnet2_names,
@@ -727,7 +723,6 @@
},
client_addr_vs_rcode_accum => {
- dataset => 'client_addr_vs_rcode',
plot_type => 'accum2d',
yaxes => $std_accum_yaxes,
keys => [ qw(0 1 2 3 4 5) ],
@@ -741,7 +736,6 @@
},
ipv6_rsn_abusers_accum => {
- dataset => 'ipv6_rsn_abusers',
plot_type => 'accum1d',
keys => [ qw(Other BIND8 BIND9 W2000 WINNT W2003 DJBDNS NoAns) ],
names => [ qw(Other BIND8 BIND9 W2000 WINNT W2003 DJBDNS NoAns) ],
More information about the dsc
mailing list