Nagios wont send notification by mail
Posted: Sat Nov 25, 2017 3:50 am
Hi,
I installed sSMTP and configured and tested, and it works fine, but Nagios doesnt want to send any mail.
In the nagios log I have this situation:
I don't understand what it means!
Please help!
Thanks in advance
I installed sSMTP and configured and tested, and it works fine, but Nagios doesnt want to send any mail.
In the nagios log I have this situation:
Code: Select all
SERVICE NOTIFICATION: nagiosadmin;localhost;Environment Sensors;CRITICAL;notify-service-by-email;CRITICAL: {Temperature 30.5 Degrees Celsius (CRITICAL >= 27.0)} {Humidity 38.9 %}
[1511561723] wproc: NOTIFY job 1 from worker Core Worker 24994 is a non-check helper but exited with return code 1
[1511561723] wproc: host=localhost; service=Environment Sensors; contact=nagiosadmin
[1511561723] wproc: early_timeout=0; exited_ok=1; wait_status=256; error_code=0;
[1511561723] wproc: stderr line 01: ssmtp: RCPT TO:<** PROBLEM Service Alert: localhost/Environment Sensors is CRITICAL **@gmail.com> (501 <** PROBLEM Service Alert: localhost/Environment Sensors is CRITICAL=**@gmail.com>: "@" or "." expected after "**")Please help!
Thanks in advance