Package: cacti Version: 0.8.8a+dfsg-3 Severity: normal Tags: patch
Dear Maintainer,I noticed that the Data Input Method „Unix - Get Load Average” isn’t working. It calls the script loadavg_multi.pl which calls uptime.
Problem: In my de_DE.UTF-8 locale the output of uptime is: 14:12:51 up 1 day, 6:35, 3 users, load average: 0,38, 0,20, 0,17But the load average values must have a dot instead of a comma, so the perl script doesn’t return values. If I change the line
open(PROCESS, "uptime |"); in open(PROCESS, "env LANG=C uptime |"); the output is 14:29:37 up 1 day, 6:52, 3 users, load average: 0.10, 0.11, 0.13 and everything is working fine. Shade and sweet water! Stephan -- System Information: Debian Release: 7.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.8.4-Dom0 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages cacti depends on: ii dbconfig-common 1.8.47+nmu1 ii debconf [debconf-2.0] 1.5.49 ii libapache2-mod-php5 5.4.4-14 ii libphp-adodb 5.15-1 ii mysql-client-5.5 [virtual-mysql-client] 5.5.28+dfsg-1 ii perl 5.14.2-20 ii php5-cli 5.4.4-14 ii php5-mysql 5.4.4-14 ii php5-snmp 5.4.4-14 ii rrdtool 1.4.7-2 ii snmp 5.4.3~dfsg-2.7 ii ucf 3.0025+nmu3 Versions of packages cacti recommends: ii apache2 2.2.22-13 ii apache2-mpm-prefork [httpd] 2.2.22-13 ii iputils-ping 3:20101006-1+b1 ii libjs-jquery 1.7.2+dfsg-1 ii libjs-jquery-cookie 6-1 ii logrotate 3.8.1-4 ii mysql-server 5.5.28+dfsg-1 Versions of packages cacti suggests: ii moreutils 0.47 pn php5-ldap <none> -- debconf information excluded -- | Stephan Seitz E-Mail: s...@fsing.rootsland.net | | Public Keys: http://fsing.rootsland.net/~stse/keys.html |
smime.p7s
Description: S/MIME cryptographic signature