Time for action – setup of a cron-based report generation

  1. Logon to your Cacti server.
  2. Create a new file in /etc/cron.d for running the report generation:
    vi /etc/cron.d/reportScheduler
    
  3. Add the following one line to this file:
    */1 * * * * cactiuser /usr/bin/php /var/www/html/cacti/plugins/nmidCreatePDF/cron_pdf_scheduler.php > /dev/null 2>&1
    
  4. Save the file by hitting ESC and entering x.
  5. Now logon to your Cacti web interface.
  6. Go to Configuration | Settings.
  7. Click on the NMID tab.
  8. Select Cron as the Scheduler being used.
  9. Click on the Save button.

What just happened?

You just changed your scheduler from the poller-based version to a cron-based one. This will allow the Cacti poller to concentrate on polling performance data while the operating system deals ...

Get Cacti 0.8 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.