Skip to content

MongoDB Input Plugin unexcepted output #9555

@TonyXiaoCui

Description

@TonyXiaoCui

mongo v3.2.10
telegraf 1.19

I choose telegraf+prom+grafana to build my montior
I want to collect topstats of collections
when I check top_stat I found unexcepted output
1、one collection with node_type="PRI" but hostname was cfgsrv ip ,not the primary ip
2、cfgsrv has three rs ,so the output also become three
however my telegraf config do not include cfgsrv ips

I learn that the data is from {top:1} but how do it compare its hostname

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/mongodbbugunexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions