check_mongodb broken: Tries to use python2, but required pymongo is only available for python3
Bug #1894098 reported by
VSHN
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nagios-plugins-contrib (Debian) |
Fix Released
|
Unknown
|
|||
nagios-plugins-contrib (Ubuntu) |
Fix Released
|
Undecided
|
Jan Wagner |
Bug Description
check_mongodb tries to use python2:
#!/usr/bin/env python
But that doesn't work because it needs the pymongo library, which is only available for python3 on Ubuntu 20.04 (python3-pymongo).
The fix is very simple, let the check use python3 instead:
#!/usr/bin/env python3
It appears to work fine after this change.
Changed in nagios-plugins-contrib (Debian): | |
status: | Unknown → Fix Released |
Changed in nagios-plugins-contrib (Ubuntu): | |
assignee: | nobody → Jan Wagner (waja) |
status: | New → Fix Released |
To post a comment you must log in.