Page 1 of 1
Automatic Notifications stop after upgrades
Posted: Mon Jan 06, 2014 9:54 am
by thomasj
Hi,
After upgrading to Nagios XI (2012R2.7) and updating the Linux kernel All automatic service and host notifications have stopped.
I am able to sent test notifications fine. However the automatic service and host notifications have stopped working.
Is there something simple that could have gone wrong in upgrading nagios versions and the kernel with a config file being overwritten or something?
Thanks
Joe
Re: Automatic Notifications stop after upgrades
Posted: Mon Jan 06, 2014 10:31 am
by slansing
Are notifications being listed in the Home > Notifications page? If so, can you run the following and share the output:
Are notifications enabled on your hosts/services? Are they in downtime or commented?
Re: Automatic Notifications stop after upgrades
Posted: Wed Jan 08, 2014 3:42 am
by thomasj
There is an error "(Cannot update mailbox /var/mail/root for user root. error writing message: file too large)"
Would I have to delete the /var/mail/root file and let it get recreated? or is there a way to truncate the file?
thanks for the quick reply compared to my slower one.

Re: Automatic Notifications stop after upgrades
Posted: Wed Jan 08, 2014 11:47 am
by abrist
There's a postfix setting called "mailbox_size_limit" which sets the maximum file size for a mailbox. By default it is set to 50MB, so you may need to increase the limit.
The solution to the "file too large" error is to modify this value in the /etc/postfix/main.cf file and either change it to a greater value, or set it to zero to have no limit. If the value is not already in the file then just add it to the end.
Edit:
Change the mailbox_size_limit value, or add the line if it does not exist:
Then you need to reload postfix - you can just reload, a full restart is not required: