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

Mongodb item mongodb.server.status "timeout occurred"

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.0.9
    • None
    • None

    Description

      Hello,
      after I execute zabbix_get -s localhost -k 'mongodb.server.status[tcp://localhost:27017,<user>,<password>]' any other mongodb items end with results: "ZBX_NOTSUPPORTED: timeout occurred"

      Environment:

      1. OS: Ubuntu 20.04.3 LTS
      2. Zabbix:
      zabbix-agent2-plugin-mongodb/focal,now 0:1.1.0-1+ubuntu20.04 amd64 [installed]
      zabbix-agent2/focal,now 1:6.0.9-1+ubuntu20.04 amd64 [installed]
      zabbix-get/focal,now 1:6.0.9-1+ubuntu20.04 amd64 [installed]
      zabbix-sender/focal,now 1:6.0.9-1+ubuntu20.04 amd64 [installed]
      1. MongoDB: 6.0.2

      Steps to reproduce:

      [email protected]:~# zabbix_get -s localhost -k 'mongodb.ping[tcp://localhost:27017,zabbix,123]'
      1.000000
      [email protected]:~# zabbix_get -s localhost -k 'mongodb.db.discovery[tcp://localhost:27017,zabbix,123]'
      [{"{#DBNAME}":"admin"},{"{#DBNAME}":"config"},{"{#DBNAME}":"local"}]
      [email protected]:~# zabbix_get -s localhost -k 'mongodb.server.status[tcp://localhost:27017,zabbix,123]'
      ZBX_NOTSUPPORTED: timeout occurred
      [email protected]:~# zabbix_get -s localhost -k 'mongodb.ping[tcp://localhost:27017,zabbix,123]'
      ZBX_NOTSUPPORTED: timeout occurred
      [email protected]:~# zabbix_get -s localhost -k 'mongodb.db.discovery[tcp://localhost:27017,zabbix,123]'
      ZBX_NOTSUPPORTED: timeout occurred

      Log file zabbix_agent2.log

      Attachments

        1. commands.png
          commands.png
          36 kB
        2. Screenshot 2022-10-18 at 15.01.02.png
          Screenshot 2022-10-18 at 15.01.02.png
          745 kB
        3. zabbix_agent2.log
          13 kB
        4. ZBX-21766.mongodb.pcap
          345 kB

        Activity

          People

            zit Zabbix Integration Team
            lostJanko Ján Ignjič
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: