Skip to content

agalloGWU/EOSptpmonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EOSptpmonitor

Grab PTP monitor data from Arista EOS and store in SQLite3 database

PTP monitor data

Arista EOS keeps track of the last 100 PTP records, which include:

  • lastSyncSeqId (Last sequenceId of sync / followUp PTP message processed.)
  • realLastSyncTime (Epoch timestamp (in ns) of when the PTP data has been detected.)
  • meanPathDelay (ns)
  • Interface (Slave interface on which the PTP data has been recorded.)
  • offsetFromMaster (ns)
  • skew (Ratio of master's second to local second.)

realLastSyncTime is used the Primary Key in the database to ensure duplicate data is not inserted

Script should be run each minute via cron to ensure we get all the data

About

Python script to retrieve PTP monitoring data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages