Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.09 KB

File metadata and controls

29 lines (24 loc) · 1.09 KB

#bootstrap-rsyslog-ui

Screenshot: https://raw.githubusercontent.com/hmsdao/bootstrap-rsyslog-ui/master/images/main.PNG

Installation

Automating chart cache

  • The charts are now based on cached json-files instead of querying the database each time the charts are drawned.
  • This means you need to schedule a timer job each day.
  • Example for crontab line (crontab -e):
  5 0 * * * cd /var/www/html/maintenance; ./generate_reports_cache.sh

Database Maintenance

  • Make sure you have set variable $keep_logs_for_days in config.php
  • Example for crontab line (crontab -e):
  1 0 * * * cd /var/www/html/maintenance; /usr/bin/php ./db-maintenance.php

Enjoy!