Hello friends!
I am trying to monitor my mongodb installation with Telegraf + influxdb. I installed telegraf without problems, I edited my configuration file “telegraf.conf” with everything necessary but telegraf doesn’t get any metrics from my mongodb.
I only get this output in my telegraf.log
2022-09-21T01:40:38Z I! [agent] Hang on, flushing any cached metrics before shutdown
2022-09-21T01:40:38Z I! [agent] Stopping running outputs
2022-09-21T01:40:38Z I! Starting Telegraph 1.24.0
2022-09-21T01:40:38Z I! Available plugins: 222 inputs, 9 aggregators, 26 processors, 20 parsers, 57 outputs
2022-09-21T01:40:38Z I! Loaded inputs: mongodb
2022-09-21T01:40:38Z I! Loaded aggregators:
2022-09-21T01:40:38Z I! Loaded processors:
2022-09-21T01:40:38Z I! Loaded outputs: influxdb_v2
2022-09-21T01:40:38Z I! Tags enabled: host=testhost
2022-09-21T01:40:38Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:“testhost”, Flush Interval:10s
I’m not sure about the following things:
Is it necessary to download the plugins? In which directory should I put them? Are there any extra steps to make the plugins work?
I clarify that I followed ALL the steps of the telegraph installation in detail.
I would greatly appreciate your help!!