This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

No Reporting

May be this is a "nerd" question, but I've been looking in the manuals and in the board and nothing.
I have ASL 5.021 and in the Reporting menu I only have:
-HTTP Proxy Usage
-Executive Report
-Accounting
-Advanced
I can't get to all the reports for the different sub-systems: CPU, memory, VPN, etc, etc.
Also the executive Report is not working, nothing happens when I press "Show" to view de current Report.


This thread was automatically locked due to age.
Parents
  • Do you still have no reporting? Directly after installing, this is normal - the ASL takes a few minutes to collect the data and create the reporting images and pages. Since that is completely dynamic, you can only see the four static pages, the ones you mentioned.
    In normal use, those pages are updated every five minutes, together with the images. If you still see none of them please post here, and I'll name you some commands to run for me on the shell. :-)
  • Still no reports. I am now in version 5.022.
  • OK. thats strange. Please check the following things for me:
    - /var/log/system.log : are there cron entries in there? Every 5 minutes, the script /usr/local/ibin/reportcontrol.sh should get started by the cron daemon.

    - /var/log/reporting/rrd : are there files in this directory? When was the last time those files were modified? Same for /var/log/reporting/current_report.ph - does it exist? When was it modified?

    - please run /usr/local/bin/report_render.pl on the shell. It should produce HTML output on the console. Check if it looks sane.

    That should give us a few hints what your machine might be up to.. :-)
  • -system.log: OK, reportcontrol.sh is run every 5 minutes.
    -rrd directory: there are 18 rrd files, 17 of them with recent date.
    -current_report.sh: can't read report file: /var/log/reporting/current_report.ph

    -reportgen.pl: Magic number checking on storable file failed at lib/Storable.pm (autosplit into lib/auto/Storable/_retrieve.al) line 323, at /var/lib/Astaro/accu.pm line 300

    JRI
Reply
  • -system.log: OK, reportcontrol.sh is run every 5 minutes.
    -rrd directory: there are 18 rrd files, 17 of them with recent date.
    -current_report.sh: can't read report file: /var/log/reporting/current_report.ph

    -reportgen.pl: Magic number checking on storable file failed at lib/Storable.pm (autosplit into lib/auto/Storable/_retrieve.al) line 323, at /var/lib/Astaro/accu.pm line 300

    JRI
Children
  • Ouch, that looks bad. Can you please create a tarball of /var/log/reporting and send it to me? If you want to save bandwith, you can skip the nacctd and sarg subdirectories because they do not contain relevant data.

    Looks like the accu  files are damaged, no idea how or why. Since those are binary, there is not much hope of repairing them. As a quickfix, try to delete all accu files. they will be automatically re-created on demand.
  • I deleted all accu files (/var/log/reporting/accu) and now I have reports!!!!
    Thanks for the help, finnaly it was not a simple problem.