Ok great thanks! I'll test it later On Tue, Sep 20, 2016, 14:34 Cameron Sparr <[email protected]> wrote:
> Yes I would comment out win_perf_counters. You can see example usage of > the system plugins by typing `telegraf --usage mem` or `telegraf > --sample-config` to see it for all plugins > > On Tue, Sep 20, 2016 at 6:22 PM, Matias Ribichich <[email protected]> > wrote: > >> Alright great. And how should I set it up? >> >> Does it use wpc over Wmi if both are config? Should I comment out Wpc? >> >> Because I'm using the default config, and inputs.mem is there but >> nothing is being returned >> >> Thanks! >> >> On Tue, Sep 20, 2016, 12:13 <[email protected]> wrote: >> >>> There is currently no way to make WMI queries directly. There are >>> generic plugins (inputs.cpu, inputs.mem, inputs.swap, etc) that do query >>> WMI under the covers, so you could try those first and see if they fit your >>> needs. >>> >>> On Saturday, September 17, 2016 at 5:10:22 PM UTC+1, [email protected] >>> wrote: >>> > Hi there, I'm trying to use telegraf with some metrics from WMI >>> queries. >>> > >>> > This metrics are not in the performance counters, thats why I wanted >>> to use WMI, to get the data. >>> > >>> > I can see that there is some support for WMI in Telegraf, because of >>> the config file, but I can't find anywhere how to use a specific query like >>> Win32_OperatingSystem. >>> > >>> > In my specific case I need the total amount of memory installed. >>> > >>> > Does anyone know how to configure telegraf to do this? >>> > >>> > thanks! >>> >>> > -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CAJ6BQ_YsX8AJLkCTrOKOPc-eQKvDeig9qTdkk8ZEbffBEr441Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
