[prev in list] [next in list] [prev in thread] [next in thread] 

List:       collectd
Subject:    [collectd] trouble trying to use "tail_csv" plugin
From:       Gerardo Herzig <gherzig () fmed ! uba ! ar>
Date:       2016-09-15 13:32:53
Message-ID: 1455838510.1619579.1473946373223.JavaMail.root () fmed ! uba ! ar
[Download RAW message or body]

Hi all: Im trying (with no luck) to parse a csv file to feed my rrds.
the file look likd this (real data):
root@admin-server:/opt/collectd/var/lib/collectd/admin-server# tail \
/opt/collectd/var/log/trafico_reduba-internet.csv  752.2,129.8
752.2,129.8
1164.9,162.7
1164.9,162.7
1164.9,162.7
767.2,154.9
767.2,154.9
739.5,150.2
739.5,150.2
739.5,150.2

Relevant data (collectd.conf):
Hostname    "admin-server"
<Plugin "tail_csv">
    <Metric "traf-reduba-internet-in">
      Type "total_in_traffic"
      Instance "in-traffic-in-mb"
      ValueFrom 0
    </Metric>

    <Metric "traf-reduba-internet-out">
      Type "total_out_traffic"
      Instance "out-traffic-in-mb"
      ValueFrom 1
    </Metric>

     <File "/opt/collectd/var/log/trafico_reduba-internet.csv">
       Instance "trafico-reduba"
       Interval 60
       Collect "traf-reduba-internet-in" "traf-reduba-internet-out"
     </File>
</Plugin>

Types definition (types.db)
total_in_traffic           value:GAUGE:0:U
total_out_traffic           value:GAUGE:0:U

That is what i got so far. No errors in the log file...Im waiting to see a directory \
called "tail_csv-something", but nothing appears...(yes, other metrics are working \
just fine)

So, how can i turn on debugging to try to see what is the csv_plugin doing (or not \
doing)? Any hints?

Thanks!
Gerardo

_______________________________________________
collectd mailing list
collectd@verplant.org
https://mailman.verplant.org/listinfo/collectd


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic