ntp_response Error: unable to contact host

book

Article ID: 4163

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

NTP_Response Error: unable to contact host, You might want to try with type = SNTP.

                              

 

 

Cause

This can happen if the local host or remote NTP server ip address is not being updated in the /etc/ntp.conf file.

Environment

UIM: 8.3, 8.4, 8.51 or later
NTP_Response: 1.40, 1.41

Resolution

Type SNTP: Configured probe on client and you can only monitor “Response time exceeds” and “No contact with server” for this. 

Type NTP: Configured probe on server and you can enable monitoring for below monitors.

  • Response time exceeds
  • Offset exceeds
  • Jitter exceeds
  • No contact with server
  • Server is not updated from any peer
  • Server is not fully initialized 


1) If the machine where ntp_response probe is deployed is an NTP client (NTP service running on server) and synchronizing with NTP server, "SNTP type" would work. 

2) If the machine where ntp_response probe is deployed is an NTP server, then NTP type will work.

Once the probe is deployed and adding the required host profile for ntp_response, please follow the below mentioned steps.

  1. Login to NTP Server with root user (Eighter it could be local host or remote host)
  2. Open /etc/ntp.conf file and add the below lines and save it.
    • restrict 127.0.0.1
    • restrict -6 ::1
    • restrict <IP Address of Probe Machine>
    • restrict <IP Address of Local Machine>
    • src="/servlet/servlet.FileDownload?file=0150c000004AKBXAA4" alt="2.jpg">
    • Note: The -6 option is required before an IPv6address. So only third line will be enough in case NTP server and client (probe machine) are different.
  3. Restart the NTP service by running the command. "service ntpd restart"
  4. Confirm the service is running using command "ps -eaf | grep -i ntp"

    Test the connectivity on ntp_response probe and confirm whether it works or not.

Additional Information

ntp_response probe documentation:

http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/ca-unified-infrastructure-management-probes/GA/alphabetical-probe-articles/ntp-response-network-time-protocol-response-monitoring.html

Reference Documents from Redhat:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sect-Date_and_Time_Configuration-Command_Line_Configuration-Network_Time_Protocol.html

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-Understanding_the_ntpd_Configuration_File.html

Attachments