Nagios doen't display backups and localdomain email

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
disarm76
Posts: 13
Joined: Wed Nov 05, 2014 1:18 pm

Nagios doen't display backups and localdomain email

Post 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!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios doen't display backups and localdomain email

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
disarm76
Posts: 13
Joined: Wed Nov 05, 2014 1:18 pm

Re: Nagios doen't display backups and localdomain email

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios doen't display backups and localdomain email

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
disarm76
Posts: 13
Joined: Wed Nov 05, 2014 1:18 pm

Re: Nagios doen't display backups and localdomain email

Post 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.
User avatar
lgroschen
Posts: 384
Joined: Wed Nov 27, 2013 1:17 pm

Re: Nagios doen't display backups and localdomain email

Post 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.
/Luke
Locked