Problem with Email Notification in Nagios Core

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
ianlleva246
Posts: 5
Joined: Wed Sep 16, 2015 6:16 pm

Problem with Email Notification in Nagios Core

Post by ianlleva246 »

Hi all,

I'm new in Nagios Core. I successfully installed nagios core on my device and also change the email to my email account base on the installation process. Also I add host services and contacts but when I restart my nagios service I didn't receive any email notification from nagios.

please help. Thanks
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Problem with Email Notification in Nagios Core

Post by hsmith »

Are you using an internal or external email service? By default, Nagios will use sendmail, which can get blocked by a lot of spam filters.
Former Nagios Employee.
me.
ianlleva246
Posts: 5
Joined: Wed Sep 16, 2015 6:16 pm

Re: Problem with Email Notification in Nagios Core

Post by ianlleva246 »

Hi hsmith,

you're right the problem was on the spam filter. umm can I ask another question to you regarding creating custom plugin? because I want to create a plugin that checking if some service on my server are running or not like asterisk, mysqld, httpd, fail2ban and fop2. I want to have a result when I run the following command: service fail2ban status.

This will be a great help to. . Thanks
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Problem with Email Notification in Nagios Core

Post by hsmith »

I'm going to lock this thread since we try to keep issues to one per post, and you opened another post anyway. Glad to hear the email issue is fixed, though.
Former Nagios Employee.
me.
Locked