Re: [influxdb] influxdb python tutorial not working

2016-12-01 Thread vikasapr
On Thursday, December 1, 2016 at 2:13:39 PM UTC-8, Ross McDonald wrote: > There is no precision specified on the writes, so they are defaulting to > nanosecond. The retention policy is also being set here for 3 days so the > writes are getting dropped as they're being written, since the timestamp

[influxdb] backup strategies/best practices

2016-12-01 Thread Vick Khera
I've gotten InfluxDB up and running pretty well now, and I'm looking to automate some backups. Basically the only stuff I find is either 3 years old and doesn't apply, or is just the "backup" document in the manual. So before I go and write up a bunch of scripts to do the "dump, tar, copy to re

Re: [influxdb] influxdb python tutorial not working

2016-12-01 Thread Ross McDonald
There is no precision specified on the writes, so they are defaulting to nanosecond. The retention policy is also being set here for 3 days so the writes are getting dropped as they're being written, si

[influxdb] influxdb python tutorial not working

2016-12-01 Thread vikasapr
Hi, I am new to influxdb. I have influxdb server version 1.0.1 running. I am using influxdb-python (influxdb-3.0.0) and trying the tutorial https://github.com/influxdata/influxdb-python/blob/master/examples/tutorial_server_data.py I get $ python tutorial_server_data.py Create database: tutor

[influxdb] Re: Can't start as service on FreeBSD jail FreeNAS

2016-12-01 Thread Vick Khera
Check the influxdb log file in /var/log/influxdb/influxdb.log -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to influxdb

[influxdb] Re: Extra stats, derivative, and alert at end of TICK script DOT view.

2016-12-01 Thread AAbouZaid
OK I found it :D It's because "deadman" is enabled globally in Kapacitor config file. -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, se

[influxdb] Re: Can't start as service on FreeBSD jail FreeNAS

2016-12-01 Thread Erik Näsström
Den torsdag 1 december 2016 kl. 18:15:42 UTC+1 skrev Vick Khera: > > This is actually working, but you're just being fooled by the output to > the screen. Instead of hitting ctrl-c, just hit enter. > > What is happening is that the service script starts influx and returns to > your prompt, then i

Re: [influxdb] Can't start as service on FreeBSD jail FreeNAS

2016-12-01 Thread Vick Khera
On Thursday, December 1, 2016 at 10:22:48 AM UTC-5, Ross McDonald wrote: > > Are you using a custom init script, or the one from the repository? If > it's custom, could you provide it? > > It also looks like the linker flags weren't set properly when building. > From the startup message: > > Th

[influxdb] Re: Can't start as service on FreeBSD jail FreeNAS

2016-12-01 Thread Vick Khera
This is actually working, but you're just being fooled by the output to the screen. Instead of hitting ctrl-c, just hit enter. What is happening is that the service script starts influx and returns to your prompt, then influxd prints its banner to your screen which obscures your prompt. Just r

[influxdb] Re: Telegraf statsd timing repeat the last value even when task is finished

2016-12-01 Thread Vick Khera
Perhaps you want to look at the statsd settings in telegraf.conf and turn on delete_timings = true so timings only survive for one interval. That is the default, but maybe you turned it off? Personally I turn on the delete setting for all measurement types. -- Remember to include the versio

[influxdb] Extra stats, derivative, and alert at end of TICK script DOT view.

2016-12-01 Thread AAbouZaid
Hello, I'm not sure if that normal or not, but I did search about this point in the documentation and I did find anything. In any TICK script I create, I always find An example for `cpu_example` task: ``` var query_data = batch |query(''' SELECT percentile("usage_user", 95) as

[influxdb] Re: Kapacitor filtering duplicate events

2016-12-01 Thread nathaniel
We are actively working on a solution to this problem. See https://github.com/influxdata/kapacitor/blob/nc-alert-service/ALERT_DESIGN.md The basic idea is that you will be able to both aggregate multiple alerts and rate limit sending alerts. Which should be able to prevent an alert storm On T

Re: [influxdb] influxdb-1.1.0-1.x86_64 admin UI not listening on port 8083

2016-12-01 Thread Ross McDonald
> Any reason to deprecate admin ui in influxdb-1.1.0-1.x86_64? This has been discussed in more detail here: https://groups.google.com/forum/#!topic/influxdb/1jhjX8kQF6M/discussion > I did set enabled = true in [admin] in influxdb.conf. I am still not able to get to the admin ui using http://infl

[influxdb] Re: Kapacitor subscription to influxdb traffic v/s InfluxdbRelay push to kapacitor

2016-12-01 Thread nathaniel
The relay copies all data it receives to all configured backends. The basic flow should be something like this: client -> load balancer -> relays -> influxdb, kapacitor (can have multiple instances of each) Kapacitor should be configured to disable subscriptions and use the load balancer when

Re: [influxdb] Can't start as service on FreeBSD jail FreeNAS

2016-12-01 Thread Ross McDonald
Are you using a custom init script, or the one from the repository? If it's custom, could you provide it? It also looks like the linker flags weren't set properly when building. >From the startup message: ``` InfluxDB starting, version unknown, branch unknown, commit unknown ``` What version/com

[influxdb] Can't start as service on FreeBSD jail FreeNAS

2016-12-01 Thread Erik Näsström
Hi everyone I'm having som strange problems, tried searching and asking in some other forums but no solution so far! I have a FreeNAS server running 24/7 and wanted to run influxdb in a FreeBSD jail there to monitor my home assistant, curing chamber etc. with some nice graphs. Created a FreeBS

[influxdb] Run telegraf inside docker, how to collect net, processors input in the host?

2016-12-01 Thread jiaqing.chen
description Now telegraf is running inside docker.I set input config to collect net, processor measurements, but the net and processors measurements collected is the docker container’s measurements which run telegraf. In fact, my mind is to collect that measurements on the host which the telegra

[influxdb] CPU usage Query !

2016-12-01 Thread kmg
I'm new to influxdb. I tried to calculate the CPU usage. Data inserted into influxdb with 5mins interval. my Calculation for Every 5mins: CPU_usage = [ ssCpuRawUser / (ssCpuRawUser+ssCpuRawNice+ssCpuRawSystem+ssCpuRawIdle+ssCpuRawSoftIRQ) ] * 100 Please share me the query for the above cal