在系统里通过邮件发告警信息,无法连接外部服务器的25端口,如:
Sep 2 22:16:10 monitor postfix/smtp[17582]: connect to mxbiz1.qq.com[163.177.89.176]:25: Connection timed out
Sep 2 22:16:14 monitor postfix/smtp[18061]: connect to mxbiz2.qq.com[163.177.89.176]:25: Connection timed out
[root@monitor nagios]# telnet 163.177.89.176 25
Trying 163.177.89.176...
^C
[root@monitor nagios]# telnet 163.177.89.176 25
Trying 163.177.89.176...
^C
[root@monitor nagios]# ping 163.177.89.176
PING 163.177.89.176 (163.177.89.176) 56(84) bytes of data.
64 bytes from 163.177.89.176: icmp_seq=1 ttl=52 time=6.27 ms
64 bytes from 163.177.89.176: icmp_seq=2 ttl=52 time=6.26 ms
^C
--- 163.177.89.176 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 6.266/6.268/6.271/0.079 ms
[root@monitor nagios]# telnet 211.155.27.23 25
Trying 211.155.27.23...
telnet: connect to address 211.155.27.23: Connection timed out
[root@monitor nagios]# ping 211.155.27.23
PING 211.155.27.23 (211.155.27.23) 56(84) bytes of data.
64 bytes from 211.155.27.23: icmp_seq=1 ttl=50 time=6.97 ms
64 bytes from 211.155.27.23: icmp_seq=2 ttl=50 time=6.46 ms
^C
--- 211.155.27.23 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 6.461/6.718/6.975/0.257 ms
[root@monitor nagios]#