mutt instead of mail

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
vvz
Posts: 187
Joined: Wed Oct 30, 2013 5:15 pm

mutt instead of mail

Post by vvz »

Hello!
is it enough to put in commands.cfg

define command{
command_name notify_service_by_email
command_line echo "TEST" | /usr/bin/mutt -s "TEST [email protected]
}


to use mutt instead of mailx. or i have to add somethinfg to resource.cfg?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: mutt instead of mail

Post by sreinhardt »

I've never used mutt, but defining a command and altering your contacts to use that for notification settings should work, provided that command\script are correct.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked