Scheduled Reports not getting generated

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pavan509
Posts: 58
Joined: Fri Apr 30, 2021 7:07 am

Scheduled Reports not getting generated

Post by pavan509 »

Hello Team,

From the last 2 days, the scheduled reports suddenly stopped generating. I followed https://support.nagios.com/kb/article/n ... g-742.html and https://support.nagios.com/kb/article/n ... s-829.html articles to troubleshoot this issue.

Code: Select all

cat /var/spool/cron/apache
This gave a result of the reports which were scheduled and scheduled a new report as suggested. However, the new report got added to the cron entry and the report didn't get generated.

I have checked the log files with this command

Code: Select all

tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log
and attached the logs.

I have also checked the scheduled reporting log using this command

Code: Select all

 tail -n 100 /usr/local/nagiosxi/var/scheduledreporting.log
and attached the logs. In this log, I can see the last report got generated on Jan 10th which is 2 days ago.

Is there a way where we can check the reports which got successfully generated previously? I need guidance on how to troubleshoot this issue.
You do not have the required permissions to view the files attached to this post.
Thanks, Pavan
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Scheduled Reports not getting generated

Post by pbroste »

Hello @pavan509

Thanks for reaching out, we see SourceGuardian loader errors logged. Was anything updated or changed within the environment recently?

What php version:

Code: Select all

php -v
Want to have you download the latest Nagios XI installer, extract/untar and run the './install-sourceguardian-extension.sh' script found in the '../nagiosxi/..' directory and let us know the results.

https://support.nagios.com/kb/article/n ... s-816.html

PHP script '/usr/local/nagiosxi/html/includes/components/scheduledreporting/sendreport.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.7.4.lin' to be installed.

1) Download the required loader 'ixed.7.4.lin' from the SourceGuardian site: http://www.sourceguardian.com/loaders/d ... s_m=x86_64
2) Install the loader to /usr/lib64/php/modules
3) Edit /etc/php.ini and add 'extension=ixed.7.4.lin' directive
And;
PHP Warning: PHP Startup: Unable to load dynamic library 'ixed.7.4.lin'
Thanks,
Perry
pavan509
Posts: 58
Joined: Fri Apr 30, 2021 7:07 am

Re: Scheduled Reports not getting generated

Post by pavan509 »

Thanks, Perry for your response. I followed your instructions and it didn't work initially. However, I rechecked the php.ini config file entries and it finally worked.
Thanks, Pavan
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Scheduled Reports not getting generated

Post by pbroste »

Excellent @pavan509 that is good to hear, I will go ahead and lock this.

Thanks,
Perry
Locked