Email Notifications not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sgiworks
Posts: 197
Joined: Mon Mar 21, 2016 11:38 am

Email Notifications not working

Post by sgiworks »

Hello Team,

I've setup a new server, where the email notifications are not working. However I can see them in the console 'Notification'; also I tried sending test email from Nagios and that works, so there is no problem with SMTP service. Please suggest.
You do not have the required permissions to view the files attached to this post.
sgiworks
Posts: 197
Joined: Mon Mar 21, 2016 11:38 am

Re: Email Notifications not working

Post by sgiworks »

Attached system profile for your reference.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Email Notifications not working

Post by rkennedy »

Could you attempt to upgrade to 5.3.2? There were a few issues in 5.3.0/5.3.1 relating to notifications and I feel this should solve it.
Former Nagios Employee
sgiworks
Posts: 197
Joined: Mon Mar 21, 2016 11:38 am

Re: Email Notifications not working

Post by sgiworks »

Hello,

I tried upgrading, but I get below errors and it continues.


[root@iwksapspssnxi01 ec2-user]# cd /tmp
[root@iwksapspssnxi01 tmp]# rm -rf nagiosxi xi*.tar.gz
[root@iwksapspssnxi01 tmp]# wget http://assets.nagios.com/downloads/nagiosxi/xi- latest.tar.gz
--2016-11-08 03:45:37-- http://assets.nagios.com/downloads/nagiosxi/xi-latest.t ar.gz
Resolving assets.nagios.com... 72.14.181.71, 2600:3c00::f03c:91ff:fedf:b821
Connecting to assets.nagios.com|72.14.181.71|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://assets.nagios.com/downloads/nag ... est.tar.gz [followi ng]
--2016-11-08 03:45:41-- https://assets.nagios.com/downloads/nagiosxi/xi-latest. tar.gz
Connecting to assets.nagios.com|72.14.181.71|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 52300720 (50M) [application/x-gzip]
Saving to: “xi-latest.tar.gz”

100%[======================================>] 52,300,720 8.48M/s in 8.6s

2016-11-08 03:45:51 (5.80 MB/s) - “xi-latest.tar.gz” saved [52300720/52300720]

[root@iwksapspssnxi01 tmp]# tar xzf xi-latest.tar.gz
[root@iwksapspssnxi01 tmp]# cd /tmp/nagiosxi
[root@iwksapspssnxi01 nagiosxi]# ./upgrade
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Checking required prereqs...
Please wait...

OLD VERSION: 530
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: rpmforge-release
Determining fastest mirrors
* base: mirror.nus.edu.sg
* epel: mirror.smartmedia.net.id
* extras: mirror.nus.edu.sg
* updates: mirror.qoxy.com
http://mirror.smartmedia.net.id/epel/6/ ... repomd.xml: [Errno -1] re pomd.xml does not match metalink for epel
Trying other mirror.
http://ftp.cuhk.edu.hk/pub/linux/fedora ... repomd.xml: [Errn o -1] repomd.xml does not match metalink for epel
Trying other mirror.
http://mirror2.totbb.net/epel/6/x86_64/ ... repomd.xml: [Errno -1] repomd.xm l does not match metalink for epel
Trying other mirror.
http://ftp.jaist.ac.jp/pub/Linux/Fedora ... repomd.xml: [Errn o -1] repomd.xml does not match metalink for epel
Trying other mirror.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Email Notifications not working

Post by avandemore »

It seems you are running a system which hasn't been updated in quite awhile.

Can you try this? http://stackoverflow.com/questions/3094 ... when-tryin
Previous Nagios employee
sgiworks
Posts: 197
Joined: Mon Mar 21, 2016 11:38 am

Re: Email Notifications not working

Post by sgiworks »

Genius!

I was able to fix the problem

Kudos to you :)
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Email Notifications not working

Post by avandemore »

Glad to hear it worked. Are we ok to lock this thread?
Previous Nagios employee
sgiworks
Posts: 197
Joined: Mon Mar 21, 2016 11:38 am

Re: Email Notifications not working

Post by sgiworks »

Sure, thanks once again
Locked