Nagios Notifications dont work

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.
Rook
Posts: 12
Joined: Tue Feb 19, 2019 4:50 am

Re: Nagios Notifications dont work

Post by Rook »

The command ->

Code: Select all

which mail
Gave me

Code: Select all

/usr/bin/mail.
I changed the path in the commands.cfg from /bin/mail to /usr/bin/mail.

Nagios log is showing:

[1550781328] EXTERNAL COMMAND: SEND_CUSTOM_SVC_NOTIFICATION;HOST;Free Space VolGroup-lv_root;0;Nagios Admin;q

No more errors, but the mailbox is not receiving any mails.

Is there anything else i can check?.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Notifications dont work

Post by scottwilkerson »

Make sure postfix is running

Code: Select all

systemctl status postfix
and you can look in the mail log

Code: Select all

tail -f /var/log/mail.log
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Rook
Posts: 12
Joined: Tue Feb 19, 2019 4:50 am

Re: Nagios Notifications dont work

Post by Rook »

it seems i also had sendmail running on port 25.

Purged everything from sendmail and now postfix is running smoothly.

I just received mail the mailbox.

I want to thank you for the quick support.

You can close this case.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Notifications dont work

Post by scottwilkerson »

Rook wrote:it seems i also had sendmail running on port 25.

Purged everything from sendmail and now postfix is running smoothly.

I just received mail the mailbox.

I want to thank you for the quick support.

You can close this case.
Great!

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked