Hi,
Please can someone help me how to install & configure the email notification on Nagios Core 3.5 Version.
Thanks,
Shailesh
install & configure the email notification
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: install & configure the email notification
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
http://nagios.sourceforge.net/docs/3_0/ ... tions.html
Re: install & configure the email notification
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
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
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
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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: install & configure the email notification
Oh interesting, neat guide, I can see that being helpful to more than a few people here.
Re: install & configure the email notification
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...
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
Hi Shailesh,
For CentOS, try using the below command instead;
I'm pretty sure that's how I installed it on CentOS before but it has been a while...
Kind Regards,
Gary Shergill
For CentOS, try using the below command instead;
Code: Select all
yum install mailxKind Regards,
Gary Shergill
Re: install & configure the email notification
Additionally, you will want to change your notification commands to use mailx (and the full path) instead of /usr/bin/mail or /bin/mail.
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.
"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.