You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[[inputs.mongodb]]
servers = ["mongodb://mongodb_exporter:*****@*****"]
## When true, collect per database statsgather_perdb_stats = true## When true, collect per collection statsgather_col_stats = false## List of db where collections stats are collected## If empty, all db are concerned# col_stats_dbs = ["local"]## Optional TLS Configtls_ca = "/ssl/ca.pem"tls_cert = "/ssl/mongodb.pem"tls_key = "/ssl/mongodb.pem"## Use TLS but skip chain & host verificationinsecure_skip_verify = true# Read metrics about cpu usage
[[inputs.cpu]]
## Whether to report per-cpu stats or notpercpu = true## Whether to report total system cpu stats or nottotalcpu = true## If true, collect raw CPU time metrics.collect_cpu_time = false# Read metrics about memory usage
[[inputs.mem]]
[[inputs.disk]]
mount_points = ["/", "/data"]
[[inputs.system]]
[[inputs.exec]]
commands = ["bash /data/scripts/check_status_ssl.sh"]
timeout = "3s"data_format = "influx"# Configuration for the Prometheus client to spawn
[[outputs.prometheus_client]]
## Address to listen onlisten = ":9216"collectors_exclude = ["gocollector","process"]
metric_version = 2expiration_interval = "15s"
System info:
Telegraf version = 1.20.0-1, OS = CentOS8, db = MongoDB 5.0.2
Relevant telegraf.conf:
System info:
Telegraf version = 1.20.0-1, OS = CentOS8, db = MongoDB 5.0.2
Steps to reproduce:
Expected behavior:
Gathering stats.
Actual behavior:
Take a bug:
Statistics not gathering