Page 1 of 1

install & configure the email notification

Posted: Tue Aug 20, 2013 12:28 am
by shailesh
Hi,

Please can someone help me how to install & configure the email notification on Nagios Core 3.5 Version.

Thanks,
Shailesh

Re: install & configure the email notification

Posted: Tue Aug 20, 2013 9:39 am
by slansing
I'd recommend taking a look at this page here, which will guide you through notifications and help you to decide what way is best for you:

http://nagios.sourceforge.net/docs/3_0/ ... tions.html

Re: install & configure the email notification

Posted: Thu Aug 29, 2013 6:44 am
by shailesh
thanks for reply.

I have gone through of your link and understand about it.

Please let me know what is the steps to configure the mails alerts and which mail daemons I can install postfix or sendEmail or sendmail in my Nagios environment.

Please help...

Thanks,
Shailesh

Re: install & configure the email notification

Posted: Thu Aug 29, 2013 9:06 am
by gshergill
Hi Shailesh,

This isn't official documentation, but I wrote an install guide for mail on Nagios Core with Ubuntu OS. Link is below (note that I've only set up on Ubuntu servers so not sure if this works on other OS).

http://www.globility.co.uk/?p=386

Hope this helps!

Kind Regards,

Gary Shergill

Re: install & configure the email notification

Posted: Thu Aug 29, 2013 10:49 am
by slansing
Oh interesting, neat guide, I can see that being helpful to more than a few people here.

Re: install & configure the email notification

Posted: Sat Aug 31, 2013 12:32 pm
by shailesh
Hi Gshergill,

Thanks Gshergill for reply, I am trying to installed Postfix & heirloom-mailx on Centos 6.3 64 bit.

I am trying to install heirloom-mailx package but it is giving error which mention below,

# yum install heirloom-mailx
Loaded plugins: fastestmirror, security
Determining fastest mirrors
* base: centos.aol.in
* extras: centos.aol.in
* updates: centos.aol.in
base | 3.7 kB 00:00
extras | 3.5 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 4.0 MB 01:09
Setting up Install Process
No package heirloom-mailx available.
Error: Nothing to do

Please help me how i can deploy the configure the mails alerts with Nagios.

Thanks,
Shailesh...

Re: install & configure the email notification

Posted: Mon Sep 02, 2013 4:52 am
by gshergill
Hi Shailesh,

For CentOS, try using the below command instead;

Code: Select all

yum install mailx
I'm pretty sure that's how I installed it on CentOS before but it has been a while...

Kind Regards,

Gary Shergill

Re: install & configure the email notification

Posted: Tue Sep 03, 2013 10:37 am
by abrist
Additionally, you will want to change your notification commands to use mailx (and the full path) instead of /usr/bin/mail or /bin/mail.