Ad Widget

Collapse

Graphs in error after switch MongoDB work in cluster mode Replica Set

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • studero
    Member
    • Aug 2023
    • 84

    #1

    Graphs in error after switch MongoDB work in cluster mode Replica Set

    Hi all,

    I have create a MongoDB cluster with 3 nodes with using the Replica Set.

    I have configured Zabbix with using the template "MongoDB node by Zabbix agent 2" to monitor each nodes. That's work fine.

    Then I have made many switch to activate another node as primary server. But now, I have some errors to monitor some items on the 3 nodes.

    The all following item say " Timeout" error

    - MongoDB: Memory: mapped

    - MongoDB: Preload docs, rate

    - MongoDB db_history_update.coll_flutter: Capped: max size

    - MongoDB testDB: Get db stats testDB

    And some other items.

    And the zabbix-server log say:
    1345:20240130:165507.544 error reason for "svx---.ch:mongodb.rs.total_nodes[ReplicaMGDB]" changed: Preprocessing failed for: {"$clusterTime":{"clusterTime":{"T":1706630100, "I" :5},"signature":{"hash":{"Subtype":0,"Data":"Io...
    1. Failed: cannot extract value from json by path "$.members[?(@.self == "true")].totalNodes.first()": no data matches the specified path
    1345:20240130:165507.559 error reason for "svx---.ch:mongodb.rs.unhealthy_count[ReplicaMGDB]" changed: Preprocessing failed for: {"$clusterTime":{"clusterTime":{"T":1706630100, "I" :5},"signature":{"hash":{"Subtype":0,"Data":"Io...
    1. Failed: cannot extract value from json by path "$.members[?(@.self == "true")].unhealthyCount.first()": no data matches the specified path
    1343:20240130:165518.586 error reason for "svx---.ch:mongodb.wired_tiger.cache.max_page_size_evicti on[]" changed: Preprocessing failed for: {"$clusterTime":{"clusterTime":{"T":1706630117, "I" :1},"signature":{"hash":{"Subtype":0,"Data":"iL...
    1. Failed: cannot extract value from json by path "$.wiredTiger.cache['maximum page size at eviction']": no data matches the specified path
    1345:20240130:165526.604 error reason for "svx---.ch:mongodb.rs.unhealthy[ReplicaMGDB]" changed: Preprocessing failed for: {"$clusterTime":{"clusterTime":{"T":1706630117, "I" :1},"signature":{"hash":{"Subtype":0,"Data":"iL...
    1. Failed: cannot extract value from json by path "$.members[?(@.self == "true")].unhealthyNodes.first()": no data matches the specified path
    1345:20240130:165526.604 error reason for "svx---ch:mongodb.rs.total_nodes[ReplicaMGDB]" changed: Preprocessing failed for: {"$clusterTime":{"clusterTime":{"T":1706630117, "I" :1},"signature":{"hash":{"Subtype":0,"Data":"iL...
    1. Failed: cannot extract value from json by path "$.members[?(@.self == "true")].totalNodes.first()": no data matches the specified path
    1345:20240130:165526.612 error reason for "svx---.ch:mongodb.rs.unhealthy_count[ReplicaMGDB]" changed: Preprocessing failed for: {"$clusterTime":{"clusterTime":{"T":1706630117, "I" :1},"signature":{"hash":{"Subtype":0,"Data":"iL...
    1. Failed: cannot extract value from json by path "$.members[?(@.self == "true")].unhealthyCount.first()": no data matches the specified path
    1344:20240130:165606.691 error reason for "svx---.ch:mongodb.rs.unhealthy[ReplicaMGDB]" changed: Preprocessing failed for: {"$clusterTime":{"clusterTime":{"T":1706630157, "I" :1},"signature":{"hash":{"Subtype":0,"Data":"0A...
    1. Failed: cannot extract value from json by path "$.members[?(@.self == "true")].unhealthyNodes.first()": no data matches the specified path
    1344:20240130:165606.691 error reason for "svx---.ch:mongodb.rs.total_nodes[ReplicaMGDB]" changed: Preprocessing failed for: {"$clusterTime":{"clusterTime":{"T":1706630157, "I" :1},"signature":{"hash":{"Subtype":0,"Data":"0A...
    1. Failed: cannot extract value from json by path "$.members[?(@.self == "true")].totalNodes.first()": no data matches the specified path
    1344:20240130:165606.708 error reason for "svx---.ch:mongodb.rs.unhealthy_count[ReplicaMGDB]" changed: Preprocessing failed for: {"$clusterTime":{"clusterTime":{"T":1706630157, "I" :1},"signature":{"hash":{"Subtype":0,"Data":"0A...
    1. Failed: cannot extract value from json by path "$.members[?(@.self == "true")].unhealthyCount.first()": no data matches the specified path​

    I need help
    Regards
    Olivier
  • studero
    Member
    • Aug 2023
    • 84

    #2
    Hi guys,

    I need help !!!

    Please

    Comment

    Working...