-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get scheduled reports #242
Comments
I have the same issue |
Hi @Prathameshhankare @gurhanocaktan, |
icingacli reporting schedule run --debug There are 242 services I have. I wanted to send SLA of all these objects. When I click send and manually trigger , I receive the email and report . |
Hi @gurhanocaktan, Yes, this schedule will be executed tomorrow. You can create a new schedule for tests with a minutely frequency. |
Hi @sukhwinder33445 , |
Hi @gurhanocaktan, Maybe this was just a one-time error, this can happen if the data and the cover sheet are very large. |
Hi @sukhwinder33445 , I change the schedule again to daily . I will check if I receive or not tomorrow . |
Yes I did not get the daily one again. :/ |
Can you please provide the debug log from today. |
Hi @sukhwinder33445 , I am using the latest version of reporting module but ı realized I am using 0.11.0 module of pdfexport . I will upgrade it . How can I see the debug log from today ? |
The logs of the reporting module should be included in your icingaweb2 logs. |
Hi @gurhanocaktan, Do you still have the issue even after updating pdfexport and the reporting module to the latest version? |
Hi @gurhanocaktan, If you cannot find the logs of the report module, please try the following:
|
Hi @sukhwinder33445 , I still have the issue even tho I have the latest version of these modules ( I already had the latest versions ) . I scheduled the daily report 5 minutes later and sometimes it worked. However, the day after it did not send again . I will try to get these logs and send you |
Btw I realized something odd , When I schedule the report for at 1.20pm ,
There is 2 hours difference. |
@sukhwinder33445, please take a look at the below debug log you requested. |
Any update on the shared debug logs? |
Unfortunately, the shared log file does not contain a service crash log, only normal logs, which are harmless. But I was able to reproduce it once. I am looking for the cause. |
Hi @sukhwinder33445, Have we identified the cause? Please let me know if we have a solution for this issue. |
Hi @sukhwinder33445, Could you please provide an update on the progress of identifying the root cause? I’m awaiting your response. |
I have successfully reproduced the crash of the daemon and acknowledged the bug. Unfortunately, I cannot give you a date when this bug will be fixed. As a workaround, you can omit the template for reports, which leads to a lower memory usage. Please let me know if this works for you. |
@sukhwinder33445, I tried the workaround, omitted the template for reports, but still no luck. |
Is it a large file (how many objects)? How many schedules do you have, and when are they triggered (frequency, time)? |
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
icinga2 --version
): r2.13.5-1php --version
): 7.2.34The text was updated successfully, but these errors were encountered: