On Sunday, 12 May 2013 23:45:34 -0300, Daniel Bareiro wrote: > A few days ago I upgraded a host with Debian Squeeze to Wheezy. After > updating the version of Cacti, it were left to draw the graphs of > "load average". Are all with "nan". > > I found that there is a bug open for Cacti: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704057 > > But I think it's not my problem, because when I run the script, it > does not return a value: > > ws1:~# perl /usr/share/cacti/site/scripts/loadavg_multi.pl > 1min: 5min: 10min:ws1:~# > > ws1:~# 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 > > > Add "env LANG=C" does not lead to changes in the output. > > > Is there somebody else who is going through this problem and could > solve it somehow? Well... although LANG=C didn't the trick, it worked with LC_ALL=C: # env LANG=C uptime 15:53:38 up 3 days, 2:15, 2 users, load average: 0,05, 0,09, 0,08 # env LC_ALL=C uptime 15:53:55 up 3 days, 2:16, 2 users, load average: 0.04, 0.08, 0.08 Can there be any difference in my system that causes a different output? Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598
Attachment:
signature.asc
Description: Digital signature