collectd tail plugin

23 views
Skip to first unread message

James Wang

unread,
Apr 23, 2018, 6:41:29 AM4/23/18
to Collectd-web Users
My conf:
 <Plugin tail>
   <File "/tmp/test.csv">
     Instance "testcsv"
     Interval 6
     <Match>
       Regex "[0-9]+"
       DSType "CounterInc"
       Type "gauge"
       Instance "total"
     </Match>
   </File>
</Plugin>


Although, I can see collectd.tail.testcsv.gauge.total mextric on WaveFront, however, it had no value (all 0).
I keep doing (19 is just an example):

echo 19 >> /tmp/test.csv

Please shed some light
Thanks a lot in advance
Reply all
Reply to author
Forward
0 new messages