Ad Widget

Collapse

MongoDB unknown metrics

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • klowet
    Junior Member
    • Jun 2019
    • 10

    #1

    MongoDB unknown metrics

    Hi

    This morning, all my monitored MongoDB nodes are in a warning state. Buth the nodes are working fine, it seems to be a Zabbix false positive.
    When I get a Zabbix debug log from one of the nodes, I get this:

    Code:
    2022/07/04 08:56:34.969774 connection established using TLSv1.3 TLS_CHACHA20_POLY1305_SHA256
    2022/07/04 08:56:34.971821 received passive check request: 'mongodb.collections.usage["tcp://localhost:27117","zbx_monitor","redacted_password"]' from 'zabbix_host_ip_address'
    2022/07/04 08:56:34.973395 [1] processing update request (1 requests)
    2022/07/04 08:56:34.974202 [1] cannot monitor metric "mongodb.collections.usage["tcp://localhost:27117","zbx_monitor","redacted_password"]": Unknown metric mongodb.collections.usage
    2022/07/04 08:56:34.974782 sending passive check response: ZBX_NOTSUPPORTED: 'Unknown metric mongodb.collections.usage' to 'redacted_zabbix_host_ip_address'
    2022/07/04 08:56:34.979790 connection established using TLSv1.3 TLS_CHACHA20_POLY1305_SHA256
    2022/07/04 08:56:34.982044 received passive check request: 'mongodb.collection.stats["tcp://localhost:27117","zbx_monitor","redacted_password" ,"ace","admin"]' from 'zabbix_host_ip_address'
    2022/07/04 08:56:34.982519 [1] processing update request (1 requests)
    2022/07/04 08:56:34.982841 [1] cannot monitor metric "mongodb.collection.stats["tcp://localhost:27117","zbx_monitor","redacted_password" ,"ace","admin"]": Unknown metric mongodb.collection.stats
    2022/07/04 08:56:34.983189 sending passive check response: ZBX_NOTSUPPORTED: 'Unknown metric mongodb.collection.stats' to 'zabbix_host_ip_address'
    2022/07/04 08:56:35.002694 plugin Cpu: executing collector task
    2022/07/04 08:56:35.100042 connection established using TLSv1.3 TLS_CHACHA20_POLY1305_SHA256
    2022/07/04 08:56:35.102612 received passive check request: 'mongodb.oplog.stats["tcp://localhost:27117","zbx_monitor","redacted_password"]' from 'zabbix_host_ip_address'
    2022/07/04 08:56:35.103391 [1] processing update request (1 requests)
    2022/07/04 08:56:35.104112 [1] cannot monitor metric "mongodb.oplog.stats["tcp://localhost:27117","zbx_monitor","redacted_password"]": Unknown metric mongodb.oplog.stats
    All other Zabbix monitoring data is collected just fine.

    [HASHTAG="t4841"]zabbix_agent2[/HASHTAG] --version
    zabbix_agent2 (Zabbix) 6.0.6

    [HASHTAG="t146"]zabbix_server[/HASHTAG] --version
    zabbix_server (Zabbix) 6.0.6

    Thanks
  • klowet
    Junior Member
    • Jun 2019
    • 10

    #2
    it seems like it is related to this bug: https://support.zabbix.com/browse/ZBX-21272

    Comment

    • Frits Bijlenga
      Junior Member
      • Sep 2022
      • 1

      #3
      The mongo plugin is no longer in the agent2 package from version 6.0.6. Can this be added again into a new version?
      /etc/zabbix/zabbix_agent2.d/plugins.d/mongodb.conf is missing

      Comment

      • seroslaw
        Member
        • Apr 2021
        • 32

        #4
        Is there any information when template: "Template DB MongoDB node by Zabbix Agent 2​" will work with zabbix-agent2 ? https://support.zabbix.com/browse/ZBX-21272 is still in "elaborating" status. Still don't work with mongo v5.0.10.

        Comment

        Working...