-
Re: DEVICE TIME SYNC WITH NTP
kmillerusaf Nov 28, 2017 7:29 AM (in response to bmallon)1 of 1 people found this helpfulThere are probably other ways to do it, possibly better ways, but the one that came to mind was to create a job within NCM that runs a command script like "show ntp status" and then you can filter the results based on the first line from that output. I used the RegEx pattern ^Clock is* for example. This would match:
hostname#show ntp status
Clock is synchronized, stratum 2, reference is 10.99.99.1
I hope this helps!
Regards,
Keith
-
Re: DEVICE TIME SYNC WITH NTP
d09hNov 28, 2017 8:15 AM (in response to bmallon)
1 of 1 people found this helpfulPoll this MIB: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/bsm/configuration/15-2mt/bsm-ntp4-mib.html
NTPv4 MIB
The Network Time Protocol Version 4 (NTPv4) MIB feature, which is based on RFC 5907, defines data objects that represent the current status of NTP entities. These data objects are accessed using the Simple Network Management Protocol (SNMP) and are used to monitor and manage local NTP entities.
The data objects contain the following information about the NTP entities: