Hi Team,
I have availability report been scheduled for every month 1st but I dont not find it reaching the recipient at all. But when I use the option to send the report as a email it works(with either PDF/JPEG/CSV,etc).
Option chose for attachment is : Host only CSV
For testing now, I scheduled the report (server is in CST)
Availability Report test_scheduled Report Daily @ 01:17 AM [email protected]
[root@gmsnxap01[GMS Managed Security]: /etc/cron.d]# ll /usr/local/nagiosxi/html/includes/components/scheduledreporting
total 876
-rw-r--r-- 1 nagios nagios 2456 May 13 01:16 CHANGES.txt
-rw-r--r-- 1 nagios nagios 9485 May 13 01:16 history.php
-rw-r--r-- 1 nagios nagios 208889 May 13 01:16 manage.php
-rw-r--r-- 1 nagios nagios 26106 May 13 01:16 scheduledreporting.inc.php
-rwxr-xr-- 1 nagios nagios 500249 May 13 01:16 schedulereport.php
-rwxr-xr-- 1 nagios nagios 135461 May 13 01:16 sendreport.php
[root@gmsnxap01[GMS Managed Security]: /etc/cron.d]# ll
total 16
-rw-r--r--. 1 root root 128 Aug 8 2019 0hourly
-rw-r--r--. 1 root root 199 Jan 15 17:34 mrtg
-rw-r--r-- 1 root root 1806 May 13 01:16 nagiosxi
-rw-------. 1 root root 235 Mar 31 2020 sysstat
[root@gmsnxap01[GMS Managed Security]: /etc/cron.d]# tail /var/log/maillog
Jul 6 01:16:28 gmsnxap01 postfix/pickup[42235]: 63D231E0401: uid=0 from=<root>
Jul 6 01:16:28 gmsnxap01 postfix/cleanup[24204]: 63D231E0401: message-id=<20210 [email protected]>
Jul 6 01:16:28 gmsnxap01 postfix/qmgr[1617]: 63D231E0401: from=<root@gmsnxap01. gmslyb.net>, size=23465, nrcpt=1 (queue active)
Jul 6 01:16:28 gmsnxap01 postfix/local[24211]: 63D231E0401: to=<root@gmsnxap01. gmslyb.net>, orig_to=<root>, relay=local, delay=86, delays=86/0.01/0/0.02, dsn=5 .2.2, status=bounced (cannot update mailbox /var/mail/root for user root. error writing message: File too large)
Jul 6 01:16:28 gmsnxap01 postfix/cleanup[24204]: 6CBAA1E04B8: message-id=<20210 [email protected]>
Jul 6 01:16:28 gmsnxap01 postfix/bounce[24212]: 63D231E0401: sender non-deliver y notification: 6CBAA1E04B8
Jul 6 01:16:28 gmsnxap01 postfix/qmgr[1617]: 6CBAA1E04B8: from=<>, size=25389, nrcpt=1 (queue active)
Jul 6 01:16:28 gmsnxap01 postfix/qmgr[1617]: 63D231E0401: removed
Jul 6 01:16:28 gmsnxap01 postfix/local[24211]: 6CBAA1E04B8: to=<root@gmsnxap01. gmslyb.net>, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=5.2.2, status=bounc ed (cannot update mailbox /var/mail/root for user root. error writing message: F ile too large)
Jul 6 01:16:28 gmsnxap01 postfix/qmgr[1617]: 6CBAA1E04B8: removed
[root@gmsnxap01[GMS Managed Security]: /etc/cron.d]#
Scheduled reports are not delivering
-
sneha.irali
- Posts: 141
- Joined: Fri Jan 15, 2021 3:56 am
Re: Scheduled reports are not delivering
NAgios XI Version - 5.8.3
OS Version - Centos 7
OS Version - Centos 7
Re: Scheduled reports are not delivering
Hi
Edit /etc/postfix/main.cf
change from:
to:
That will increase your mail box size from 50 MB to 5 GB . Lower this value if you
don't have enough disk space.
You'll need to restart the Postfix service after editting the file.
Let me know if this fixed it for you.
Thanks
Edit /etc/postfix/main.cf
change from:
Code: Select all
mailbox_size_limit = 51200000Code: Select all
mailbox_size_limit = 5120000000don't have enough disk space.
You'll need to restart the Postfix service after editting the file.
Let me know if this fixed it for you.
Thanks
-
sneha.irali
- Posts: 141
- Joined: Fri Jan 15, 2021 3:56 am
Re: Scheduled reports are not delivering
How do we restart the postfix service.