Page 1 of 1

Monitoring PTP sync with Nagios

Posted: Fri Aug 09, 2013 12:31 pm
by and1100
Hello,

I believe it is possible to monitor our ptp grandmaster sync (offset/drift) with Nagios. Is there any specific documentation to explain how to set this up? I've been unable to locate something for this setup.

Thank you.

Re: Monitoring PTP sync with Nagios

Posted: Fri Aug 09, 2013 12:42 pm
by abrist
Some ptp clocks support an ntp option. As nagios has a number of ntp plugins, if your clock supports ntp, it could be checked with an existing ntp plugin. Otherwise, you may have to script a custom plugin.

Re: Monitoring PTP sync with Nagios

Posted: Tue Aug 13, 2013 1:24 pm
by and1100
Hi,

Thank you for the response. We don't sync our grandmaster with ntp, rather, we are syncing it via GPS. I have a list of the MIBs for this SecureSync PTP device but that will require me to set up a SNMP manager, correct? I'd rather do some form of snmpget or (as you said) defined script to perform the offset check.

Thank you.

Re: Monitoring PTP sync with Nagios

Posted: Tue Aug 13, 2013 1:31 pm
by abrist
and1100 wrote:I have a list of the MIBs for this SecureSync PTP device but that will require me to set up a SNMP manager, correct?
Not necessarily.
and1100 wrote:I'd rather do some form of snmpget or (as you said) defined script to perform the offset check.
The all you need is the proper OID to run the get. You will have to create a small plugin script to run the snmpget, parse it, and then output state info and perfdata. Should be simple enough.

Re: Monitoring PTP sync with Nagios

Posted: Tue Aug 13, 2013 2:25 pm
by and1100
Hi Abrist,

Awesome-- thank you. I will play around with it and see if I have any issues.

Thanks again for the help.

Re: Monitoring PTP sync with Nagios

Posted: Tue Aug 13, 2013 2:28 pm
by abrist
No problem. If you run into issues, come back to forums armed with your device's OID. Have a good week!