Time for action – setup of a cron-based report generation
Logon to your Cacti server.
Create a new file in
/etc/cron.d
for running the report generation:vi /etc/cron.d/reportScheduler
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
Save the file by hitting ESC and entering x.
Now logon to your Cacti web interface.
Go to Configuration | Settings.
Click on the NMID tab.
Select Cron as the Scheduler being used.
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 with the report generation.