Page 1 of 1

Nagios XI 2011R2.4 No Email Alerts

Posted: Wed May 23, 2012 9:55 am
by JasonMagee
We currently have a nagios core server running in our production environment. I am now attempting to configure our new nagiosxi server to take over this role. I cannot figure out why email alerts are not being sent though. I am able to send test emails from the system though. Any assistance would be greatly appreciated.

Re: Nagios XI 2011R2.4 No Email Alerts

Posted: Wed May 23, 2012 11:45 am
by lmiltchev
Are you using our VMWare VM? It is possible that you don't have a mail server installed. Try running in terminal:

Code: Select all

which mail
If you can't find mail, run:

Code: Select all

yum install -y mailx
Since, you are migration from Core, please, review our documentation on Users and Contacts in Nagios XI:

http://assets.nagios.com/downloads/nagi ... ntacts.pdf

Hope this helps.

Re: Nagios XI 2011R2.4 No Email Alerts

Posted: Wed May 23, 2012 11:55 am
by JasonMagee
We are using the vmWare VM. I got back the following when running "which mail"
/usr/bin/which: no mail in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

Regarding contacts is it done differently than in the Core product?

Re: Nagios XI 2011R2.4 No Email Alerts

Posted: Wed May 23, 2012 12:14 pm
by scottwilkerson
You should be able to do the following

Code: Select all

yum install mailx -y

Re: Nagios XI 2011R2.4 No Email Alerts

Posted: Wed May 23, 2012 12:19 pm
by JasonMagee
Awesome. That worked! Thank you.