Skip to content

Compatibility with MongoDB 6.0? #267

@gcediel

Description

@gcediel

Hi, it seems that the plugin is not working with MongoDB 6.0. It returns the following error, when trying to monitor Replica Primary:

After testing this command:

python3 /root/check_mongodb.py -H mongodb_server -A replica_primary -p 27017 -W 0 -C 1 -r replicaset_name

it returns the following error:

CRITICAL - General MongoDB Error: command SON([('ping', 1)]) failed: Unsupported OP_QUERY command: ping. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal

As I've found in this page, OP_QUERY was deprecated in MongoDB 5.0 and removed in 5.1.

Any plans in updating this plugin to make it work with MongoDB 6.0?

Thanks for your attention.

Best regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions