any idea why smtp simple check not working only for smtp on zabbix 3.0.8. have created a new item for simplecheck for - net.tcp.service[smtp,ip,25] but the last value it shows as Down (0). telnet is working fine from zabbix server to smtp server. any help will be really appreciated.
Ad Widget
Collapse
Simple checks - smtp not working on zabbix 3.0.8
Collapse
X
-
-
Set debug level =4 in agent config, restart agent and check after a minute or so (search log for net.tcp.service) and see few lines later, that something is blocking connection.
|Make sure, that zabbix_agent can "send mail" via tcp 25
1748962:20220516:110403.484 Requested [net.tcp.service[smtp,host.ip.addres.v4,25]]
1748958:20220516:110404.104 __zbx_zbx_setproctitle() title:'collector [processing data]'
1748958:20220516:110404.104 In update_cpustats()
1748958:20220516:110404.105 End of update_cpustats()
1748958:20220516:110404.105 __zbx_zbx_setproctitle() title:'collector [idle 1 sec]'
1748964:20220516:110404.111 In send_buffer() host:'my_zabbix_server.domain.name' port:10051 entries:0/100
1748964:20220516:110404.111 End of send_buffer():SUCCEED
1748964:20220516:110404.111 __zbx_zbx_setproctitle() title:'active checks Home [idle 1 sec]'
1748958:20220516:110405.105 __zbx_zbx_setproctitle() title:'collector [processing data]'
1748958:20220516:110405.105 In update_cpustats()
1748958:20220516:110405.106 End of update_cpustats()
1748958:20220516:110405.106 __zbx_zbx_setproctitle() title:'collector [idle 1 sec]'
1748964:20220516:110405.111 In send_buffer() host:'my_zabbix_server.domain.name' port:10051 entries:0/100
1748964:20220516:110405.111 End of send_buffer():SUCCEED
1748964:20220516:110405.111 __zbx_zbx_setproctitle() title:'active checks Home [idle 1 sec]'
1748958:20220516:110406.106 __zbx_zbx_setproctitle() title:'collector [processing data]'
1748958:20220516:110406.106 In update_cpustats()
1748958:20220516:110406.106 End of update_cpustats()
1748958:20220516:110406.106 __zbx_zbx_setproctitle() title:'collector [idle 1 sec]'
1748964:20220516:110406.111 In send_buffer() host:'my_zabbix_server.domain.name' port:10051 entries:0/100
1748964:20220516:110406.111 End of send_buffer():SUCCEED
1748964:20220516:110406.111 __zbx_zbx_setproctitle() title:'active checks Home [idle 1 sec]'
1748962:20220516:110406.485 TCP expect network error: cannot connect to [[host.ip.addres.v4]:25]: [4] Interrupted system call
1748962:20220516:110406.485 Sending back [0]
Comment