icingaweb2-module-reporting icon indicating copy to clipboard operation
icingaweb2-module-reporting copied to clipboard

Unable to get scheduled reports

Open Prathameshhankare opened this issue 7 months ago • 23 comments

Describe the bug

I am unable to get scheduled report on email whereas I get the email if I send the email manually(From GUI).

Error in Service:

[root@XXXXX01 ~]# systemctl status icinga-reporting.service -l ● icinga-reporting.service - Icinga Reporting Scheduler Loaded: loaded (/etc/systemd/system/icinga-reporting.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sun 2024-07-21 13:45:03 UTC; 10min ago Process: 27428 ExecStart=/usr/bin/icingacli reporting schedule run (code=exited, status=255) Main PID: 27428 (code=exited, status=255)

Jul 21 13:39:22 XXXXX01 systemd[1]: Started Icinga Reporting Scheduler. Jul 21 13:45:02 XXXXX01 icingacli[27428]: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes) in /usr/share/icingaweb2/modules/pdfexport/vendor/textalk/websocket/lib/Base.php on line 88 Jul 21 13:45:02 XXXXX01 icingacli[27428]: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes) in /usr/share/icingaweb2/modules/pdfexport/vendor/textalk/websocket/lib/Base.php on line 88 Jul 21 13:45:02 XXXXX01 systemd[1]: icinga-reporting.service: main process exited, code=exited, status=255/n/a Jul 21 13:45:03 XXXXX01 systemd[1]: Unit icinga-reporting.service entered failed state. Jul 21 13:45:03 XXXXX01 systemd[1]: icinga-reporting.service failed.

Mail Logs:

Jul 21 13:55:01 XXXXX01 postfix/pickup[25322]: 4B1E5453B3A: uid=0 from= Jul 21 13:55:01 XXXXX01 postfix/cleanup[30928]: 4B1E5453B3A: message-id=[email protected] Jul 21 13:55:01 XXXXX01 postfix/qmgr[1347]: 4B1E5453B3A: from=[email protected], size=768, nrcpt=1 (queue active) Jul 21 13:55:01 XXXXX01 postfix/pickup[25322]: 4FD0A453B41: uid=0 from= Jul 21 13:55:01 XXXXX01 postfix/cleanup[30928]: 4FD0A453B41: message-id=[email protected] Jul 21 13:55:01 XXXXX01 postfix/qmgr[1347]: 4FD0A453B41: from=[email protected], size=771, nrcpt=1 (queue active) Jul 21 13:55:01 XXXXX01 postfix/local[30942]: 4B1E5453B3A: to=[email protected], orig_to=, relay=local, delay=0.13, delays=0.09/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox) Jul 21 13:55:01 XXXXX01 postfix/qmgr[1347]: 4B1E5453B3A: removed Jul 21 13:55:01 XXXXX01 postfix/local[30944]: 4FD0A453B41: to=[email protected], orig_to=, relay=local, delay=0.17, delays=0.09/0.04/0/0.03, dsn=2.0.0, status=sent (delivered to mailbox) Jul 21 13:55:01 XXXXX01 postfix/qmgr[1347]: 4FD0A453B41: removed Jul 21 14:00:01 XXXXX01 postfix/pickup[25322]: D3DF1453B40: uid=0 from= Jul 21 14:00:01 XXXXX01 postfix/cleanup[31941]: D3DF1453B40: message-id=[email protected] Jul 21 14:00:01 XXXXX01 postfix/qmgr[1347]: D3DF1453B40: from=[email protected], size=771, nrcpt=1 (queue active) Jul 21 14:00:01 XXXXX01 postfix/pickup[25322]: D9CF7453B41: uid=0 from= Jul 21 14:00:01 XXXXX01 postfix/cleanup[31941]: D9CF7453B41: message-id=[email protected] Jul 21 14:00:01 XXXXX01 postfix/qmgr[1347]: D9CF7453B41: from=[email protected], size=768, nrcpt=1 (queue active) Jul 21 14:00:01 XXXXX01 postfix/local[31954]: D3DF1453B40: to=[email protected], orig_to=, relay=local, delay=0.09, delays=0.07/0.02/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jul 21 14:00:01 XXXXX01 postfix/qmgr[1347]: D3DF1453B40: removed Jul 21 14:00:01 XXXXX01 postfix/local[31954]: D9CF7453B41: to=[email protected], orig_to=, relay=local, delay=0.09, delays=0.06/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox) Jul 21 14:00:01 XXXXX01 postfix/qmgr[1347]: D9CF7453B41: removed

Your Environment

  • Module version: v1.0.1
  • Dependent module versions: pdfexport v0.11.0
  • Icinga Web 2 version and modules (System - About): 2.12.1
  • Icinga 2 version used (icinga2 --version): r2.13.5-1
  • PHP version used (php --version): 7.2.34
  • Server operating system and version: CentOS 7

Prathameshhankare avatar Jul 21 '24 14:07 Prathameshhankare