Dear all,
I installed postfix on my CentOS; i tested OK with postfix but i could not receive alert email from nagioscore. When checking /usr/local/nagios/var/nagioslog, i seen an error:
"emailaddress" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists...
Can you please advice me for this error?
Email Notifications Problem
-
trungleviet
- Posts: 35
- Joined: Sat Mar 03, 2012 11:36 am
- Location: Hanoi - Vietnam
- Contact:
Re: Email Notifications Problem
Can you post your notification command definitions? Also, do you receive mail okay if you run the following command (edit to use your email address)?
Code: Select all
# echo testing | mail [email protected]-
trungleviet
- Posts: 35
- Joined: Sat Mar 03, 2012 11:36 am
- Location: Hanoi - Vietnam
- Contact:
Re: Email Notifications Problem
Many thanks agriffin,
After running "echo testing | mail myemailaddress@domainname" command;
i seen that i need to install mailx package for further, after done that, i could receive email from nagios
Many thanks for your help, agriffin
After running "echo testing | mail myemailaddress@domainname" command;
i seen that i need to install mailx package for further, after done that, i could receive email from nagios
Many thanks for your help, agriffin