Page 1 of 1

Nagios doen't display backups and localdomain email

Posted: Tue Jan 20, 2015 8:35 am
by disarm76
Hi, when I click "Create backup" in admin->Local Backups Archives it says it's creating a backup but after doesn't displays it. If I go to /store/backups/nagiosxi the backup is there and it seems good but still doesn't show on "Local Backups Archives". It has enough disk space. Any ideas why this happens?

Image

Also a separate issue: nagiosxi is emailing me from nagios@my_domain and [email protected]. This localdomain started out of the blue (maybe after a patch?). How can I fix it to only email me from nagios@my_domain?

Thank you in advance!

Re: Nagios doen't display backups and localdomain email

Posted: Tue Jan 20, 2015 5:14 pm
by abrist
disarm76 wrote:If I go to /store/backups/nagiosxi the backup is there and it seems good but still doesn't show on "Local Backups Archives". It has enough disk space. Any ideas why this happens?
1. What version of XI are you running?
2. What are the permissions on the backup file?

Code: Select all

ls -la /path/to/backup/file
disarm76 wrote:How can I fix it to only email me from nagios@my_domain?
3. What do you have entered into the form "Send email from" under Admin --> Manage email settings?

Re: Nagios doen't display backups and localdomain email

Posted: Wed Jan 21, 2015 4:19 am
by disarm76
abrist,

The first issue was solved in the meantime. There was a database error and after a repair it worked normally.

On the second issue, I have the email I want nagios to send (nagios@mydomain) under 'send email from' on Admin --> Manage email settings. It sends some email from this address, but most from [email protected]. I don't have this last address there. Thank you.

Re: Nagios doen't display backups and localdomain email

Posted: Wed Jan 21, 2015 3:23 pm
by abrist
Are all of your contacts configured as XI users? If not, then some of your contacts may be using the old sendmail commands.
Check this by opening up a working and non-working contact in the ccm. Check their notification commands, what are they?

Re: Nagios doen't display backups and localdomain email

Posted: Fri Jan 23, 2015 1:35 pm
by disarm76
I think I figures it out with your help. I checked the contact that send us email and it had 2 contact templates assigned:

xi_contact_generic
generic-contact

After I removed one of them I started getting emails only from [email protected]. Thank you for your help.

Re: Nagios doen't display backups and localdomain email

Posted: Fri Jan 23, 2015 1:43 pm
by lgroschen
Glad that solved the issue. Feel free to pm any of the support team or create a new topic with any other questions you have.