Created
December 23, 2015 09:52
-
-
Save lukebigum/09d23cb436d1c612ea50 to your computer and use it in GitHub Desktop.
collectd sfptpd stats Tailer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by Puppet | |
<Plugin "tail"> | |
<File "/var/log/sfptpd/stats.log"> | |
Instance "sfptpd_stats" | |
<Match> | |
Regex "->phc6\\(.*offset:[[:space:]]+(-?[[:digit:]]+\\.[[:digit:]]+)" | |
DSType "GaugeLast" | |
Type "precise_time_offset" | |
Instance "offset-phc6" | |
</Match> | |
<Match> | |
Regex "->phc5\\(.*offset:[[:space:]]+(-?[[:digit:]]+\\.[[:digit:]]+)" | |
DSType "GaugeLast" | |
Type "precise_time_offset" | |
Instance "offset-phc5" | |
</Match> | |
<Match> | |
Regex "->phc4\\(.*offset:[[:space:]]+(-?[[:digit:]]+\\.[[:digit:]]+)" | |
DSType "GaugeLast" | |
Type "precise_time_offset" | |
Instance "offset-phc4" | |
</Match> | |
<Match> | |
Regex "->system\\(.*offset:[[:space:]]+(-?[[:digit:]]+\\.[[:digit:]]+)" | |
DSType "GaugeLast" | |
Type "precise_time_offset" | |
Instance "offset-system" | |
</Match> | |
<Match> | |
Regex "->phc6\\(.*freq-adj:[[:space:]]+(-?[[:digit:]]+\\.[[:digit:]]+)" | |
DSType "GaugeLast" | |
Type "precise_frequency_offset" | |
Instance "frequency-phc6" | |
</Match> | |
<Match> | |
Regex "->phc5\\(.*freq-adj:[[:space:]]+(-?[[:digit:]]+\\.[[:digit:]]+)" | |
DSType "GaugeLast" | |
Type "precise_frequency_offset" | |
Instance "frequency-phc5" | |
</Match> | |
<Match> | |
Regex "->phc4\\(.*freq-adj:[[:space:]]+(-?[[:digit:]]+\\.[[:digit:]]+)" | |
DSType "GaugeLast" | |
Type "precise_frequency_offset" | |
Instance "frequency-phc4" | |
</Match> | |
<Match> | |
Regex "->system\\(.*freq-adj:[[:space:]]+(-?[[:digit:]]+\\.[[:digit:]]+)" | |
DSType "GaugeLast" | |
Type "precise_frequency_offset" | |
Instance "frequency-system" | |
</Match> | |
<Match> | |
Regex "->phc6\\(.*one-way-delay:[[:space:]]+(-?[[:digit:]]+\\.[[:digit:]]+)" | |
DSType "GaugeLast" | |
Type "precise_latency" | |
Instance "path-delay-phc6" | |
</Match> | |
<Match> | |
Regex "->phc5\\(.*one-way-delay:[[:space:]]+(-?[[:digit:]]+\\.[[:digit:]]+)" | |
DSType "GaugeLast" | |
Type "precise_latency" | |
Instance "path-delay-phc5" | |
</Match> | |
<Match> | |
Regex "->phc4\\(.*one-way-delay:[[:space:]]+(-?[[:digit:]]+\\.[[:digit:]]+)" | |
DSType "GaugeLast" | |
Type "precise_latency" | |
Instance "path-delay-phc4" | |
</Match> | |
<Match> | |
Regex "->system\\(.*one-way-delay:[[:space:]]+(-?[[:digit:]]+\\.[[:digit:]]+)" | |
DSType "GaugeLast" | |
Type "precise_latency" | |
Instance "path-delay-system" | |
</Match> | |
</File> | |
</Plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment