i want to use zabbix 1.7.2 to check the ntp server
i used the agent-check follow the manual,with net.tcp.service[service.ntp , ip],
but the return value is 0, menas error.
the ntpd running status is confirmed by using the command "ntpdate ip" from zabbix server
i found the log with "connection refuse"
and i found although the ntp server use the port 123 with UDP, the src/libs/zbxsysinfo/simple/ntp.c use the function "zbx_tcp_connect" which use SOCK_STREAM, not the SOCK_DGRAM......
has anyone monitor the ntp server sucessfully and can give me a sample how to do it?
i used the agent-check follow the manual,with net.tcp.service[service.ntp , ip],
but the return value is 0, menas error.
the ntpd running status is confirmed by using the command "ntpdate ip" from zabbix server
i found the log with "connection refuse"
and i found although the ntp server use the port 123 with UDP, the src/libs/zbxsysinfo/simple/ntp.c use the function "zbx_tcp_connect" which use SOCK_STREAM, not the SOCK_DGRAM......
has anyone monitor the ntp server sucessfully and can give me a sample how to do it?
Comment