Email Notifications

I'm having an issue with setting up email notifications. when I check in the nagios.log file, I see this message
I have tried to test manually and confirmed the exact same thing happens.
Does anyone know if the sendmail options have changed? I've read through the manual about 4 times now and I don't see anything calling out subject anymore.
- Code: Select all
[1656511916] wproc: early_timeout=0; exited_ok=1; wait_status=19200; error_code=0;
[1656511916] wproc: stderr line 01: sendmail: invalid option -- 's'
[1656511916] wproc: stderr line 02: sendmail: invalid option -- 's'
[1656511916] wproc: stderr line 03: sendmail: fatal: usage: sendmail [options]
I have tried to test manually and confirmed the exact same thing happens.
- Code: Select all
[root@nagios ~]# /usr/bin/printf "%b" "test" | /usr/sbin/sendmail -s "test subject" lukes@coloradovalley.com
sendmail: invalid option -- 's'
sendmail: invalid option -- 's'
sendmail: fatal: usage: sendmail [options]
Does anyone know if the sendmail options have changed? I've read through the manual about 4 times now and I don't see anything calling out subject anymore.