[Pkg-cacti-maint] Bug#793401: cacti: loadavg_multi.pl is not returning values

Daniel Bareiro dbareiro at opcion-libre.com.ar
Thu Jul 23 15:38:04 UTC 2015


Package: cacti
Version: 0.8.8b+dfsg-8+deb8u2
Severity: normal


Dear mantainer,

I had the problem mentioned by Stephan Seitz in archived bug #704057,
but the applied patch doesn't work in my environment.

# /usr/share/cacti/site/scripts/loadavg_multi.pl
1min: 5min: 10min:ws1:~#


The change I had applied to solve this problem was:

open(PROCESS, "env LC_ALL=C uptime |");

# /usr/share/cacti/site/scripts/loadavg_multi.pl
1min:0.15 5min:0.24 10min:0.30ws1:~#


I have this problem for several months even in Wheezy. Since no one has
reported it, I hope this information is useful.

Locale information:

# locale
LANG=es_AR.UTF-8
LANGUAGE=
LC_CTYPE="es_AR.UTF-8"
LC_NUMERIC="es_AR.UTF-8"
LC_TIME="es_AR.UTF-8"
LC_COLLATE="es_AR.UTF-8"
LC_MONETARY="es_AR.UTF-8"
LC_MESSAGES="es_AR.UTF-8"
LC_PAPER="es_AR.UTF-8"
LC_NAME="es_AR.UTF-8"
LC_ADDRESS="es_AR.UTF-8"
LC_TELEPHONE="es_AR.UTF-8"
LC_MEASUREMENT="es_AR.UTF-8"
LC_IDENTIFICATION="es_AR.UTF-8"
LC_ALL=es_AR.UTF-8


Please, check it out in Jessie.


Thanks.

Best regards,
Daniel


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

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL set to es_AR.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cacti depends on:
ii  dbconfig-common                          1.8.47+nmu3
ii  debconf [debconf-2.0]                    1.5.56
ii  libapache2-mod-php5                      5.6.9+dfsg-0+deb8u1
ii  libphp-adodb                             5.15-1
ii  mysql-client-5.5 [virtual-mysql-client]  5.5.44-0+deb8u1
ii  perl                                     5.20.2-3+deb8u1
ii  php5                                     5.6.9+dfsg-0+deb8u1
ii  php5-cli                                 5.6.9+dfsg-0+deb8u1
ii  php5-mysql                               5.6.9+dfsg-0+deb8u1
ii  php5-snmp                                5.6.9+dfsg-0+deb8u1
ii  rrdtool                                  1.4.8-1.2
ii  snmp                                     5.7.2.1+dfsg-1
ii  ucf                                      3.0030

Versions of packages cacti recommends:
ii  apache2 [httpd]              2.4.10-10
ii  apache2-mpm-prefork [httpd]  2.4.10-10
ii  iputils-ping                 3:20121221-5+b2
ii  libjs-jquery                 1.7.2+dfsg-3.2
ii  libjs-jquery-cookie          10-1
ii  logrotate                    3.8.7-1+b1
ii  mysql-server                 5.5.44-0+deb8u1

Versions of packages cacti suggests:
pn  moreutils  <none>
pn  php5-ldap  <none>

-- debconf information:
* cacti/dbconfig-remove:
  cacti/remote/port:
  cacti/missing-db-package-error: abort
* cacti/dbconfig-install: true
  cacti/database-type: mysql
  cacti/db/app-user: cacti
  cacti/internal/reconfiguring: false
  cacti/internal/skip-preseed: false
  cacti/db/dbname: cacti
  cacti/purge: false
  cacti/dbconfig-reinstall: false
  cacti/install-error: abort
  cacti/remove-error: abort
  cacti/upgrade-error: abort
  cacti/remote/newhost:
  cacti/mysql/method: unix socket
  cacti/passwords-do-not-match:
* cacti/webserver: apache2
  cacti/upgrade-backup: true
  cacti/remote/host:
  cacti/mysql/admin-user: root
  cacti/dbconfig-upgrade: true


-- 
Ing. Daniel Bareiro - GNU/Linux registered user #188.598
Proudly running Debian GNU/Linux with uptime:
12:31:08 up 10 days, 20:39, 14 users,  load average: 1,57, 1,35, 1,32
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cacti-maint/attachments/20150723/e3b7770d/attachment.sig>


More information about the Pkg-cacti-maint mailing list