Skip to content

Instantly share code, notes, and snippets.

@lukebigum
Created December 10, 2015 17:00
Show Gist options
  • Save lukebigum/83697d9db66c782b3c67 to your computer and use it in GitHub Desktop.
Save lukebigum/83697d9db66c782b3c67 to your computer and use it in GitHub Desktop.
PTP Bridge more statistics
class { '::profile::statistics':
interval => 1,
}
class { '::profile::statistics::write_network':
server => 'localhost',
}
class { '::profile::statistics::remote_ntp_offset':
ntp_server => 'timesource.example.com',
}
include ::collectd::plugin::tail
profile::statistics::tail_linuxptp_log { 'ptp-master':
filename => $ptp_master_log_file,
}
profile::statistics::tail_linuxptp_log { 'system':
filename => $phc2sys_system_log_file,
}
profile::statistics::tail_linuxptp_log { 'multicast':
filename => $phc2sys_multicast_log_file,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment