From aftaha at cirp.usp.br Mon Dec 5 20:01:58 2011 From: aftaha at cirp.usp.br (Ali Faiez Taha) Date: Mon, 05 Dec 2011 18:01:58 -0200 Subject: [dsc] problems in configurations Message-ID: <4EDD2336.9030904@cirp.usp.br> Dear Sirs. I am beginnign with DSC and, at now, I can't view the graphs in my DNS Cache server. I am working with a Debian server and ONLY one DNS (Bind 9) server running. There are another manner to upload the xml files ? Or only rsync and X509 ? The server is: http://galena.cirp.usp.br/cgi-bin/dsc-grapher.pl thanks From mh+dsc at zugschlus.de Tue Dec 6 08:27:15 2011 From: mh+dsc at zugschlus.de (Marc Haber) Date: Tue, 6 Dec 2011 09:27:15 +0100 Subject: [dsc] problems in configurations In-Reply-To: <4EDD2336.9030904@cirp.usp.br> References: <4EDD2336.9030904@cirp.usp.br> Message-ID: <20111206082715.GB23581@torres.zugschlus.de> On Mon, Dec 05, 2011 at 06:01:58PM -0200, Ali Faiez Taha wrote: > I am beginnign with DSC and, at now, I can't view the graphs in my DNS > Cache server. What did you try and what happens when you do what? Please try to give enough information that we can actually help. > I am working with a Debian server and ONLY one DNS (Bind 9) server running. > > There are another manner to upload the xml files ? Or only rsync and X509 ? You can basically use any method you want to transfer the XML files. The pre-fabricated transfer scripts come in /usr/share/dsc-statistics-collector in the Debian packages. Be prepared to debug. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 From aftaha at cirp.usp.br Tue Dec 6 15:22:14 2011 From: aftaha at cirp.usp.br (Ali Faiez Taha) Date: Tue, 06 Dec 2011 13:22:14 -0200 Subject: [dsc] problems in configurations In-Reply-To: <20111206082715.GB23581@torres.zugschlus.de> References: <4EDD2336.9030904@cirp.usp.br> <20111206082715.GB23581@torres.zugschlus.de> Message-ID: <4EDE3326.7070004@cirp.usp.br> On 06/12/2011 06:27, Marc Haber wrote: > On Mon, Dec 05, 2011 at 06:01:58PM -0200, Ali Faiez Taha wrote: >> I am beginnign with DSC and, at now, I can't view the graphs in my DNS >> Cache server. > > What did you try and what happens when you do what? Please try to give > enough information that we can actually help. > >> I am working with a Debian server and ONLY one DNS (Bind 9) server running. >> >> There are another manner to upload the xml files ? Or only rsync and X509 ? > > You can basically use any method you want to transfer the XML files. > The pre-fabricated transfer scripts come in > /usr/share/dsc-statistics-collector in the Debian packages. Be > prepared to debug. > > Greetings > Marc > OK. Following the Debian packages dsc-statiscs-collector and dsc-statistcs I saw some examples. But I am installing this software via source files. When I run /usr/local/dsc/libexec/dsc-grapher.pl the errors message are: -------------------------------------------------------------------------------------------------------------------------------- Use of uninitialized value $url in index at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1326. Use of uninitialized value $url in concatenation (.) or string at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1330. Use of uninitialized value $url in index at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1326. Use of uninitialized value $url in concatenation (.) or string at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1330. Use of uninitialized value $url in index at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1326. Use of uninitialized value $url in concatenation (.) or string at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1330. Use of uninitialized value $url in index at /usr/local/share/perl/5.10.1/DSC/grapher.pm line 1326. -------------------------------------------------------------------------------------------------------------------------------- The partial source (/usr/local/share/perl/5.10.1/DSC/grapher.pm) show: 1322 sub urlpath { 1323 my $self = shift; 1324 my %args = @_; 1325 my $url = $ENV{REQUEST_URI}; 1326 if ((my $n = index($url,'?')) > 0) { 1327 $url = substr($url,0,$n); 1328 } 1329 $self->delete_default_args(\%args); 1330 "$url?" . join('&', map {"$_=" . uri_escape($args{$_})} keys %args); 1331 } How to solve it ? From mh+dsc at zugschlus.de Tue Dec 6 15:41:21 2011 From: mh+dsc at zugschlus.de (Marc Haber) Date: Tue, 6 Dec 2011 16:41:21 +0100 Subject: [dsc] problems in configurations In-Reply-To: <4EDE3326.7070004@cirp.usp.br> References: <4EDD2336.9030904@cirp.usp.br> <20111206082715.GB23581@torres.zugschlus.de> <4EDE3326.7070004@cirp.usp.br> Message-ID: <20111206154121.GK23581@torres.zugschlus.de> On Tue, Dec 06, 2011 at 01:22:14PM -0200, Ali Faiez Taha wrote: > Following the Debian packages dsc-statiscs-collector and dsc-statistcs > I saw some examples. > > But I am installing this software via source files. > When I run /usr/local/dsc/libexec/dsc-grapher.pl the errors message are: How do you run /usr/local/dsc/libexec/dsc-grapher.pl? It is meant to be called via CGI via a web server. See Chapters 2 and 6 of the DSC manual. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 From aftaha at cirp.usp.br Tue Dec 6 16:16:53 2011 From: aftaha at cirp.usp.br (Ali Faiez Taha) Date: Tue, 06 Dec 2011 14:16:53 -0200 Subject: [dsc] problems in configurations In-Reply-To: <20111206154121.GK23581@torres.zugschlus.de> References: <4EDD2336.9030904@cirp.usp.br> <20111206082715.GB23581@torres.zugschlus.de> <4EDE3326.7070004@cirp.usp.br> <20111206154121.GK23581@torres.zugschlus.de> Message-ID: <4EDE3FF5.2080706@cirp.usp.br> On 06/12/2011 13:41, Marc Haber wrote: > On Tue, Dec 06, 2011 at 01:22:14PM -0200, Ali Faiez Taha wrote: >> Following the Debian packages dsc-statiscs-collector and dsc-statistcs >> I saw some examples. >> >> But I am installing this software via source files. >> When I run /usr/local/dsc/libexec/dsc-grapher.pl the errors message are: > > How do you run /usr/local/dsc/libexec/dsc-grapher.pl? It is meant to > be called via CGI via a web server. See Chapters 2 and 6 of the DSC > manual. > > Greetings > Marc > I ran it via CGI http://galena.cirp.usp.br/cgi-bin/dsc-statistics/dsc-grapher.pl From mh+dsc at zugschlus.de Tue Dec 6 16:53:44 2011 From: mh+dsc at zugschlus.de (Marc Haber) Date: Tue, 6 Dec 2011 17:53:44 +0100 Subject: [dsc] problems in configurations In-Reply-To: <4EDE3FF5.2080706@cirp.usp.br> References: <4EDD2336.9030904@cirp.usp.br> <20111206082715.GB23581@torres.zugschlus.de> <4EDE3326.7070004@cirp.usp.br> <20111206154121.GK23581@torres.zugschlus.de> <4EDE3FF5.2080706@cirp.usp.br> Message-ID: <20111206165344.GL23581@torres.zugschlus.de> On Tue, Dec 06, 2011 at 02:16:53PM -0200, Ali Faiez Taha wrote: > On 06/12/2011 13:41, Marc Haber wrote: > > On Tue, Dec 06, 2011 at 01:22:14PM -0200, Ali Faiez Taha wrote: > >> Following the Debian packages dsc-statiscs-collector and dsc-statistcs > >> I saw some examples. > >> > >> But I am installing this software via source files. > >> When I run /usr/local/dsc/libexec/dsc-grapher.pl the errors message are: > > > > How do you run /usr/local/dsc/libexec/dsc-grapher.pl? It is meant to > > be called via CGI via a web server. See Chapters 2 and 6 of the DSC > > manual. > > I ran it via CGI > > http://galena.cirp.usp.br/cgi-bin/dsc-statistics/dsc-grapher.pl In that case, you should check why your web server does not set REQUEST_URI in the environment. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 From aftaha at cirp.usp.br Tue Dec 6 17:31:33 2011 From: aftaha at cirp.usp.br (Ali Faiez Taha) Date: Tue, 06 Dec 2011 15:31:33 -0200 Subject: [dsc] problems in configurations In-Reply-To: <20111206165344.GL23581@torres.zugschlus.de> References: <4EDD2336.9030904@cirp.usp.br> <20111206082715.GB23581@torres.zugschlus.de> <4EDE3326.7070004@cirp.usp.br> <20111206154121.GK23581@torres.zugschlus.de> <4EDE3FF5.2080706@cirp.usp.br> <20111206165344.GL23581@torres.zugschlus.de> Message-ID: <4EDE5175.7030409@cirp.usp.br> On 06/12/2011 14:53, Marc Haber wrote: > On Tue, Dec 06, 2011 at 02:16:53PM -0200, Ali Faiez Taha wrote: >> On 06/12/2011 13:41, Marc Haber wrote: >>> On Tue, Dec 06, 2011 at 01:22:14PM -0200, Ali Faiez Taha wrote: >>>> Following the Debian packages dsc-statiscs-collector and dsc-statistcs >>>> I saw some examples. >>>> >>>> But I am installing this software via source files. >>>> When I run /usr/local/dsc/libexec/dsc-grapher.pl the errors message are: >>> >>> How do you run /usr/local/dsc/libexec/dsc-grapher.pl? It is meant to >>> be called via CGI via a web server. See Chapters 2 and 6 of the DSC >>> manual. >> >> I ran it via CGI >> >> http://galena.cirp.usp.br/cgi-bin/dsc-statistics/dsc-grapher.pl > > In that case, you should check why your web server does not set > REQUEST_URI in the environment. > > Greetings > Marc > I am usig DSC version: dsc-201106061022 From mh+dsc at zugschlus.de Wed Dec 7 08:47:13 2011 From: mh+dsc at zugschlus.de (Marc Haber) Date: Wed, 7 Dec 2011 09:47:13 +0100 Subject: [dsc] patch to move the Plots and Time Scale selectors to the right In-Reply-To: <20111207082050.12379.27926.reportbug@torres.zugschlus.de> References: <20111207082050.12379.27926.reportbug@torres.zugschlus.de> Message-ID: <20111207084712.GD12160@torres.zugschlus.de> Hi, this is Debian bug #651260 (http://bugs.debian.org/651260), a patch by Torsten Heinig that moves some of the web controls that are usually displayed at the bottom left side of the web page to the right top side. This makes the web interface much more useable if you have a wide but flat display and/or a lot of servers. I would like to ask for your comments before I apply the patch to the Debian packages. Greetings Marc On Wed, Dec 07, 2011 at 09:20:50AM +0100, Marc Haber wrote: > From: Marc Haber > Subject: patch to move the Plots and Time Scale selectors to the right > To: Debian Bug Tracking System > Date: Wed, 07 Dec 2011 09:20:50 +0100 > X-Mailer: reportbug 4.12.6 > > Package: dsc-statistics-presenter > Severity: wishlist > > This is a patch by Torsten Heinig to move the Plots, Time Scale and > Y-Axis Settings to the right side of the web interface. This makes the > web interface much more useable if you have a lot of servers, and > caters for today's wide displays. > > Greetings > Marc > > --- plot.page 2011-12-07 08:57:13.955859591 +0100 > +++ plot.page.orig 2010-12-21 15:35:15.741251593 +0100 > @@ -41,14 +41,6 @@ >
Servers/Nodes
> [$navbar_servers_nodes] > > - > - > - [$img_with_map] > -
> - [$description] > -
> - > - >
>
Plots
> [$navbar_plot] > @@ -62,6 +54,12 @@ > [$navbar_yaxis] >
> > + > + [$img_with_map] > +
> + [$description] > +
> + > > > > > -- System Information: > Debian Release: 6.0.3 > APT prefers stable > APT policy: (500, 'stable') > Architecture: i386 (i686) > > Kernel: Linux 3.1.4-zgsrv20080 (SMP w/2 CPU cores; PREEMPT) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062 From aftaha at cirp.usp.br Wed Dec 7 20:47:22 2011 From: aftaha at cirp.usp.br (Ali Faiez Taha) Date: Wed, 07 Dec 2011 18:47:22 -0200 Subject: [dsc] DSC working now Message-ID: <4EDFD0DA.4020201@cirp.usp.br> Now, the DSC is working right. The problems was some directories missing and permissions. Reconfigurations in dsc.conf and dsc-grapher.cfg thanks for all of this list.