From shakunj at optumsoft.com Thu May 25 09:49:20 2023 From: shakunj at optumsoft.com (Shakunj Jain) Date: Thu, 25 May 2023 13:19:20 +0530 Subject: Need More Documentation on check_ntp_peer monitoring plugin. Message-ID: Hi Team, Could you please help me understand the check_ntp_peer monitoring plugin. I am using the plugin as per the documentation https://www.monitoring-plugins.org/doc/man/check_ntp_peer.html but I am unable to get expected results and everytime it throws me an error message as below. root@:~# /usr/lib/nagios/plugins/check_ntp_peer -H ntp.ubuntu.com *CRITICAL - Socket timeout after 10 seconds* root@:~# Thanks And Regards Shakunj Jain -------------- next part -------------- An HTML attachment was scrubbed... URL: From stu.lists at spacehopper.org Fri May 26 15:52:53 2023 From: stu.lists at spacehopper.org (Stuart Henderson) Date: Fri, 26 May 2023 13:52:53 -0000 (UTC) Subject: Need More Documentation on check_ntp_peer monitoring plugin. References: Message-ID: On 2023-05-25, Shakunj Jain wrote: > Could you please help me understand the check_ntp_peer monitoring plugin. > I am using the plugin as per the documentation > https://www.monitoring-plugins.org/doc/man/check_ntp_peer.html but I am > unable to get expected results and everytime it throws me an error message > as below. It's for checking an ntp server which you are a "peer" of. If you are just a standard downstream user of a server (i.e. if you're using ntpd, you would use "server" not "peer" to connect) you probably want check_ntp_time instead.