Once the graphs are being produced, you'll still have to modify app/ www/server/statistics.php. It is supposed to output a json string only containing the address of the graph image.
The "float(21474836480) int(1073743159)" you see is because of two var_dump() calls on lines 9 and 15. Once you remove these lines, it will output the json without the extra stuff and your graphs should show up on the page. On Oct 13, 2:37 pm, somer <[email protected]> wrote: > Hi, > > perl -pi -e 's/RetrieveData/RetreiveData/g' cron/watchers/ > class.SNMPWatcher.php > > and then check that class.SNMPWatcher.php to have the correct value > Retrieve must be corrected now. > > run it via php > > /usr/bin/php -q cron/cron.php --SNMPStatsPoller > > now you can use rrdgraph, check your s3 bucket to see if the gifs are > there. > > I`m having the same issue still, invalid label but the graphs are > produced in s3 bucket. > > Regards > > On 13 Ekim, 02:46, Pada <[email protected]> wrote: > > > Hi, > > > I'm struggling very much to get the Load Statistics working with Scalr > > 1.1.0 on an Ubuntu 9.04 AMI. I've done everything according > > tohttp://wiki.scalr.net/Installation/Configuring_Load_Statisticshowever > > I have no idea on how to verify that I've configured it correctly. My > > phpinfo() page can be found > > here:http://ec2-75-101-202-153.compute-1.amazonaws.com/phpinfo.php > > > Secondly: I'm unsure on how to configure the "RRD statistics > > settings". > > My current configuration looks like follow: > > > > Path to rrdtool binary: /usr/local/rrdtool-1.3.8/bin/rrdtool > > > Path to font: /usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf > > > Path to RRD database dir: /home/rrddata > > > Statistics URL:https://s3.amazonaws.com/pada-scalr-stats/%fid%/%rn%_%wn%. > > > Store graphics in: Amazon S3 > > > Path to graphics: pada-scalr-stats > > > I have ensured that the rrdtool, the DejaVuSansMono-Roman.ttf font & > > the rrdata folder exists at the paths that I have specified. I have > > also added "public-read" to the class.RRDGraphProcess.php file. > > > Currently when I go to Load Statistics, I just get "Invalid label" > > instead of images. When I try to load the actual image which AJAX just > > interprets, I just get "float(21474836480) int(1073743159) > > {"type":"error","msg":"Statistics not available yet"}" > > I've checked the /home/rrddata folder, and it contains a folder with > > the same name as my Farm ID, but its completely empty still. > > > Assistance would be greatly appreciated once again. > > > Regards > > Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
