No alerts

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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: No alerts

Post by rkennedy »

What is the output of which mail?

Is it /usr/bin/sendmail? If so, your commands look correct.
Former Nagios Employee
jriker1
Posts: 115
Joined: Tue Dec 15, 2015 8:40 pm

Re: No alerts

Post by jriker1 »

/usr/bin/which: no mail in (/root/perl5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: No alerts

Post by mcapra »

Try which sendmail

Also check manually if there is a sendmail binary located at /usr/sbin/sendmail. Your command definitions are trying to access the binary at that location.
Former Nagios employee
https://www.mcapra.com/
jriker1
Posts: 115
Joined: Tue Dec 15, 2015 8:40 pm

Re: No alerts

Post by jriker1 »

/usr/sbin/sendmail
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: No alerts

Post by mcapra »

That command definition look fine. There might be additional considerations for the postfix configuration, but you've covered all the important bits I can think of.
Former Nagios employee
https://www.mcapra.com/
Locked