Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with MongoDB 6.0? #267

Open
gcediel opened this issue Nov 7, 2023 · 0 comments
Open

Compatibility with MongoDB 6.0? #267

gcediel opened this issue Nov 7, 2023 · 0 comments

Comments

@gcediel
Copy link

gcediel commented Nov 7, 2023

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant