Hi,

InfluxDB is currently v1.0.2

Config file is:-

# THIS FILE IS MANAGED BY PUPPET (created by defined type modules::telegraf )

# Telegraf configuration

# Telegraf is entirely plugin driven. All metrics are gathered from the
# declared plugins.

# Even if a plugin has no configuration, it must be declared in here
# to be active. Declaring a plugin means just specifying the name
# as a section with no variables. To deactivate a plugin, comment
# out the name and any variables.

# Use 'telegraf -config telegraf.toml -test' to see what metrics a config
# file would generate.

# One rule that plugins conform to is wherever a connection string
# can be passed, the values '' and 'localhost' are treated specially.
# They indicate to the plugin to use their own builtin configuration to
# connect to the local system.

# NOTE: The configuration has a few required parameters. They are marked
# with 'required'. Be sure to edit those to make this configuration work.

# Tags can also be specified via a normal map, but only one form at a time:
# [tags]
#   dc = "us-east-1"

# Configuration for telegraf agent
[agent]
  # Default data collection interval for all plugins
  interval = "10s"
  # Rounds collection interval to 'interval'
  # ie, if interval="10s" then always collect on :00, :10, :20, etc.
  round_interval = true

  # Telegraf will send metrics to outputs in batches of at
  # most metric_batch_size metrics.
  metric_batch_size = 1000

  # For failed writes, telegraf will cache metric_buffer_limit metrics for each
  # output, and will flush this buffer on a successful write. Oldest metrics
  # are dropped first when this buffer fills.
  metric_buffer_limit = 10000

  # Collection jitter is used to jitter the collection by a random amount.
  # Each plugin will sleep for a random time within jitter before collecting.
  # This can be used to avoid many plugins querying things like sysfs at the
  # same time, which can have a measurable effect on the system.
  collection_jitter = "0s"

  # Default data flushing interval for all outputs
  flush_interval = "10s"

  # Jitter the flush interval by a random range
  # ie, a jitter of 5s and interval 10s means flush will happen every 10-15s
  flush_jitter = "10s"

  # Flush the buffer whenever full, regardless of flush_interval.
  flush_buffer_when_full = true

  # By default, precision will be set to the same timestamp order as the
  # collection interval, with the maximum being 1s.
  # Precision will NOT be used for service inputs, such as logparser and statsd.
  # Valid values are "Nns", "Nus" (or "Nµs"), "Nms", "Ns".
  precision = ""

  # Run telegraf in debug mode
  debug = false

  # Run telegraf in quiet mode
  quiet = false

  # Override default hostname, if empty use os.Hostname()
  #   # hostname = "xxxxx"
  #
  # If set to true, do no set the "host" tag in the telegraf agent.
  omit_hostname = false

###############################################################################
#                                  OUTPUTS                                    #
###############################################################################

# Configuration for influxdb server to send metrics to
[[outputs.influxdb]]
  # The full HTTP endpoint URL for your InfluxDB instance
  # Multiple urls can be specified for InfluxDB cluster support. Server to
  # write to will be randomly chosen each interval.
  # urls = ["http://localhost:8086";] # required.
  urls = ["http://xxxxx:xxxx";]

  # The target database for metrics. This database must already exist
  # database = "telegraf" # required.
  database = "server"

  # Retention policy to write to. Empty string writes to the default rp.
  retention_policy = ""
  # Write consistency (clusters only), can be: "any", "one", "quorom", "all"
  write_consistency = "any"

  # Precision of writes, valid values are n, u, ms, s, m, and h
  # note: using second precision greatly helps InfluxDB compression
  precision = "s"

  # Connection timeout (for the connection with InfluxDB), formatted as a 
string.
  # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
  # If not provided, will default to 0 (no timeout)
  timeout = "5s"
  # username = "telegraf"
  # password = "metricsmetricsmetricsmetrics"
  username = "xxxx"
  password = "xxxx"

  # Set the user agent for the POSTs (can be useful for log differentiation)
  user_agent = "telegraf"
  # user_agent = "telegraf 1.0.1-1"


###############################################################################
#                                  PLUGINS                                    #
###############################################################################

# Read metrics about cpu usage
[[inputs.cpu]]
  # Whether to report per-cpu stats or not
  percpu = true
  # Whether to report total system cpu stats or not
  totalcpu = true
  # Comment this line if you want the raw CPU time metrics
  fielddrop = ["time_*"]

# Read metrics about disk usage by mount point
[[inputs.disk]]
  # no active configuration changes
  #
  # By default, telegraf gather stats for all mountpoints.
  # Setting mountpoints will restrict the stats to the specified mountpoints.
  # Mountpoints = :undef
  # Ignore some mountpoints by filesystem type. For example (dev)tmpfs (usually
  # present on /run, /var/run, /dev/shm or /dev).
  ignore_fs = ["tmpfs", "devtmpfs", "nfs4", "nfs", "rootfs"]

# Read metrics about disk IO by device
[[inputs.diskio]]
  # no active configuration changes
  #
  # By default, telegraf will gather stats for all devices including
  # disk partitions.
  # Setting devices will restrict the stats to the specified devcies.
  # Devices=["sda","sdb"]
  # Uncomment the following line if you do not need disk serial numbers.
  # SkipSerialNumber = true

# Get kernel statistics from /proc/stat
[[inputs.kernel]]
  # no configuration
[[inputs.kernel_vmstat]]
  # no configuration
# Read metrics about memory usage
[[inputs.mem]]
  # no configuration

# Get the number of processes and group them by status
[[inputs.processes]]
  # no configuration

# Read metrics about network usage
[[inputs.net]]
  # By default, telegraf gathers stats from any up interface (excluding 
loopback)
  # Setting interfaces will tell it to gather these explicit interfaces,
  # regardless of status.
  #
  # interfaces = ["eth0", ... ]
  #
  # Drop not wanted icmp metrics
  drop = ["net_icmp"]

# Read TCP metrics such as established, time wait and sockets counts.
[[inputs.netstat]]
  # no configuration

# Collect kernel snmp counters and network interface statistics
[[inputs.nstat]]
  proc_net_netstat = "/proc/net/netstat"
  proc_net_snmp = "/proc/net/snmp"
  proc_net_snmp6 = "/dev/null"
  dump_zeros = true

# Get standard NTP query metrics, requires ntpq executable.
[[inputs.ntpq]]
  # If false, set the -n ntpq flag. Can reduce metric gather time.
  dns_lookup = true

# Read metrics about swap memory usage
[[inputs.swap]]
  # no configuration

# Read metrics about system load & uptime
[[inputs.system]]
  # no configuration

On 11/17/16, 6:59 PM, "[email protected] on behalf of 
[email protected]" <[email protected] on behalf of 
[email protected]> wrote:

    can you provide your config file & influxdb version?

    On Thursday, November 17, 2016 at 4:11:30 PM UTC, Paul Seymour wrote:
    > Hello,
    >
    >
    > Just tried to update from 1.0.1 to 1.1.1 of telegraf and on restart I got 
these in the journal.
    >
    >
    > telegraf: 2016/11/17 16:03:26 E! Database creation failed: unable to 
decode json: received status code 403 err: invalid character '<' looking for 
beginning of value
    >
    >
    >
    > Downgrading back to the previous version works fine.
    >
    >
    > Am I missing an update to a config somewhere ?
    >
    >
    > Thanks
    > Paul

    --
    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 [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/5202225a-322a-4bd1-9318-aace92e1fefb%40googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.


The information contained in this email is strictly confidential and for the 
use of the addressee only, unless otherwise indicated. If you are not the 
intended recipient, please do not read, copy, use or disclose to others this 
message or any attachment. Please also notify the sender by replying to this 
email or by telephone (+44(020 7896 0011) and then delete the email and any 
copies of it. Opinions, conclusion (etc) that do not relate to the official 
business of this company shall be understood as neither given nor endorsed by 
it. IG is a trading name of IG Markets Limited (a company registered in England 
and Wales, company number 04008957) and IG Index Limited (a company registered 
in England and Wales, company number 01190902). Registered address at Cannon 
Bridge House, 25 Dowgate Hill, London EC4R 2YA. Both IG Markets Limited 
(register number 195355) and IG Index Limited (register number 114059) are 
authorised and regulated by the Financial Conduct Authority.

-- 
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 [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/33CB3DB6-371A-4353-A824-680024173164%40ig.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to