Community discussions

MikroTik App
 
sirajvlr
just joined
Topic Author
Posts: 2
Joined: Wed Mar 29, 2023 12:18 pm

SNMP OID for Precision Time Protocol router os 7.8

Wed Mar 29, 2023 3:43 pm

Hi Team,
I am new to the group.
I have a query on monitoring Precision Time Protocol on the router OS version 7.8. When I run the command /system/ptp> monitor 0 I get below outputs.
gm-clock-id:
master-clock-id:
slave-port:
offset:
freq-drift:
slave-port-delay:

Can I get these output value from an SNMP monitoring server? I could not find any MIB supporting for these output.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3169
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: SNMP OID for Precision Time Protocol router os 7.8

Wed Mar 29, 2023 6:38 pm

Possible they don't support the standard PTPBASE-MIB (RFC-8173), or at least not documented as such. Maybe worth a try to load that MIB and use those OID to see.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: SNMP OID for Precision Time Protocol router os 7.8

Wed Mar 29, 2023 7:05 pm

RouterOS do not support PTP on device used from the OP.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3169
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: SNMP OID for Precision Time Protocol router os 7.8

Wed Mar 29, 2023 8:00 pm

Fair enough, now that I look...no results in the CLI isn't a good start.

But, I'm not sure they support PTPv2 via SNMP on the few high end units have it:
https://help.mikrotik.com/docs/display/ ... e+Protocol
 
sirajvlr
just joined
Topic Author
Posts: 2
Joined: Wed Mar 29, 2023 12:18 pm

Re: SNMP OID for Precision Time Protocol router os 7.8

Thu Mar 30, 2023 2:06 pm

I can fetch the PTP sync data from the CLI when I put the monitor 0 command. But I want to retrieve the same data from the monitoring server so that I can check any deviation on the time synchronisation.
My device model is: CRS326-24S+2Q
I tried the PTPBASE-MIB (RFC-8173) without luck :-(
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3169
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: SNMP OID for Precision Time Protocol router os 7.8  [SOLVED]

Thu Mar 30, 2023 4:02 pm

I'd file a ticket at help.mikrotik.com to ask (and include supout.rif with it). It may be exposed somewhere else, or it's a reasonable feature request alternatively.

Who is online

Users browsing this forum: Ahrefs [Bot] and 37 guests