email service notifications not working

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mtarkows
Posts: 2
Joined: Fri May 13, 2022 4:39 pm

email service notifications not working

Post by mtarkows »

Can't seem to get my email notifications to work.
I've added all the parameters I understand are necessary to the "Nifi Group Transmisiones demo" service and to my contacts and am still not getting the emails.
NB I need the notififcations for all the services - I'm just focusing on this one for now just to see if I can make it work.
See attached cfg files.

Thanks
Milo
Attachments
templates.cfg
(12.24 KiB) Downloaded 49 times
localhost.cfg
(9.24 KiB) Downloaded 40 times
contacts.cfg
(2.9 KiB) Downloaded 39 times
commands.cfg
(10.26 KiB) Downloaded 38 times
mtarkows
Posts: 2
Joined: Fri May 13, 2022 4:39 pm

Re: email service notifications not working

Post by mtarkows »

It's been fixed!
After studying the nagios log (/usr/local/nagios/var/nagios.log) and the sendmail log (/var/log/mail.log)...and some googling, it turned out that the problem was the configuration of/etc/hosts

Thanks
Milo
Locked