Hi,
So i did what you told me to do and it seems to send email to my inbox but i still don't get any notification from ZAbbix even i ifconfig lan down on a server just to see if if will send me something. But the GUI shows that Zabbix agent NOT able to contact the server.
Anythnig else that i can try? please help.
[root@zabbix mail]# telnet localhost smtp
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 zabbix.agr.gc.ca ESMTP Sendmail 8.14.7/8.14.7; Fri, 10 Mar 2017 15:42:34 -0500
helo mymailhost.ca
250 zabbix.agr.gc.ca Hello localhost [127.0.0.1], pleased to meet you
mail from: [email protected]
250 2.1.0 [email protected]... Sender ok
rcpt to: la.mounarath@ca
250 2.1.5 la.mounarath@ca... Recipient ok
data
354 Enter mail, end with "." on a line by itself
Subject: test
this is a test message
.
250 2.0.0 v2AKgYJE056677 Message accepted for delivery
quit
221 2.0.0 zabbix.ca closing connection
Connection closed by foreign host.
So i did what you told me to do and it seems to send email to my inbox but i still don't get any notification from ZAbbix even i ifconfig lan down on a server just to see if if will send me something. But the GUI shows that Zabbix agent NOT able to contact the server.
Anythnig else that i can try? please help.
[root@zabbix mail]# telnet localhost smtp
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 zabbix.agr.gc.ca ESMTP Sendmail 8.14.7/8.14.7; Fri, 10 Mar 2017 15:42:34 -0500
helo mymailhost.ca
250 zabbix.agr.gc.ca Hello localhost [127.0.0.1], pleased to meet you
mail from: [email protected]
250 2.1.0 [email protected]... Sender ok
rcpt to: la.mounarath@ca
250 2.1.5 la.mounarath@ca... Recipient ok
data
354 Enter mail, end with "." on a line by itself
Subject: test
this is a test message
.
250 2.0.0 v2AKgYJE056677 Message accepted for delivery
quit
221 2.0.0 zabbix.ca closing connection
Connection closed by foreign host.
Comment