Last active
August 29, 2015 14:18
-
-
Save klen/7eb5a41147718aedd3c9 to your computer and use it in GitHub Desktop.
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
[hekad] | |
base_dir = "/var/cache/hekad" | |
pid_file = "/var/run/hekad.pid" | |
maxprocs = 1 | |
[UdpInput] | |
address = ":2003" | |
splitter = "TokenSplitter" | |
decoder = "StatsToFieldsDecoder" | |
[StatAccumInput] | |
ticker_interval = 10 | |
emit_in_payload = true | |
[StatsToFieldsDecoder] | |
[WhisperOutput] | |
message_matcher = "TRUE" | |
base_path = "/tmp/whisper" | |
folder_perm = "755" |
I did this by taking one of your sets of stats from up above and pasting them into a file called stats.txt
. Then I did a find/replace of the timestamps at the end of each line with the current timestamp, saved it, and ran cat stats.txt | nc -u 127.0.0.1 2003
. I can see the message show up in my LogOutput, and using whisper-dump cpu-idle.wsp
I can see, among all of the zeros, the following line:
1142: 1428087780, 96.19990500000000110958353616297245
Can you try doing the exact same thing?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's a config that I'm using, with which I'm able to see data being writting out to the whisper files: