Bug#743881: collectd: collection.cgi don't graph apache stats

2014-04-07 Thread Fabiano Pires
Package: collectd
Version: 5.1.0-3
Severity: important
Tags: patch

Dear Maintainer,
When I tried to graph apache2 stats with collectd/collection.cgi, I got these 
results:
* No graph is generated for this plugin (others plugins are graphing ok).
* Apache have mod_status enabled and configured (I can access it via brwoser 
and wget).
* Apache's log contains some lines like this:
  collection.cgi: RRDs::graph: No DS called 'count' in 
'/var/lib/collectd/rrd/jb1.example.org/apache-raiz/apache_bytes.rrd' at 
/usr/lib/cgi-bin/collection.cgi line 787

After some googling, I found somewhere that the DS name in the rrd files 
changed from 'count' to 'value'.
So I opened collection.cgi in vim and did :960,1021s/count/value. This solved 
the issue.



-- System Information:
Debian Release: 7.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages collectd depends on:
ii  collectd-core  5.1.0-3
ii  iptables   1.4.14-3.1
ii  libc6  2.13-38
ii  librrd41.4.7-2

Versions of packages collectd recommends:
ii  libc6   2.13-38
ii  libcurl3-gnutls 7.26.0-1+wheezy8
ii  libdbi1 0.8.4-6
ii  libdbus-1-3 1.6.8-1+deb7u1
ii  libesmtp6   1.0.6-1+b1
ii  libgcrypt11 1.5.0-5+deb7u1
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-02.33.12+really2.32.4-5
ii  libhal1 0.5.14-8
ii  libmemcached10  1.0.8-1
ii  libmodbus5  3.0.3-1
ii  libmysqlclient185.5.35+dfsg-0+wheezy1
ii  libnotify4  0.7.5-1
ii  libopenipmi02.0.16-1.3
ii  liboping0   1.6.2-1
ii  libpcap0.8  1.3.0-1
ii  libperl5.14 5.14.2-21+deb7u1
ii  libpq5  9.1.12-0wheezy1
ii  libprotobuf-c0  0.14-1+b1
ii  libpython2.72.7.3-6+deb7u2
ii  librabbitmq00.0.1.hg216-1
ii  librrd4 1.4.7-2
ii  libsensors4 1:3.3.2-2+deb7u1
ii  libsnmp15   5.4.3~dfsg-2.7
ii  libssl1.0.0 1.0.1e-2
ii  libtokyotyrant3 1.1.40-4.1+b1
ii  libupsclient1   2.6.4-2.3+deb7u1
ii  libvarnishapi1  3.0.2-2+deb7u1
ii  libvirt00.9.12.3-1
ii  libxml2 2.8.0+dfsg1-7+nmu2
ii  libyajl22.0.4-2

collectd suggests no packages.

-- Configuration Files:
/etc/collectd/collectd.conf changed:
FQDNLookup true
LoadPlugin syslog
Plugin syslog
LogLevel info
/Plugin
LoadPlugin apache
LoadPlugin battery
LoadPlugin cpu
LoadPlugin df
LoadPlugin disk
LoadPlugin entropy
LoadPlugin interface
LoadPlugin irq
LoadPlugin load
LoadPlugin memory
LoadPlugin processes
LoadPlugin rrdtool
LoadPlugin swap
LoadPlugin users
Plugin apache
Instance raiz
URL http://localhost/server-status?auto;
Server apache
VerifyPeer false
VerifyHost false
/Instance
/Plugin
Plugin rrdtool
DataDir /var/lib/collectd/rrd
/Plugin
Include /etc/collectd/filters.conf
Include /etc/collectd/thresholds.conf


-- no debconf information
--- collection.cgi	2014-04-07 16:35:46.904246245 -0300
+++ collection-ok.cgi	2014-04-07 16:35:27.980245363 -0300
@@ -957,9 +957,9 @@
 
   $GraphDefs =
   {
-apache_bytes = ['DEF:min_raw={file}:count:MIN',
-'DEF:avg_raw={file}:count:AVERAGE',
-'DEF:max_raw={file}:count:MAX',
+apache_bytes = ['DEF:min_raw={file}:value:MIN',
+'DEF:avg_raw={file}:value:AVERAGE',
+'DEF:max_raw={file}:value:MAX',
 'CDEF:min=min_raw,8,*',
 'CDEF:avg=avg_raw,8,*',
 'CDEF:max=max_raw,8,*',
@@ -976,9 +976,9 @@
 'GPRINT:avg:LAST:%5.1lf%s Last',
 'GPRINT:avg_sum:LAST:(ca. %5.1lf%sB Total)\l'
 ],
-   apache_connections = ['DEF:min={file}:count:MIN',
-'DEF:avg={file}:count:AVERAGE',
-'DEF:max={file}:count:MAX',
+   apache_connections = ['DEF:min={file}:value:MIN',
+'DEF:avg={file}:value:AVERAGE',
+'DEF:max={file}:value:MAX',
 AREA:max#$HalfBlue,
 AREA:min#$Canvas,
 LINE1:avg#$FullBlue:Connections,
@@ -987,9 +987,9 @@
 'GPRINT:max:MAX:%6.2lf Max,',
 'GPRINT:avg:LAST:%6.2lf Last'
 ],
-apache_idle_workers = ['DEF:min={file}:count:MIN',
-'DEF:avg={file}:count:AVERAGE',
-'DEF:max={file}:count:MAX',
+apache_idle_workers = ['DEF:min={file}:value:MIN',
+'DEF:avg={file}:value:AVERAGE',
+'DEF:max={file}:value:MAX',
 AREA:max#$HalfBlue,
 AREA:min#$Canvas,
 LINE1:avg#$FullBlue:Idle Workers,
@@ -998,9 +998,9 @@
 'GPRINT:max:MAX:%6.2lf Max,',
 'GPRINT:avg:LAST:%6.2lf Last'
 ],
-apache_requests = ['DEF:min={file}:count:MIN',
-'DEF:avg={file}:count:AVERAGE',
-'DEF:max={file}:count:MAX',
+apache_requests = ['DEF:min={file}:value:MIN',
+'DEF:avg={file}:value:AVERAGE',
+'DEF:max={file}:value:MAX',
 AREA:max#$HalfBlue,
 AREA:min#$Canvas,
 

Bug#683546: funcoeszz: zzipinternet don't work

2012-08-01 Thread Fabiano Pires
Subject: funcoeszz: zzipinternet don't work
Package: funcoeszz
Version: 8.3-2
Severity: normal

zzipinternet relies on a web page service (http://www.whatismyip.com/). The
URL
of the service changed, breaking the function. The URL in the code (line
3485)
should be changed to http://automation.whatismyip.com/n09230945.asp .



-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-fabiano-fabiano (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pt_BR.utf8, LC_CTYPE=pt_BR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages funcoeszz depends on:
ii  lynx2.8.8dev.5-1 Text-mode WWW Browser
(transitiona

funcoeszz recommends no packages.

funcoeszz suggests no packages.

-- no debconf information

Fabiano Pires
http://pragasdigitais.blogspot.com/


Bug#415219: Add filter Filter dialog appears but is empty

2007-03-17 Thread Fabiano Pires

Package: iptraf
Version: 3.0.0-3 2

Hi, i'm using Debian Etch and when i run iptraf and try to create a
filter (Filters-IP-Define New Filter), i enter a description but the
windows is empty (i.e.: has no fields like source and destination IP
and port )so i can't configure the filter.

I can give more info if you need.

Thanks in advance and sorry for my bad english

--
Abraços,
Fabiano

--
Abraços,
Fabiano



Bug#413314: Iptraf doesn't generates log when called from command line

2007-03-03 Thread Fabiano Pires

Package: iptraf
Version: 3.0.0-3 2

Hi, i'm using Debian Etch and tried to run iptraf as root with the
following command:

iptraf -s eth0 -L ./fabiano.log -B

So it should run in background (-B), runing the TCP and UDP monitor in
the eth0 iface (-s eth0) and saving the results in the file
./fabiano.log. The program starts and goes to background, but nothing
is writed in the logfile (except by a header like Wed Feb 21 19:09:16
2007;  TCP/UDP service monitor started ). I left the
process runing for as long as some hours (3 or 4 hours), and nothing.
I already tried to enable loging in the options, and setting the log
interval to 1 minute, but it fails anyway. I can give more info if you
need.

Thanks in advance and sorry for my bad english

--
Abraços,
Fabiano



Bug#355008: dnsmasq appends the DEST string to domain name

2006-03-02 Thread Fabiano Pires
Package: dnsmasq
Version: 2.22-2

Hi, i'm using Debian Sarge with kernel 2.6, shorewall and dnsmasq.
The dhcp client is a Windows 98 machine. When windows gets IP from
dnsmasq (at startup or with winipcfg program) the hostname turns into
paula.homeDEST (should be paula.home). My config file is just below:

/etc/dnsmasq.conf

domain-needed
bogus-priv
filterwin2k
domain=home
dhcp-range=192.168.0.10,192.168.0.150,255.255.255.0,12h
dhcp-host=00:07:95:5D:22:FC,paula,192.168.0.10

I had the same host working with packages dhcp3 and bind9 and it
worked fine. The problem just came up after I disabled dhcp3 and bind9
and instaled dnsmasq. My system is up-to-date and have no other
packages (testing, instable) than stable.

Thanks and sorry for my bad english
--
Abraços,
Fabiano