Search found 2 matches
- Thu Jun 17, 2021 1:15 am
- Forum: Open Source Nagios Projects
- Topic: check_ntp_time ipv6 error
- Replies: 1
- Views: 14683
Re: check_ntp_time ipv6 error
Solved: check ai_tmp->ai_family == address_family before creating socket in check_ntp_time.c source code: https://github.com/nagios-plugins/nagios-plugins/blob/master/plugins/check_ntp_time.c line 354: //original socklist =socket(ai_tmp->ai_family, SOCK_DGRAM, IPPROTO_UDP); if(socklist == -1) { perr...
- Wed May 26, 2021 1:43 am
- Forum: Open Source Nagios Projects
- Topic: check_ntp_time ipv6 error
- Replies: 1
- Views: 14683
check_ntp_time ipv6 error
When monitoring NTP server by check_ntp_time with -6 option to check ipv6 connection, sometimes show alerts of "can not create new socket". There is no alert when monitoring with "-4" for ipv4 connection. Anyone could suggest solution to this case? Thanks a lot.