Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-20857

MongoDB plugin hangs during high I/O wait

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • Agent2 plugin (N)
    • Debian 10 on x86_64 with MongoDB server version: 4.2.13
      Agent2 v5.4.11 in active mode via proxy in active mode.

    Description

      For reasons irrelevant to this our storage is sometimes very slow causing the MongoDB plugin to fail after which it "hangs" and stops collecting data until the agent is restarted. Only the MongoDB plugin "hangs", so kudos on building a solid framework

      Nothing else on the servers experience issues, besides it being a bit slow.

       

      Certainly not a solution, but it'd be nice to also have configurable timeout so we can tweak it on troublesome servers.

       

      i see two issues here.

      1. Timeout is too short
      2. Plugin hangs when it can't connect to MongoDB

       

      Steps to reproduce:

      1. High kernel I/O wait with long I/O service times

       

      Result:
      **

       

       

      [Mongo] Cannot fetch data: read tcp 127.0.0.1:36558->127.0.0.1:27017: i/o timeout.
      check 'mongodb.oplog.stats["tcp://localhost:27017","zabbix","xxxxxxxxxxxx"]' is not supported: Cannot fetch data: read tcp 127.0.0.1:36558->127.0.0.1:27017: i/o timeout.

       

       

      Expected:

      Well, no timeout

       

      Attachments

        Issue Links

          Activity

            People

              zabbix.support Zabbix Support Team
              lasseoe Lasse Osterild
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: